/* =========================================
   GLOBAL & VARIABLES (Merged)
========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #03080f;
    --cyan: #00f2fe;
    --white: #ffffff;
    --primary: #0B2D45;
    --accent: #00D4FF;
    --secondary: #00FFC6;
    --text: #EAF6FF;
    --text-muted: rgba(234, 246, 255, 0.68);
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(0, 212, 255, 0.15);
}

html {
    scroll-behavior: auto;
}

/* Modified slightly to allow scrolling to the second section */
body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 242, 254, 0.12), #02060d 50%),
        linear-gradient(180deg, #02060d 0%, #05141f 100%);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* =========================================
   SECTION 1: 3D HERO STYLES
========================================= */
#canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: clamp(6rem, 10vh, 8rem) clamp(1.5rem, 6vw, 5rem) clamp(4rem, 7vh, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    text-align: left;
}

.hero-kicker {
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.12rem, 1.85vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 1;
    transform: none;
}

.title {
    max-width: 820px;
    margin-top: 0.75rem;
    font-size: clamp(3.8rem, 8vw, 7.2rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0;
    line-height: 0.95;
    text-transform: none;
    text-shadow: 0 0 26px rgba(0, 242, 254, 0.36);
    opacity: 1;
    transform: none;
}

.subtitle {
    max-width: 660px;
    margin: 1.25rem 0 1.35rem;
    padding: 0;
    color: rgba(234, 246, 255, 0.76);
    font-size: clamp(1rem, 1.45vw, 1.28rem);
    line-height: 1.58;
    letter-spacing: 0;
    opacity: 1;
    text-transform: none;
    font-weight: 500;
    transform: none;
}

.hero-product-strip {
    width: min(100%, 760px);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    pointer-events: auto;
    opacity: 1;
    transform: none;
}

.hero-product-strip a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.5rem 0.76rem;
    color: #dffbff;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    border: 1px solid rgba(45, 212, 191, 0.24);
    border-radius: 999px;
    background: rgba(3, 8, 15, 0.56);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-product-strip a:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 191, 0.54);
    background: rgba(45, 212, 191, 0.1);
}

.hero-custom-engineering {
    width: min(100%, 760px);
    min-height: 76px;
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.45rem;
    padding: 0.95rem 1rem;
    color: #eaf6ff;
    pointer-events: auto;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 198, 0.28);
    border-left: 4px solid var(--secondary);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(0, 255, 198, 0.1), rgba(0, 212, 255, 0.05)),
        rgba(3, 8, 15, 0.56);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-custom-engineering:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 198, 0.5);
    background:
        linear-gradient(135deg, rgba(0, 255, 198, 0.14), rgba(0, 212, 255, 0.08)),
        rgba(3, 8, 15, 0.62);
}

.hero-custom-engineering span {
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.hero-custom-engineering strong {
    color: rgba(234, 246, 255, 0.86);
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
    pointer-events: auto;
}

.btn {
    pointer-events: auto;
    min-height: 54px;
    padding: 0.95rem 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(0, 242, 254, 0.05) 100%);
    border: 1px solid rgba(0, 242, 254, 0.5);
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(20px);
    cursor: pointer;
    opacity: 1;
    transform: none;
    box-shadow: 0 10px 30px -10px rgba(0, 242, 254, 0.3);
}

.hero-secondary-cta {
    min-height: 54px;
    padding: 0.95rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dffbff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 6px;
    background: rgba(3, 8, 15, 0.42);
    opacity: 1;
    transform: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-secondary-cta:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 212, 191, 0.45);
    background: rgba(45, 212, 191, 0.08);
}

.btn:hover {
    background: rgba(0, 242, 254, 0.9);
    color: #02060d;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.8);
}

.waves-container {
    position: absolute;
    left: 0;
    bottom: clamp(-1.8rem, -3vh, -0.8rem);
    width: 100%;
    height: clamp(190px, 31vh, 340px);
    transform: none;
    z-index: 5;
    pointer-events: none;
    opacity: 0.78;
}

.wave-svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    fill: none;
}

.wave-svg path {
    fill: none;
    stroke-dasharray: none;
    animation: waveTraceGlow 8.5s ease-in-out infinite;
}

.wave-daq {
    stroke: #00f2fe;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.58));
}

.wave-daq path {
    stroke-width: 2.6;
}

.wave-engineering {
    stroke: #7b68ee;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 12px rgba(123, 104, 238, 0.48));
}

.wave-engineering path {
    stroke-width: 2;
    animation-delay: 0.9s;
}

.wave-software {
    stroke: #00e5a0;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(0, 229, 160, 0.42));
}

.wave-software path {
    stroke-width: 1.45;
    animation-delay: 1.8s;
}

@keyframes waveTraceGlow {
    0%,
    100% {
        opacity: 0.42;
    }

    50% {
        opacity: 0.88;
    }
}

.data-flow-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
}

.flow-pulse {
    position: absolute;
    top: 52%;
    left: -18px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow:
        0 0 0 7px rgba(0, 255, 198, 0.06),
        0 0 12px rgba(0, 255, 198, 0.52);
    animation: dataPulseTravel 9.8s linear infinite;
}

.flow-pulse-b {
    top: 58%;
    background: var(--cyan);
    box-shadow:
        0 0 0 7px rgba(0, 242, 254, 0.06),
        0 0 12px rgba(0, 242, 254, 0.5);
    animation-delay: 3.2s;
}

.flow-pulse-c {
    top: 45%;
    width: 3px;
    height: 3px;
    background: #ffb347;
    box-shadow:
        0 0 0 6px rgba(255, 179, 71, 0.06),
        0 0 10px rgba(255, 179, 71, 0.42);
    animation-delay: 6.4s;
}

@keyframes dataPulseTravel {
    0% {
        left: -18px;
        transform: translate3d(0, 6px, 0) scale(0.52);
        opacity: 0;
    }

    14% {
        opacity: 0.42;
    }

    45% {
        left: 45%;
        transform: translate3d(0, -5px, 0) scale(0.78);
        opacity: 0.58;
    }

    78% {
        opacity: 0.44;
    }

    100% {
        left: calc(100% + 18px);
        transform: translate3d(0, -3px, 0) scale(0.5);
        opacity: 0;
    }
}

/* =========================================
   GLOBAL SITE HEADER
========================================= */
#site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 9999;
    transition: transform 0.4s ease, background 0.4s ease;
}

#site-header.scrolled {
    position: fixed;
    transform: translateY(-100%);
    background: rgba(3, 8, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

/* Invisible extension to catch mouse gracefully when translated up */
#site-header.scrolled::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 40px;
}

#site-header.scrolled:hover {
    transform: translateY(0);
}

/* LOGO */
.logo {
    position: absolute;
    top: 16px;
    left: 25px;
    z-index: 20;
    height: 50px;
    width: auto;
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 0 12px rgba(107, 130, 228, 0.5));
}

@media (max-width: 700px) {
    .logo {
        height: 32px; /* Smoother reduction */
        top: 24px;
        left: 20px;
    }
}

/* TOP NAV */
.top-nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    display: flex;
    gap: 8px;
    padding: 18px 26px;
}

.nav-btn {
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(16px);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 30;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--cyan);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 700px) {
    .hamburger {
        display: flex;
    }

    .top-nav {
        position: fixed; /* Changed to fixed for better mobile experience */
        top: 0;
        right: 0;
        flex-direction: column;
        align-items: center; /* Center aligned for better looks */
        justify-content: center;
        padding: 0;
        gap: 20px;
        background: rgba(3, 8, 15, 0.98);
        backdrop-filter: blur(30px);
        height: 100vh;
        width: 100%; /* Full screen overlay */
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 25;
    }

    .top-nav.open {
        transform: translateX(0);
    }

    .nav-btn {
        width: auto;
        min-width: 200px;
        text-align: center;
        font-size: 18px; /* Larger text for mobile touch */
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(0, 242, 254, 0.2);
    }
}

/* =========================================
   SECTION 2: PRODUCT SCROLL STYLES
========================================= */

/* ─── ENGINEERING SOLUTIONS SECTION ─── */
#hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(4rem, 7vh, 6rem) 5vw clamp(4.5rem, 8vh, 6.5rem);
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 212, 255, 0.12), transparent 32%),
        radial-gradient(circle at 78% 72%, rgba(0, 255, 198, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(3, 8, 15, 0.96), rgba(6, 20, 30, 0.9));
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
    mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
}

.solutions-heading {
    position: relative;
    z-index: 10;
    max-width: 1180px;
    margin-bottom: clamp(1.6rem, 3vh, 2.6rem);
}

.solutions-page .solutions-heading {
    width: min(1180px, 100%);
    margin: 0 auto clamp(1.6rem, 3vh, 2.6rem);
}

.solutions-heading span {
    letter-spacing: clamp(0.22em, 0.65vw, 0.48em);
    font-size: clamp(0.76rem, 1vw, 0.92rem);
}

.solutions-page .solutions-heading span {
    letter-spacing: clamp(0.22em, 0.65vw, 0.48em);
    font-size: clamp(0.76rem, 1vw, 0.92rem);
}

/* ─── ENGINEERING SOLUTIONS HEADING (Dynamic Narrator) ─── */
#hero-heading {
    position: relative;
    z-index: 100;
    font-family: 'Poppins', sans-serif;
    max-width: min(1120px, 100%);
    font-size: clamp(2.5rem, 4.8vw, 5.1rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0; 
    text-align: center;
    background: linear-gradient(180deg, #eaf6ff 0%, #00d4ff 72%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: transform, opacity;
    text-transform: none;
    filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.24));
    white-space: nowrap;
    margin-bottom: 0;
    padding-bottom: 0.08em;
    transform-origin: top center;
}

#cards-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.15vw, 1.25rem);
    align-items: stretch;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    will-change: transform, opacity;
    position: relative;
    z-index: 10;
    padding: 0;
}

.solution-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 1.05rem;
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(3, 8, 15, 0.74), rgba(11, 45, 69, 0.42));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.solution-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.38), 0 0 42px rgba(0, 212, 255, 0.08);
}

.solution-card.active {
    border-color: var(--accent-color);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.38), 0 0 52px color-mix(in srgb, var(--accent-color) 18%, transparent);
}

.solution-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover .status-dot {
    transform: scale(1.5);
}

.solution-card:hover .solution-content h3 {
    color: var(--accent-color);
}

.solution-card:hover .tag {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.solution-media {
    width: 100%;
    height: 172px;
    flex: 0 0 172px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    padding: 0.65rem;
    background: linear-gradient(145deg, #e8eef2, #fbfcfd);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(3, 8, 15, 0.12);
}

.solution-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.18));
}

.solution-media img[src="UniDAQ.png"] {
    width: 104%;
}

.solution-media img[src="uni.jpeg"] {
    width: 108%;
}

.solution-media img[src="MotorDAQ.png"] {
    width: 98%;
}

.solution-media img[src="lvdt.png"] {
    width: 108%;
    clip-path: inset(0 0 7% 0);
}

.card-page-link,
.card-brochure-link,
.inline-brochure-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 0.86rem;
    border: 1px solid var(--accent-color, var(--inline-accent, var(--accent)));
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent-color, var(--inline-accent, var(--accent))) 14%, transparent);
    color: var(--text);
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.card-page-link:hover,
.card-brochure-link:hover,
.inline-brochure-link:hover {
    background: color-mix(in srgb, var(--accent-color, var(--inline-accent, var(--accent))) 24%, transparent);
    transform: translateY(-2px);
}

.card-page-link.disabled,
.card-brochure-link.disabled,
.inline-brochure-link.disabled {
    opacity: 0.55;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.made-in-india-badge {
    width: fit-content;
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.52rem;
    padding: 0.42rem 0.62rem;
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(3, 8, 15, 0.82), rgba(11, 45, 69, 0.38));
    color: var(--text);
}

.made-in-india-badge img {
    width: 92px;
    height: auto;
    display: block;
}

.made-in-india-badge span {
    color: var(--text);
    font-family: 'JetBrains Mono';
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.strain-hero-copy .made-in-india-badge {
    margin-top: 1.05rem;
}

.footer-col.brand .made-in-india-badge {
    margin-top: 1.15rem;
    max-width: 100%;
    gap: 0.85rem;
    padding: 0.78rem 0.95rem;
    border-color: rgba(45, 212, 191, 0.48);
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 32%, rgba(255, 179, 71, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(5, 22, 30, 0.94), rgba(8, 44, 56, 0.66));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 28px rgba(45, 212, 191, 0.14);
}

.footer-col.brand .made-in-india-badge img {
    width: 126px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.footer-col.brand .made-in-india-badge span {
    max-width: 190px;
    color: #f7fbff;
    font-size: 0.86rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-shadow: 0 0 18px rgba(45, 212, 191, 0.2);
}

.footer-col.brand .made-in-india-badge + .social-links {
    margin-top: 1.25rem;
}

.solution-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.solution-content .label {
    font-family: 'JetBrains Mono';
    font-size: 0.68rem;
    color: var(--accent-color);
    margin-bottom: 0.65rem;
    display: block;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.solution-content h3 {
    font-size: clamp(1.35rem, 1.65vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.solution-content p {
    font-size: clamp(0.88rem, 0.9vw, 0.98rem);
    line-height: 1.55;
    color: var(--text-dim);
    margin-bottom: 1rem;
    flex: 1;
}

.solution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.inline-product-details {
    position: relative;
    z-index: 10;
    width: min(1180px, 100%);
    max-height: 0;
    opacity: 0;
    transform: translateY(28px);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.4rem, 2.4vw, 2.5rem);
    margin-top: 0;
    padding: 0 clamp(1rem, 2vw, 1.6rem);
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 212, 255, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.98), rgba(11, 45, 69, 0.9));
    border: 1px solid transparent;
    border-radius: 18px;
    box-shadow: none;
    pointer-events: none;
    transition: max-height 0.6s ease, opacity 0.35s ease, transform 0.45s ease, margin-top 0.45s ease, padding 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.inline-product-details.open {
    max-height: 980px;
    opacity: 1;
    transform: translateY(0);
    margin-top: clamp(2rem, 4vw, 3.4rem);
    padding: clamp(1.2rem, 2.2vw, 2rem);
    border-color: rgba(0, 212, 255, 0.24);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    pointer-events: auto;
}

.inline-product-details::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--inline-accent, var(--accent)), rgba(255, 255, 255, 0.08), transparent);
}

.inline-details-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(3, 8, 15, 0.76);
    color: var(--text);
    cursor: pointer;
}

.inline-details-media {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8eef2, #fbfcfd);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.inline-details-media img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.18));
}

.inline-details-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1.5rem;
}

.inline-product-label {
    font-family: 'JetBrains Mono';
    color: var(--inline-accent, var(--accent));
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.inline-details-copy h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.inline-details-copy p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.inline-product-bullets {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.inline-product-bullets li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.8rem;
    padding: 0.75rem;
    border: 1px solid rgba(148, 190, 210, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.inline-product-bullets .bullet-icon {
    border-color: color-mix(in srgb, var(--inline-accent, var(--accent)) 40%, transparent);
    background: color-mix(in srgb, var(--inline-accent, var(--accent)) 12%, transparent);
    color: var(--inline-accent, var(--accent));
}

@media (min-width: 1501px) and (max-width: 1800px) {
    #hero {
        padding: clamp(3.5rem, 6vh, 5rem) 4vw clamp(4rem, 7vh, 5.5rem);
    }

    #cards-row {
        max-width: 1360px;
    }

    .solution-card {
        min-height: 470px;
        padding: 0.95rem;
    }

    .solution-media {
        height: 150px;
        flex-basis: 150px;
    }
}

@media (max-width: 1500px) {
    #hero {
        padding: clamp(3.5rem, 6vh, 5rem) 5vw clamp(4rem, 7vh, 5.5rem);
    }

    #cards-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 980px;
    }

    .solution-card {
        min-height: 460px;
    }

    .solution-media {
        height: 160px;
        flex-basis: 160px;
    }
}

@media (max-width: 980px) {
    #cards-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }
}

@media (max-width: 620px) {
    #cards-row {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 4rem 1.25rem 4.8rem;
        margin-bottom: 0;
    }

    #hero-heading {
        font-size: clamp(2.35rem, 13vw, 4.2rem);
        white-space: normal;
        text-wrap: balance;
    }

    .solution-card {
        width: 100%;
        min-height: auto;
    }

    .solution-media {
        height: 190px;
        flex-basis: 190px;
    }

    .inline-product-details {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .inline-product-details.open {
        max-height: 1500px;
    }

    .inline-details-media {
        min-height: 230px;
    }

    .inline-details-copy {
        padding-right: 0;
    }
}

/* Data logging software section */
.logging-software-section {
    position: relative;
    z-index: 9;
    overflow: hidden;
    padding: clamp(3rem, 6vh, 4.7rem) 5vw;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 212, 255, 0.14), transparent 32%),
        radial-gradient(circle at 88% 74%, rgba(0, 255, 198, 0.1), transparent 34%),
        linear-gradient(135deg, rgba(3, 8, 15, 0.98), rgba(6, 23, 34, 0.95));
    border-top: 1px solid rgba(120, 190, 210, 0.16);
    border-bottom: 1px solid rgba(120, 190, 210, 0.16);
}

.logging-software-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 82%);
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 82%);
}

.logging-software-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.035), transparent);
    transform: translateY(-100%);
    animation: softwareScan 5.5s linear infinite;
}

.logging-shell {
    position: relative;
    z-index: 1;
    display: block;
    width: min(1540px, 100%);
    margin: 0 auto;
}

.logging-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    grid-template-areas:
        "eyebrow copy"
        "title copy"
        "features features";
    gap: clamp(1.4rem, 3vw, 3rem);
    align-items: end;
}

.logging-copy .eyebrow {
    grid-area: eyebrow;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-family: 'JetBrains Mono';
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logging-copy .eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
}

.logging-copy h2 {
    grid-area: title;
    max-width: 900px;
    margin-bottom: 1.1rem;
    font-size: clamp(2rem, 3vw, 3.7rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.logging-intro {
    grid-area: copy;
    max-width: 640px;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.05rem;
}

.logging-intro p {
    color: var(--text-muted);
    font-size: clamp(0.98rem, 1.05vw, 1.12rem);
    line-height: 1.65;
}

.logging-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.software-cta-primary,
.software-cta-secondary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.78rem;
    padding: 1.12rem 1.85rem;
    border: 0;
    border-radius: 12px;
    color: var(--text);
    font-weight: 800;
    font-size: 1.08rem;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.software-cta-primary::before,
.software-cta-secondary::before {
    content: '';
    position: absolute;
    inset: -45%;
    z-index: -2;
    background: conic-gradient(from 0deg, transparent 0 28%, var(--secondary), var(--accent), transparent 72% 100%);
    animation: ctaBorderSpin 3.5s linear infinite;
}

.software-cta-primary::after,
.software-cta-secondary::after {
    content: '';
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 10px;
}

.software-cta-primary > *,
.software-cta-secondary > * {
    position: relative;
    z-index: 1;
}

.software-cta-primary {
    box-shadow: 0 0 24px rgba(0, 255, 198, 0.08);
}

.software-cta-primary::after {
    background: rgba(5, 17, 27, 0.96);
}

.software-cta-secondary {
    color: var(--text-muted);
}

.software-cta-secondary::before {
    opacity: 0.55;
    animation-duration: 4.6s;
}

.software-cta-secondary::after {
    background: rgba(5, 17, 27, 0.96);
}

.software-cta-primary:hover,
.software-cta-secondary:hover {
    transform: translateY(-2px);
    color: var(--text);
    box-shadow: 0 0 34px rgba(0, 255, 198, 0.16);
}

.software-cta-primary:hover::before,
.software-cta-secondary:hover::before {
    animation-duration: 1.9s;
}

.software-cta-wide {
    width: min(100%, 560px);
    justify-content: center;
    text-align: center;
}

.logging-feature-grid {
    grid-area: features;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.45rem;
}

.logging-feature-grid article {
    --feature-accent: var(--accent);
    min-height: 112px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "desc desc";
    gap: 0.55rem 0.75rem;
    align-items: start;
    padding: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--feature-accent) 34%, rgba(120, 190, 210, 0.12));
    border-radius: 8px;
    background:
        radial-gradient(circle at 96% 12%, color-mix(in srgb, var(--feature-accent) 14%, transparent), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(3, 8, 15, 0.16));
}

.logging-feature-grid article:nth-child(1) {
    --feature-accent: var(--secondary);
}

.logging-feature-grid article:nth-child(2) {
    --feature-accent: #39c8ff;
}

.logging-feature-grid article:nth-child(3) {
    --feature-accent: #b48fff;
}

.logging-feature-grid article:nth-child(4) {
    --feature-accent: #ffb347;
}

.logging-feature-grid i {
    grid-area: icon;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
    color: var(--feature-accent);
    border: 1px solid color-mix(in srgb, var(--feature-accent) 42%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--feature-accent) 12%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--feature-accent) 12%, transparent);
}

.logging-feature-grid strong {
    grid-area: title;
    align-self: center;
    min-width: 0;
    color: color-mix(in srgb, var(--feature-accent) 22%, var(--text));
    font-size: 0.94rem;
    line-height: 1.25;
}

.logging-feature-grid span {
    grid-area: desc;
    display: block;
    min-width: 0;
    max-width: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.48;
    overflow-wrap: normal;
    word-break: normal;
}

.logging-visual {
    position: relative;
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) 82px minmax(460px, 1.18fr);
    gap: clamp(0.8rem, 1.4vw, 1.2rem);
    align-items: stretch;
    margin-top: 1.6rem;
    padding: clamp(0.9rem, 1.4vw, 1.2rem);
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(3, 8, 15, 0.8), rgba(11, 45, 69, 0.5)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.logging-visual::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(120, 190, 210, 0.11);
    border-radius: 13px;
    pointer-events: none;
}

.software-stage,
.software-dashboard {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(120, 190, 210, 0.18);
    border-radius: 12px;
    background: rgba(5, 17, 27, 0.9);
}

.software-stage {
    display: flex;
    flex-direction: column;
    padding: 0.9rem;
}

.stage-header,
.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.72rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono';
    font-size: 0.74rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(120, 190, 210, 0.13);
}

.stage-header strong,
.dashboard-topbar strong {
    color: var(--secondary);
    font-size: 0.72rem;
}

.device-image-wrap {
    flex: 1;
    min-height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.85rem 0;
    padding: 0.85rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #eaf0f3, #ffffff);
    box-shadow: inset 0 0 0 1px rgba(3, 8, 15, 0.12);
}

.device-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 196px;
    object-fit: contain;
    filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.18));
}

.sensor-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.sensor-strip span {
    min-width: 0;
    padding: 0.48rem 0.35rem;
    color: var(--accent);
    font-family: 'JetBrains Mono';
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.07);
}

.data-flow {
    position: relative;
    z-index: 1;
    min-width: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-flow::before,
.data-flow::after {
    content: '';
    position: absolute;
    left: 2%;
    right: 2%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.8), rgba(0, 255, 198, 0));
}

.data-flow::before {
    top: 45%;
    animation: flowLine 2.8s linear infinite;
}

.data-flow::after {
    top: 55%;
    opacity: 0.55;
    animation: flowLine 2.8s linear infinite reverse;
}

.flow-dot {
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: 0 0 18px rgba(0, 255, 198, 0.8);
    animation: flowDot 2.6s linear infinite;
}

.dot-two {
    animation-delay: 0.85s;
    background: var(--accent);
}

.dot-three {
    animation-delay: 1.7s;
    background: #ffb347;
}

.flow-label {
    position: absolute;
    bottom: 22%;
    color: rgba(234, 246, 255, 0.62);
    font-family: 'JetBrains Mono';
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.software-dashboard {
    display: flex;
    flex-direction: column;
    padding: 0.9rem;
}

.dashboard-topbar strong {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
}

.dashboard-topbar strong span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 14px rgba(0, 255, 198, 0.8);
    animation: livePulse 1.3s ease-in-out infinite;
}

.dashboard-plot {
    flex: 1;
    min-height: 176px;
    margin: 0.85rem 0;
    border: 1px solid rgba(120, 190, 210, 0.16);
    border-radius: 10px;
    background: rgba(9, 26, 43, 0.75);
}

.dashboard-plot svg {
    width: 100%;
    height: 100%;
    display: block;
}

.plot-grid path {
    fill: none;
    stroke: rgba(156, 192, 214, 0.12);
    stroke-width: 1;
}

.plot-baseline {
    fill: none;
    stroke: rgba(234, 246, 255, 0.2);
    stroke-width: 1;
}

.plot-signal {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.plot-signal-primary {
    stroke: url(#softwarePlotGradient);
    stroke-dasharray: 640;
    stroke-dashoffset: 640;
    animation: drawSignal 3.4s ease-in-out infinite;
}

.plot-signal-secondary {
    stroke: rgba(180, 143, 255, 0.78);
    stroke-width: 3;
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
    animation: drawSignal 3.4s ease-in-out 0.45s infinite;
}

.processing-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.process-chip {
    position: relative;
    overflow: hidden;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.68rem;
    border: 1px solid rgba(120, 190, 210, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.process-chip::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), #ffb347);
    transform: translateX(-100%);
    animation: processBar 3s ease-in-out infinite;
}

.process-chip:nth-child(2)::before {
    animation-delay: 0.35s;
}

.process-chip:nth-child(3)::before {
    animation-delay: 0.7s;
}

.process-chip span,
.software-footer-line span {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.process-chip strong {
    color: var(--text);
    font-family: 'JetBrains Mono';
    font-size: 0.9rem;
}

.software-footer-line {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.72rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono';
    text-transform: uppercase;
}

@keyframes softwareScan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes ctaBorderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes flowLine {
    0% {
        opacity: 0.22;
        transform: scaleX(0.72);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.22;
        transform: scaleX(0.72);
    }
}

@keyframes flowDot {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0.7);
    }
    12% {
        opacity: 1;
    }
    82% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(82px) scale(1.15);
    }
}

@keyframes livePulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.86);
    }
    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

@keyframes drawSignal {
    0% {
        stroke-dashoffset: 640;
    }
    42%,
    70% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -640;
    }
}

@keyframes processBar {
    0% {
        transform: translateX(-100%);
    }
    55% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 1280px) {
    .logging-copy {
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "copy"
            "features";
        align-items: start;
    }

    .logging-intro {
        justify-self: start;
    }

    .logging-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logging-visual {
        grid-template-columns: minmax(240px, 0.82fr) 76px minmax(360px, 1.18fr);
    }
}

@media (max-width: 900px) {
    .logging-software-section {
        padding: clamp(3rem, 6vh, 4.5rem) 1.25rem;
    }

    .logging-visual {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .data-flow {
        min-height: 78px;
    }

    .data-flow::before,
    .data-flow::after {
        left: 50%;
        right: auto;
        top: 5%;
        bottom: 5%;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.8), rgba(0, 255, 198, 0));
    }

    .data-flow::after {
        left: calc(50% + 10px);
        top: 5%;
    }

    .flow-dot {
        top: 0;
        left: calc(50% - 5px);
        animation-name: flowDotVertical;
    }

    .flow-label {
        bottom: auto;
        right: calc(50% + 22px);
        top: 50%;
        transform: translateY(-50%);
    }

    .dashboard-plot {
        min-height: 230px;
    }
}

@media (max-width: 640px) {
    .logging-feature-grid,
    .processing-row {
        grid-template-columns: 1fr;
    }

    .logging-feature-grid article {
        min-height: 0;
    }

    .logging-visual {
        padding: 0.85rem;
    }

    .device-image-wrap {
        min-height: 190px;
    }

    .sensor-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .software-footer-line {
        flex-direction: column;
    }
}

@keyframes flowDotVertical {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.7);
    }
    12% {
        opacity: 1;
    }
    82% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(70px) scale(1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logging-software-section::after,
    .data-flow::before,
    .data-flow::after,
    .flow-dot,
    .dashboard-topbar strong span,
    .plot-signal-primary,
    .plot-signal-secondary,
    .process-chip::before,
    .actuator-motor::before,
    .ground-ball-screw span,
    .moving-carriage,
    .signal-trace {
        animation: none !important;
    }

    .plot-signal-primary,
    .plot-signal-secondary,
    .signal-trace {
        stroke-dashoffset: 0;
    }
}

/* Precision actuator case-study section */
.precision-actuator-section {
    position: relative;
    z-index: 9;
    overflow: hidden;
    padding: clamp(3rem, 6vh, 5.2rem) 5vw;
    background:
        radial-gradient(circle at 14% 18%, rgba(45, 212, 191, 0.13), transparent 30%),
        radial-gradient(circle at 84% 34%, rgba(255, 179, 71, 0.1), transparent 30%),
        linear-gradient(135deg, rgba(3, 8, 15, 0.98), rgba(6, 18, 27, 0.96));
    border-top: 1px solid rgba(120, 190, 210, 0.16);
    border-bottom: 1px solid rgba(120, 190, 210, 0.16);
}

.precision-actuator-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 82%);
    mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 82%);
}

.precision-actuator-shell {
    position: relative;
    z-index: 1;
    width: min(1540px, 100%);
    margin: 0 auto;
}

.precision-actuator-scope {
    position: relative;
    z-index: 1;
    width: 100%;
}

.precision-actuator-shell {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(580px, 1.1fr);
    gap: clamp(1.6rem, 3.4vw, 3.8rem);
    align-items: start;
}

.precision-actuator-copy {
    display: grid;
    align-content: start;
    height: 100%;
}

.precision-actuator-copy .eyebrow {
    color: #2dd4bf;
}

.precision-actuator-copy h2 {
    margin: 0.9rem 0 1.05rem;
    max-width: 720px;
    color: var(--white);
    font-size: clamp(2.25rem, 3.8vw, 4.35rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.precision-actuator-copy p {
    max-width: 700px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.12vw, 1.16rem);
    line-height: 1.72;
}

.precision-actuator-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.35rem 0 1.55rem;
}

.precision-actuator-metrics article,
.precision-actuator-scope article {
    border: 1px solid rgba(120, 190, 210, 0.18);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(4, 13, 23, 0.88), rgba(12, 31, 46, 0.62));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.precision-actuator-metrics article {
    min-height: 82px;
    padding: 0.9rem;
}

.precision-actuator-metrics strong {
    display: block;
    color: var(--white);
    font-size: clamp(1.18rem, 1.55vw, 1.85rem);
    line-height: 1;
    white-space: nowrap;
}

.precision-actuator-metrics span {
    display: block;
    margin-top: 0.55rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono';
    font-size: 0.76rem;
    text-transform: uppercase;
}

.precision-actuator-cta {
    width: fit-content;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    padding: 0.95rem 1.3rem;
    color: #021014;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2dd4bf, #39c8ff);
    box-shadow: 0 18px 36px rgba(45, 212, 191, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.precision-actuator-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(45, 212, 191, 0.22);
}

.precision-actuator-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: clamp(0.85rem, 1.35vw, 1.15rem);
    min-height: 0;
    height: auto;
    align-self: start;
    padding: clamp(0.85rem, 1.4vw, 1.05rem);
    border: 1px solid rgba(120, 190, 210, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(3, 8, 15, 0.88), rgba(9, 33, 45, 0.68)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 20px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.precision-actuator-visual::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(120, 190, 210, 0.1);
    border-radius: 13px;
    pointer-events: none;
}

.actuator-topline,
.actuator-signal-panel,
.actuator-bench {
    position: relative;
    z-index: 1;
}

.actuator-topline {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(120, 190, 210, 0.14);
    font-family: 'JetBrains Mono';
    font-size: 0.72rem;
    text-transform: uppercase;
}

.actuator-topline span {
    color: rgba(234, 246, 255, 0.62);
}

.actuator-topline strong {
    color: #2dd4bf;
}

.actuator-bench {
    grid-column: 1 / -1;
    min-height: clamp(210px, 20vw, 265px);
    display: grid;
    grid-template-columns: 118px 34px minmax(0, 1fr) 40px;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: clamp(1rem, 1.8vw, 1.35rem);
    border-radius: 12px;
    background: rgba(4, 17, 27, 0.74);
    border: 1px solid rgba(120, 190, 210, 0.14);
}

.actuator-motor {
    width: 118px;
    height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 12px;
    color: var(--text);
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.11), transparent 26%),
        linear-gradient(145deg, #182b38, #071018);
    border: 1px solid rgba(120, 190, 210, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 34px rgba(0, 0, 0, 0.28);
}

.actuator-motor::before {
    content: '';
    width: 38px;
    height: 38px;
    border: 2px solid rgba(45, 212, 191, 0.52);
    border-top-color: #ffb347;
    border-radius: 50%;
    animation: actuatorRotor 2.4s linear infinite;
}

.actuator-motor span {
    color: rgba(234, 246, 255, 0.64);
    font-family: 'JetBrains Mono';
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.actuator-motor strong {
    color: #2dd4bf;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
}

.actuator-coupler {
    height: 24px;
    border-top: 8px solid #7b8794;
    border-bottom: 8px solid #394450;
    background: #a7b1bd;
    box-shadow: inset 0 0 0 1px rgba(3, 8, 15, 0.34);
}

.actuator-stage {
    position: relative;
    height: clamp(150px, 13vw, 178px);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
        linear-gradient(145deg, #0a1b29, #06111f);
    border: 1px solid rgba(120, 190, 210, 0.2);
    overflow: hidden;
}

.guide-rail {
    position: absolute;
    left: 26px;
    right: 26px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d9e2e8, #758797 45%, #34414f);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.rail-top {
    top: 30px;
}

.rail-bottom {
    bottom: 30px;
}

.ground-ball-screw {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(50% - 7px);
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, #e7edf1, #8796a4 52%, #3f4a55);
    box-shadow: 0 0 18px rgba(57, 200, 255, 0.08);
}

.ground-ball-screw span {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.72) 0 3px, transparent 3px 12px);
    animation: screwTravel 1.9s linear infinite;
}

.moving-carriage {
    position: absolute;
    left: 18%;
    top: 50%;
    width: 112px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #021014;
    font-family: 'JetBrains Mono';
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    background:
        linear-gradient(145deg, #2dd4bf, #39c8ff);
    box-shadow: 0 0 28px rgba(45, 212, 191, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    transform: translateY(-50%);
    animation: carriageTravel 4.8s ease-in-out infinite;
}

.moving-carriage::before,
.moving-carriage::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    height: 8px;
    border-radius: 999px;
    background: rgba(2, 16, 20, 0.35);
}

.moving-carriage::before {
    top: 10px;
}

.moving-carriage::after {
    bottom: 10px;
}

.position-scale {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.position-scale span {
    width: 1px;
    height: 12px;
    background: rgba(234, 246, 255, 0.28);
}

.actuator-end-block {
    height: 116px;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(145deg, #263746, #091420);
    border: 1px solid rgba(120, 190, 210, 0.18);
}

.actuator-signal-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: stretch;
    padding: clamp(0.85rem, 1.15vw, 1rem);
    border: 1px solid rgba(120, 190, 210, 0.16);
    border-radius: 12px;
    background: rgba(4, 17, 27, 0.76);
}

.actuator-signal-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
}

.actuator-signal-panel span {
    color: rgba(234, 246, 255, 0.62);
    font-family: 'JetBrains Mono';
    font-size: 0.74rem;
    text-transform: uppercase;
}

.actuator-signal-panel strong {
    color: var(--white);
    font-size: 1.65rem;
    line-height: 1;
}

.actuator-signal-panel small {
    color: rgba(234, 246, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.4;
}

.actuator-signal-panel svg {
    width: 100%;
    min-height: 98px;
    border-radius: 8px;
    background: rgba(7, 25, 39, 0.8);
}

.actuator-signal-panel .actuator-load-chart {
    min-height: clamp(205px, 18vw, 245px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.94));
    box-shadow: inset 0 0 0 1px rgba(3, 8, 15, 0.18);
}

.chart-plot-bg {
    fill: rgba(255, 255, 255, 0.84);
}

.chart-frame {
    fill: none;
    stroke: rgba(18, 28, 42, 0.76);
    stroke-width: 1.3;
}

.signal-grid {
    fill: none;
    stroke: rgba(156, 192, 214, 0.14);
    stroke-width: 1;
}

.actuator-load-chart .signal-grid {
    stroke: rgba(115, 139, 161, 0.22);
}

.chart-title-text {
    fill: #141a22;
    font-family: 'Plus Jakarta Sans';
    font-size: 15px;
    font-weight: 800;
}

.chart-axis-number,
.chart-axis-label,
.chart-reference-label {
    font-family: 'Plus Jakarta Sans';
    font-weight: 700;
}

.chart-axis-number {
    font-size: 10px;
}

.chart-axis-label {
    font-size: 11px;
}

.load-axis,
.load-label {
    fill: #1f6fc5;
}

.encoder-axis,
.encoder-label {
    fill: #e44718;
}

.time-label {
    fill: #222833;
}

.chart-reference-label {
    fill: rgba(45, 50, 58, 0.76);
    font-size: 11px;
}

.signal-trace {
    fill: none;
    stroke: #2dd4bf;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 560;
    animation: traceDraw 3.8s ease-in-out infinite;
}

.secondary-trace {
    stroke: #ffb347;
    stroke-width: 2.4;
    opacity: 0.72;
    animation-delay: 0.6s;
}

.load-reference {
    fill: none;
    stroke: rgba(35, 40, 48, 0.64);
    stroke-width: 1.8;
    stroke-dasharray: 7 7;
}

.actuator-load-trace,
.actuator-displacement-trace {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 920;
    animation: actuatorChartTrace 4.2s ease-in-out infinite;
}

.actuator-load-trace {
    stroke: #1f6fc5;
    stroke-width: 3.2;
}

.actuator-displacement-trace {
    stroke: #e44718;
    stroke-width: 2.6;
    animation-delay: 0.45s;
}

.actuator-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    align-items: center;
    color: rgba(234, 246, 255, 0.66);
    font-family: 'JetBrains Mono';
    font-size: 0.67rem;
    text-transform: uppercase;
}

.actuator-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: rgba(234, 246, 255, 0.66);
}

.actuator-chart-legend i {
    width: 18px;
    height: 3px;
    border-radius: 999px;
}

.legend-load {
    background: #1f6fc5;
}

.legend-displacement {
    background: #e44718;
}

.legend-reference {
    background: repeating-linear-gradient(90deg, rgba(234, 246, 255, 0.7) 0 6px, transparent 6px 10px);
}

.precision-actuator-scope {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: clamp(0.2rem, 0.9vw, 0.8rem);
}

.precision-actuator-scope article {
    min-height: 170px;
    padding: 1rem;
}

.precision-actuator-scope i {
    color: #2dd4bf;
}

.precision-actuator-scope h3 {
    margin: 0.72rem 0 0.46rem;
    color: var(--white);
    font-size: 1rem;
}

.precision-actuator-scope p {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.54;
}

@keyframes actuatorRotor {
    to {
        transform: rotate(360deg);
    }
}

@keyframes screwTravel {
    to {
        transform: translateX(24px);
    }
}

@keyframes carriageTravel {
    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(clamp(90px, 16vw, 210px));
    }
}

@keyframes traceDraw {
    0% {
        stroke-dashoffset: 560;
    }

    55%,
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes actuatorChartTrace {
    0% {
        stroke-dashoffset: 920;
    }

    58%,
    100% {
        stroke-dashoffset: 0;
    }
}

@media (min-width: 1281px) and (max-width: 1536px) {
    .precision-actuator-section {
        padding: clamp(2.6rem, 4.8vh, 4.25rem) 4vw;
    }

    .precision-actuator-shell {
        grid-template-columns: minmax(400px, 0.92fr) minmax(540px, 1.08fr);
        gap: clamp(1.4rem, 2.4vw, 2.5rem);
        align-items: start;
    }

    .precision-actuator-copy h2 {
        font-size: clamp(2.25rem, 3.4vw, 3.85rem);
    }

    .precision-actuator-copy p {
        font-size: 1rem;
        line-height: 1.62;
    }

    .precision-actuator-metrics {
        gap: 0.65rem;
        margin: 1.1rem 0 1.25rem;
    }

    .precision-actuator-metrics article {
        min-height: 74px;
        padding: 0.78rem;
    }

    .precision-actuator-scope {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.65rem;
        margin-top: 0.35rem;
    }

    .precision-actuator-scope article {
        min-height: 152px;
        padding: 0.88rem;
    }

    .precision-actuator-scope h3 {
        font-size: 0.95rem;
    }

    .precision-actuator-scope p {
        font-size: 0.8rem;
        line-height: 1.48;
    }

    .precision-actuator-visual {
        padding: 0.8rem;
    }

    .actuator-bench {
        min-height: 210px;
    }

    .actuator-stage {
        height: 150px;
    }

    .actuator-motor {
        height: 104px;
    }

    .actuator-end-block {
        height: 108px;
    }

    .actuator-signal-panel .actuator-load-chart {
        min-height: 220px;
    }
}

@media (max-width: 1280px) {
    .precision-actuator-shell {
        grid-template-columns: 1fr;
    }

    .precision-actuator-copy p,
    .precision-actuator-copy h2 {
        max-width: 900px;
    }

    .precision-actuator-visual {
        max-width: 980px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .precision-actuator-section {
        padding: clamp(3rem, 6vh, 4.5rem) 1.25rem;
    }

    .precision-actuator-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .precision-actuator-scope {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .precision-actuator-scope article {
        min-height: 0;
    }

    .precision-actuator-visual {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .actuator-bench {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        min-height: 0;
    }

    .actuator-motor {
        width: 100%;
        height: 92px;
        flex-direction: row;
    }

    .actuator-coupler {
        width: 28px;
        height: 30px;
        justify-self: center;
        border-left: 8px solid #7b8794;
        border-right: 8px solid #394450;
        border-top: 0;
        border-bottom: 0;
    }

    .actuator-stage {
        height: 165px;
    }

    .actuator-end-block {
        width: 100%;
        height: 28px;
        border-radius: 8px;
    }

    .actuator-signal-panel {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {
    .precision-actuator-metrics,
    .precision-actuator-scope {
        grid-template-columns: 1fr;
    }

    .precision-actuator-copy h2 {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .precision-actuator-cta {
        width: 100%;
        text-align: center;
    }

    .actuator-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .moving-carriage {
        width: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .actuator-motor::before,
    .ground-ball-screw span,
    .moving-carriage,
    .signal-trace,
    .actuator-load-trace,
    .actuator-displacement-trace {
        animation: none !important;
    }

    .signal-trace,
    .actuator-load-trace,
    .actuator-displacement-trace {
        stroke-dashoffset: 0;
    }
}

/* Selected customer section */
.customers-section {
    position: relative;
    z-index: 9;
    overflow: hidden;
    padding: clamp(3rem, 6vh, 5.25rem) 5vw;
    background:
        radial-gradient(circle at 12% 16%, rgba(45, 212, 191, 0.12), transparent 28%),
        radial-gradient(circle at 86% 28%, rgba(57, 200, 255, 0.1), transparent 30%),
        linear-gradient(135deg, rgba(3, 8, 15, 0.98), rgba(4, 19, 28, 0.96));
    border-bottom: 1px solid rgba(120, 190, 210, 0.16);
}

.customers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 84%);
    mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 84%);
}

.customers-shell {
    position: relative;
    z-index: 1;
    width: min(1540px, 100%);
    margin: 0 auto;
}

.customers-header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
    gap: clamp(1.5rem, 4vw, 5rem);
    align-items: end;
    margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
}

.customers-header .eyebrow {
    color: #2dd4bf;
}

.customers-header h2 {
    max-width: 880px;
    margin: 0.85rem 0 0;
    color: var(--white);
    font-size: clamp(2rem, 3.8vw, 4.3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.customers-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.08vw, 1.12rem);
    line-height: 1.7;
}

.customer-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.8rem, 1.2vw, 1.15rem);
}

.customer-logo-card {
    position: relative;
    overflow: hidden;
    min-height: 238px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(0.9rem, 1.15vw, 1.1rem);
    border: 1px solid rgba(120, 190, 210, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(4, 13, 23, 0.92), rgba(11, 34, 49, 0.68)),
        radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--customer-accent) 20%, transparent), transparent 24%);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.customer-logo-card::before {
    content: '';
    position: absolute;
    top: 0.95rem;
    right: 0.95rem;
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: var(--customer-accent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--customer-accent) 62%, transparent);
}

.customer-logo-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--customer-accent), transparent);
    opacity: 0.72;
}

.customer-logo-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--customer-accent) 48%, rgba(120, 190, 210, 0.24));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.customer-logo-mark {
    position: relative;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    border: 1px solid color-mix(in srgb, var(--customer-accent) 22%, rgba(4, 13, 23, 0.18));
    border-radius: 10px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.96), transparent 28%),
        linear-gradient(145deg, rgba(235, 245, 250, 0.98), rgba(211, 224, 232, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 14px 32px rgba(0, 0, 0, 0.2);
}

.customer-logo-mark img {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 90%;
    max-height: 74px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(4, 17, 27, 0.12));
}

.customer-logo-fallback {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    padding: 0.75rem;
    color: #04111b;
    font-family: 'Plus Jakarta Sans';
    font-size: clamp(1.18rem, 1.5vw, 1.55rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04)),
        color-mix(in srgb, var(--customer-accent) 8%, rgba(255, 255, 255, 0.26));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--customer-accent) 28%, transparent);
}

.customer-logo-fallback::after {
    content: '';
    position: absolute;
    inset: auto 18% 0.45rem;
    height: 3px;
    border-radius: 999px;
    background: var(--customer-accent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--customer-accent) 58%, transparent);
}

.customer-logo-mark.logo-failed {
    border-color: color-mix(in srgb, var(--customer-accent) 34%, rgba(4, 13, 23, 0.18));
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98), rgba(241, 246, 249, 0.94) 58%, color-mix(in srgb, var(--customer-accent) 12%, rgba(226, 234, 239, 0.96)));
}

.customer-logo-mark.logo-failed img {
    display: none;
}

.customer-logo-mark.logo-failed .customer-logo-fallback {
    display: flex;
}

.customer-logo-card > div:not(.customer-logo-mark) > span {
    display: block;
    color: var(--white);
    font-size: clamp(1rem, 1.08vw, 1.12rem);
    font-weight: 800;
    line-height: 1.22;
}

.customer-logo-card small {
    display: block;
    margin-top: 0.42rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

@media (max-width: 1280px) {
    .customers-header {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .customers-header p {
        max-width: 820px;
    }

    .customer-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .customers-section {
        padding: clamp(3rem, 6vh, 4.5rem) 1.25rem;
    }

    .customer-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .customers-header h2 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .customer-logo-grid {
        grid-template-columns: 1fr;
    }

    .customer-logo-card {
        min-height: 220px;
    }
}

/* Problem statement CTA */
.problem-statement-section {
    position: relative;
    z-index: 9;
    overflow: hidden;
    padding: clamp(2.6rem, 5vh, 4.75rem) 5vw;
    background:
        radial-gradient(circle at 18% 20%, rgba(57, 200, 255, 0.13), transparent 28%),
        radial-gradient(circle at 82% 64%, rgba(45, 212, 191, 0.1), transparent 28%),
        linear-gradient(135deg, rgba(3, 8, 15, 0.98), rgba(5, 20, 30, 0.96));
    border-bottom: 1px solid rgba(120, 190, 210, 0.16);
}

.problem-statement-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 52% 48%, #000 0%, transparent 82%);
    mask-image: radial-gradient(circle at 52% 48%, #000 0%, transparent 82%);
}

.problem-statement-shell {
    position: relative;
    z-index: 1;
    width: min(1540px, 100%);
    margin: 0 auto;
}

.problem-statement-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr);
    gap: clamp(1.4rem, 3.2vw, 3rem);
    align-items: center;
    padding: clamp(1.35rem, 3vw, 2.55rem);
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(4, 13, 23, 0.92), rgba(8, 32, 45, 0.72)),
        radial-gradient(circle at 88% 18%, rgba(57, 200, 255, 0.14), transparent 30%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.problem-statement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.24), rgba(57, 200, 255, 0.85), rgba(255, 179, 71, 0.45), rgba(45, 212, 191, 0.24));
    background-size: 260% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: problemBorderSweep 6s linear infinite;
}

.problem-statement-card::after {
    content: '';
    position: absolute;
    inset: auto -18% -44% 42%;
    height: 280px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.14), transparent 62%);
    pointer-events: none;
}

.problem-statement-copy,
.problem-statement-flow {
    position: relative;
    z-index: 1;
}

.problem-statement-copy .eyebrow {
    color: #2dd4bf;
}

.problem-statement-copy h2 {
    max-width: 800px;
    margin: 0.85rem 0 1rem;
    color: var(--white);
    font-size: clamp(2.05rem, 3.65vw, 4.1rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.problem-statement-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.1vw, 1.14rem);
    line-height: 1.72;
}

.problem-statement-cta {
    width: min(100%, 520px);
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: clamp(1.3rem, 2.4vw, 2rem);
    padding: 1rem 1.45rem;
    color: #021014;
    font-size: clamp(1rem, 1.12vw, 1.18rem);
    font-weight: 900;
    text-decoration: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #2dd4bf, #39c8ff);
    box-shadow: 0 20px 46px rgba(45, 212, 191, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-statement-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 58px rgba(45, 212, 191, 0.24);
}

.problem-statement-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.problem-statement-flow article {
    min-height: 168px;
    display: grid;
    align-content: start;
    gap: 0.55rem;
    padding: 1.05rem;
    border: 1px solid rgba(120, 190, 210, 0.18);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(3, 11, 19, 0.88), rgba(13, 35, 49, 0.64));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.problem-statement-flow i {
    color: #39c8ff;
}

.problem-statement-flow strong {
    color: var(--white);
    font-size: clamp(1.15rem, 1.35vw, 1.45rem);
    line-height: 1.15;
}

.problem-statement-flow small {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

@keyframes problemBorderSweep {
    to {
        background-position: 260% 0;
    }
}

@media (max-width: 1280px) {
    .problem-statement-card {
        grid-template-columns: 1fr;
    }

    .problem-statement-copy h2,
    .problem-statement-copy p {
        max-width: 900px;
    }
}

@media (max-width: 860px) {
    .problem-statement-section {
        padding: clamp(3rem, 6vh, 4.5rem) 1.25rem;
    }
}

@media (max-width: 640px) {
    .problem-statement-card {
        padding: 1.05rem;
    }

    .problem-statement-copy h2 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .problem-statement-flow {
        grid-template-columns: 1fr;
    }

    .problem-statement-flow article {
        min-height: 0;
    }

    .problem-statement-cta {
        min-height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .problem-statement-card::before {
        animation: none !important;
    }
}

/* =========================================
   SECTION 2: PRODUCT SCROLL STYLES
========================================= */
/* ─── PRODUCT SCENE ─── */
.product-scene {
    height: 160vh;
    position: relative;
    background: #03080f;
    border-top: 1px solid rgba(120, 170, 190, 0.14);
    isolation: isolate;
}

.product-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 2;
    background:
        radial-gradient(circle at 12% 24%, rgba(0, 212, 255, 0.14), transparent 32%),
        radial-gradient(circle at 76% 12%, rgba(0, 255, 198, 0.08), transparent 30%),
        linear-gradient(135deg, #061018 0%, #07141d 48%, #03080f 100%);
}

.product-sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.28));
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.28));
}

.product-sticky::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 6;
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.9), rgba(0, 255, 198, 0.22), transparent);
}

.prod-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 22% 56%, rgba(0, 212, 255, 0.18), transparent 58%),
        radial-gradient(ellipse at 72% 50%, rgba(255, 255, 255, 0.04), transparent 48%);
    opacity: 0;
    will-change: opacity;
}

.prod-img-wrap {
    position: absolute;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2vw, 30px);
    background: linear-gradient(145deg, rgba(10, 22, 31, 0.98), rgba(3, 8, 15, 0.98));
    border: 1px solid rgba(148, 190, 210, 0.22);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 242, 254, 0.08);
    overflow: hidden;
    will-change: transform, width, height, top, left, border-radius;
}

.prod-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4rem, 10vw, 8rem);
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(145deg, #eef3f6, #f9fbfc) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(3, 8, 15, 0.12);
}

.prod-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.18));
}

.prod-title-wrap {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    white-space: nowrap;
    will-change: transform, top, left;
}

.prod-name {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    display: block;
}

.prod-tagline {
    display: block;
    font-size: clamp(0.82rem, 1vw, 0.95rem);
    color: rgba(234, 246, 255, 0.66);
    margin-top: 0.25rem;
    font-weight: 500;
    letter-spacing: 0;
}

.prod-content {
    position: absolute;
    left: 51.5vw;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: min(40vw, 860px);
    z-index: 4;
    opacity: 0;
    will-change: transform, opacity;
    padding: clamp(1.2rem, 2vw, 1.8rem);
    background: linear-gradient(180deg, rgba(8, 18, 26, 0.86), rgba(3, 8, 15, 0.72));
    border: 1px solid rgba(148, 190, 210, 0.18);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.prod-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.6), transparent);
}

.prod-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.prod-content .prod-sub {
    font-size: clamp(0.98rem, 1.18vw, 1.12rem);
    color: var(--text-muted);
    margin-bottom: clamp(1rem, 2vh, 1.4rem);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 190, 210, 0.13);
    line-height: 1.58;
}

.prod-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}

.prod-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    opacity: 0;
    will-change: transform, opacity;
    padding: 0.68rem 0.72rem;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(148, 190, 210, 0.12);
    border-radius: 6px;
}

.bullet-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(0, 212, 255, 0.1);
}

.bullet-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.bullet-text span {
    font-size: clamp(0.84rem, 1vw, 0.95rem);
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.45;
    display: block;
}

#outro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 5vw;
}

#outro h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, #EAF6FF, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#outro p {
    color: var(--text-muted);
    margin-top: 1.2rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* Removed scroll hint CSS */

@media (max-width: 1024px) {
    .prod-content {
        left: 51vw;
        right: auto;
        width: 44vw;
    }
}

@media (max-width: 768px) {
    #hero {
        height: auto;
        padding-top: 15vh;
        padding-bottom: 10vh;
    }

    .product-scene {
        height: auto !important;
        margin-bottom: 5vh;
    }

    .product-sticky {
        position: relative !important;
        height: auto !important;
        padding: 3rem 1.5rem;
        overflow: visible;
    }

    .prod-img-wrap {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
        left: 0 !important;
        top: 0 !important;
        margin-bottom: 2rem;
        border-radius: 8px !important;
    }

    .prod-title-wrap {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin-bottom: 2rem;
        white-space: normal;
    }

    .prod-content {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .prod-bullet {
        opacity: 1 !important;
        transform: none !important;
    }

    .prod-glow {
        display: none;
    }

    #hero-heading-fixed {
        display: none;
    }

    .scroll-hint {
        display: none;
    }
}

/* ─── PRODUCT CATALOG GRID ─── */
.product-catalog {
    display: none;
    position: relative;
    z-index: 10;
    padding: 9vh 5vw 12vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(0, 212, 255, 0.12), transparent 30%),
        radial-gradient(circle at 84% 80%, rgba(0, 255, 198, 0.08), transparent 34%),
        linear-gradient(135deg, #03080f 0%, #06141f 52%, #03080f 100%);
    border-top: 1px solid rgba(120, 170, 190, 0.14);
}

.product-catalog::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 82%);
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 82%);
}

.product-catalog-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 5vh;
}

.product-catalog-header span {
    font-family: 'JetBrains Mono';
    color: var(--col-sw);
    letter-spacing: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.product-catalog-header h2 {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 600;
    letter-spacing: 0;
    margin-top: 10px;
}

.product-catalog-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 2.4vw, 2.6rem);
    max-width: 1540px;
    margin: 0 auto;
}

#scene-strain {
    --accent-color: var(--secondary);
}

#scene-thermo {
    --accent: #2DD4BF;
    --accent-color: #2DD4BF;
}

#scene-lvdt {
    --accent-color: #B48FFF;
}

#scene-uni {
    --accent-color: #FFB347;
}

.product-catalog .product-scene {
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    background: linear-gradient(145deg, rgba(3, 8, 15, 0.76), rgba(11, 45, 69, 0.42));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    isolation: auto;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.product-catalog .product-scene:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.38), 0 0 42px rgba(0, 212, 255, 0.08);
}

.product-catalog .product-sticky {
    position: relative !important;
    top: auto;
    height: 100% !important;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
        "title title"
        "media specs";
    gap: 1.2rem;
    padding: clamp(1.1rem, 1.8vw, 1.5rem);
    overflow: visible;
    background: transparent;
}

.product-catalog .product-sticky::before {
    display: none;
}

.product-catalog .product-sticky::after {
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(255, 255, 255, 0.08), transparent);
}

.product-catalog .prod-glow {
    display: none;
}

.product-catalog .prod-title-wrap {
    grid-area: title;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 3;
    margin: 0;
    text-align: left;
    white-space: normal;
}

.product-catalog .prod-name {
    color: var(--accent-color) !important;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    margin-bottom: 0.25rem;
}

.product-catalog .prod-tagline {
    font-family: 'JetBrains Mono';
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-catalog .prod-img-wrap {
    grid-area: media;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.55;
    margin: 0;
    padding: 0.8rem;
    border-radius: 12px !important;
    background: linear-gradient(145deg, rgba(10, 22, 31, 0.98), rgba(3, 8, 15, 0.98));
}

.product-catalog .prod-content {
    grid-area: specs;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    align-self: stretch;
    padding: 1rem;
}

.product-catalog .prod-content .prod-sub {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
}

.product-catalog .prod-bullets {
    gap: 0.55rem;
}

.product-catalog .prod-bullet {
    opacity: 1 !important;
    transform: none !important;
    padding: 0.6rem 0.65rem;
}

.product-catalog .bullet-icon {
    width: 30px;
    height: 30px;
}

.product-catalog .bullet-text strong {
    font-size: 0.92rem;
}

.product-catalog .bullet-text span {
    font-size: 0.82rem;
}

@media (max-width: 1180px) {
    .product-catalog-grid {
        grid-template-columns: 1fr;
        max-width: 920px;
    }
}

@media (max-width: 700px) {
    .product-catalog {
        padding: 8vh 1.25rem 10vh;
    }

    .product-catalog-header span {
        letter-spacing: 4px;
        font-size: 11px;
    }

    .product-catalog .product-sticky {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "media"
            "specs";
    }
}


/* =========================================
   SECTION 3: CAPABILITIES & SERVICES
========================================= */
:root {
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --col-sw: #00eaff;
    --col-ee: #ff3c00;
    --col-em: #bd00ff;
    --col-cl: #0066ff;
    --col-ai: #ff007a;
    --col-si: #00ff88;
    --card-width: min(360px, 85vw);
    --card-gap: 40px;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
}


/* --- HORIZONTAL SCROLL SECTION --- */
.pin-container {
    position: relative;
    width: 100%;
    min-height: 84vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3vh 0 5vh;
}

@media (max-width: 768px) {
    .pin-container {
        height: auto;
        padding: 80px 0;
        overflow: visible;
    }
}

.header-wrap {
    text-align: center;
    z-index: 10;
    max-width: 980px;
    margin: 0 auto clamp(2rem, 4vh, 3rem);
    padding: 0 1.25rem;
}

.header-wrap span {
    font-family: 'JetBrains Mono';
    color: var(--col-sw);
    letter-spacing: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.header-wrap h1 {
    font-size: clamp(36px, 6vw, 72px);
    letter-spacing: 0;
    font-weight: 600;
    margin-top: 10px;
    padding: 0 15px;
}

.header-wrap p {
    max-width: 780px;
    margin: 1rem auto 0;
    color: var(--text-dim);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.65;
}

.showcase-track {
    display: flex;
    flex-wrap: nowrap; /* Keep horizontal for desktop */
    justify-content: center;
    gap: var(--card-gap);
    width: min(1680px, 100%);
    padding: 0 4vw;
    will-change: transform;
}

@media (max-width: 768px) {
    .showcase-track {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
        gap: 30px;
    }
}

.card {
    width: 100%;
    max-width: var(--card-width);
    min-height: 500px;
    background: linear-gradient(145deg, rgba(3, 8, 15, 0.7), rgba(11, 45, 69, 0.4));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.05) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.logo-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    color: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content .label {
    font-family: 'JetBrains Mono';
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.content h3 {
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.content p {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.pin-container .capability-points {
    display: grid;
    gap: 0.62rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.pin-container .capability-points li {
    position: relative;
    padding-left: 1rem;
    color: rgba(234, 246, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.45;
}

.pin-container .capability-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-color);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.tag {
    font-family: 'JetBrains Mono';
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.status-dot {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    transition: transform 0.4s ease;
}

.card:hover {
    border-color: var(--accent-color);
}

.card:hover .logo-box {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.card:hover .status-dot {
    transform: scale(1.5);
}

.card:hover h3 {
    color: var(--accent-color);
}

.card:hover .tag {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

@media (min-width: 769px) and (max-width: 1536px) {
    :root {
        --card-width: min(292px, 22vw);
        --card-gap: 22px;
    }

    .pin-container {
        min-height: 84vh;
        padding: 2.4vh 0 3.8vh;
    }

    .header-wrap {
        margin-bottom: clamp(1.6rem, 3vh, 2.4rem);
    }

    .header-wrap h1 {
        font-size: clamp(38px, 5.2vw, 64px);
    }

    .header-wrap p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .card {
        min-height: 448px;
        padding: 24px;
    }

    .logo-box {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
    }

    .content h3 {
        font-size: clamp(22px, 2.1vw, 27px);
        margin-bottom: 13px;
    }

    .content p {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .pin-container .capability-points {
        gap: 0.46rem;
        margin-bottom: 1rem;
    }

    .pin-container .capability-points li {
        font-size: 0.78rem;
        line-height: 1.38;
    }

    .tag {
        font-size: 0.72rem;
        padding: 0.45rem 0.72rem;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .pin-container {
        min-height: 100vh;
    }

    .showcase-track {
        flex-wrap: wrap;
        width: min(760px, 100%);
        padding: 0 1.25rem;
    }

    .card {
        max-width: min(340px, calc(50vw - 2.5rem));
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .card {
        min-height: 0;
        padding: 28px;
    }

    .header-wrap p {
        font-size: 0.98rem;
    }
}


/* =========================================
   SECTION 4: CONTACT SECTION (TAILWIND UTILS)
========================================= */
#contact {
    min-height: auto !important;
    padding: clamp(3rem, 6vh, 5rem) 1.5rem clamp(4rem, 7vh, 6rem) !important;
}

.contact-shell {
    max-width: 1080px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    overflow: hidden;
}

.body {
    background-color: #07223d;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* --- UNIFIED GLASS EFFECT --- */
.glass-panel {
    background: linear-gradient(145deg, rgba(3, 8, 15, 0.8), rgba(0, 212, 255, 0.05));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(6, 182, 212, 0.3);
    /* Cyan border on hover */
    background: rgba(255, 255, 255, 0.06);
}

.contact-main {
    min-width: 0;
}

.contact-side {
    min-width: 0;
    border-left: 1px solid rgba(120, 190, 210, 0.14);
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.06), rgba(3, 8, 15, 0.16));
}

.static-contact-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
}

.static-contact-kicker {
    width: fit-content;
    color: #2dd4bf;
    font-family: 'JetBrains Mono';
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.static-contact-panel h2 {
    margin: 0;
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 2.7vw, 2.7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.static-contact-panel p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.static-contact-actions {
    display: grid;
    gap: 0.8rem;
}

.enquiry-form {
    display: grid;
    gap: 0.95rem;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.form-field {
    display: grid;
    gap: 0.42rem;
}

.form-field span {
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.captcha-control {
    display: grid;
    grid-template-columns: minmax(92px, 0.65fr) minmax(0, 1fr) 44px;
    gap: 0.6rem;
    align-items: stretch;
}

.captcha-question {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.65rem 0.8rem;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 12px;
    background: rgba(3, 8, 15, 0.48);
}

.captcha-refresh {
    width: 44px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 12px;
    background: rgba(3, 8, 15, 0.48);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.captcha-refresh:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 191, 0.42);
    background: rgba(45, 212, 191, 0.08);
}

.static-contact-link {
    display: flex;
    align-items: center;
    gap: 0.78rem;
    min-height: 52px;
    padding: 0.85rem 1rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 12px;
    background: rgba(3, 8, 15, 0.42);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.static-contact-link i {
    color: #2dd4bf;
    flex: 0 0 auto;
}

.static-contact-link span {
    overflow-wrap: anywhere;
}

.static-contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 191, 0.42);
    background: rgba(45, 212, 191, 0.08);
}

@media (max-width: 760px) {
    .contact-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .contact-side {
        border-left: 0;
        border-top: 1px solid rgba(120, 190, 210, 0.14);
    }

    .enquiry-grid {
        grid-template-columns: 1fr;
    }

    .captcha-control {
        grid-template-columns: minmax(88px, 0.7fr) minmax(0, 1fr) 44px;
    }
}

@media (max-width: 430px) {
    .captcha-control {
        grid-template-columns: 1fr 44px;
    }

    .captcha-question {
        grid-column: 1 / -1;
    }
}

/* --- MINIMAL INPUTS --- */
.glass-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.glass-input::placeholder {
    color: rgba(148, 163, 184, 0.72);
}

select.glass-input {
    min-height: 52px;
    padding-right: 3rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
}

.glass-input option {
    color: #e2e8f0;
    background: #071522;
}

textarea.glass-input {
    min-height: 126px;
    resize: vertical;
}

.glass-input:focus {
    border-color: #06b6d4;
    /* Cyan focus */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-status {
    min-height: 1.4rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.form-status.success {
    color: #34d399;
}

.form-status.error {
    color: #fca5a5;
}

/* --- PREMIUM BUTTON --- */
.send-btn {
    width: 100%;
    padding: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    /* Tech Blue to Cyan */
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(6, 182, 212, 0.3);
}

.send-btn i {
    flex: 0 0 auto;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(6, 182, 212, 0.5);
}

.send-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

/* =========================================
   SECTION 5: UX ENHANCEMENTS
========================================= */

/* --- SCROLL PROGRESS BAR --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    z-index: 99998;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.8);
    transform-origin: left;
    will-change: width;
}

/* Ensure lenis doesn't break fixed backgrounds */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* =========================================
   SECTION 6: SITE FOOTER
========================================= */
#site-footer {
    background: #03080f;
    padding: clamp(60px, 8vh, 80px) 5vw 40px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--cyan);
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-muted);
}

/* Legal pages */
.legal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 212, 255, 0.12), transparent 34%),
        radial-gradient(circle at 86% 62%, rgba(45, 212, 191, 0.1), transparent 30%),
        #03080f;
    color: var(--text);
}

.legal-main {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: clamp(8rem, 14vh, 11rem) 0 clamp(4rem, 8vh, 6rem);
}

.legal-hero {
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.legal-hero h1 {
    margin: 0.8rem 0 0.7rem;
    color: var(--white);
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.legal-hero p {
    color: var(--text-muted);
    font-size: 1rem;
}

.legal-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 1.6vw, 1.35rem);
}

.legal-card {
    padding: clamp(1.1rem, 2vw, 1.5rem);
    border: 1px solid rgba(120, 190, 210, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(4, 13, 23, 0.92), rgba(11, 34, 49, 0.68)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 20px);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.legal-card h2 {
    margin: 0 0 0.8rem;
    color: var(--white);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    line-height: 1.18;
}

.legal-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-card p + p {
    margin-top: 0.85rem;
}

.legal-card a {
    color: var(--cyan);
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col.brand .made-in-india-badge {
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.72rem 0.82rem;
    }

    .footer-col.brand .made-in-india-badge img {
        width: 104px;
    }

    .footer-col.brand .made-in-india-badge span {
        max-width: none;
        font-size: 0.78rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-main {
        width: min(100% - 28px, 760px);
        padding-top: 7rem;
    }

    .legal-content {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   STRAINDAQ PRODUCT SEO PAGE
========================================= */
.product-page {
    background:
        radial-gradient(circle at 15% 10%, rgba(0, 212, 255, 0.16), transparent 30%),
        radial-gradient(circle at 82% 35%, rgba(255, 107, 53, 0.08), transparent 28%),
        linear-gradient(135deg, #02060d 0%, #06141f 48%, #03080f 100%);
}

.actuator-product-page {
    --secondary: #FF6B35;
    --accent: #39C8FF;
}

.unidaq-product-page {
    --secondary: #FFB347;
    --accent: #39C8FF;
}

.lvdt-product-page {
    --secondary: #B48FFF;
    --accent: #39C8FF;
}

.thermodaq-product-page {
    --secondary: #2DD4BF;
    --accent: #39C8FF;
}

.actuator-product-page .strain-hero-media {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 107, 53, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.88), rgba(55, 28, 16, 0.38));
}

.unidaq-product-page .strain-hero-media {
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 179, 71, 0.15), transparent 32%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.88), rgba(58, 43, 12, 0.35));
}

.unidaq-product-page .strain-hero-media img {
    aspect-ratio: 2.45;
}

.lvdt-product-page .strain-hero-media {
    background:
        radial-gradient(circle at 70% 18%, rgba(180, 143, 255, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.88), rgba(40, 31, 58, 0.4));
}

.lvdt-product-page .strain-hero-media img {
    aspect-ratio: 3.55;
}

.thermodaq-product-page .strain-hero-media {
    background:
        radial-gradient(circle at 70% 18%, rgba(45, 212, 191, 0.18), transparent 32%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.88), rgba(14, 54, 50, 0.4));
}

.thermodaq-product-page .strain-hero-media img {
    aspect-ratio: 1.45;
}

.product-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 170, 190, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 190, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
}

.product-page .product-header {
    position: fixed;
    height: 78px;
    background: rgba(3, 8, 15, 0.88);
    border-bottom: 1px solid rgba(0, 212, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.product-page .logo {
    opacity: 1;
    transform: none;
}

.product-page .nav-btn {
    letter-spacing: 0;
}

.product-logo-link {
    display: block;
}

.product-page main {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 78px;
}

.strain-hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
    padding: clamp(5rem, 8vh, 7rem) 0 clamp(3rem, 6vh, 5rem);
}

.strain-hero-copy {
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
}

.strain-hero h1,
.product-section h2,
.product-cta h2 {
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
}

.strain-hero h1 {
    margin: 1.1rem 0 1.4rem;
    font-size: clamp(2.6rem, 5.6vw, 5.8rem);
}

.strain-hero p,
.product-section p,
.product-cta p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.15vw, 1.16rem);
    line-height: 1.75;
}

.strain-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.primary-product-btn,
.secondary-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.9rem 1.15rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.primary-product-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #02060d;
    border: 1px solid transparent;
}

.secondary-product-btn {
    color: var(--text);
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.035);
}

.primary-product-btn:hover,
.secondary-product-btn:hover {
    transform: translateY(-2px);
}

.secondary-product-btn:hover {
    border-color: var(--secondary);
    background: rgba(0, 255, 198, 0.08);
}

.strain-hero-media {
    position: relative;
    padding: clamp(1rem, 2vw, 1.6rem);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 72% 20%, rgba(0, 255, 198, 0.14), transparent 32%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.88), rgba(11, 45, 69, 0.48));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.strain-hero-media::after {
    content: '';
    position: absolute;
    inset: auto 12% -12px;
    height: 24px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    filter: blur(16px);
}

.strain-hero-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1.72;
    object-fit: contain;
    border-radius: 12px;
    background: linear-gradient(145deg, #e9eef2, #ffffff);
}

.strain-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: clamp(3rem, 7vh, 6rem);
}

.strain-metrics article,
.spec-grid article,
.application-grid article,
.ui-panel {
    border: 1px solid rgba(0, 212, 255, 0.16);
    background: linear-gradient(145deg, rgba(4, 13, 23, 0.86), rgba(12, 31, 46, 0.66));
    border-radius: 12px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.strain-metrics article {
    padding: 1.35rem;
}

.strain-metrics strong {
    display: block;
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
}

.strain-metrics span {
    display: block;
    margin-top: 0.55rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.product-section {
    padding: clamp(3rem, 7vh, 6rem) 0;
    border-top: 1px solid rgba(120, 170, 190, 0.12);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.product-section h2,
.product-cta h2 {
    margin: 1rem 0 1.1rem;
    font-size: clamp(2rem, 4vw, 4.2rem);
}

.spec-grid,
.application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.spec-grid article,
.application-grid article {
    padding: 1.25rem;
}

.spec-grid i,
.application-grid i {
    color: var(--secondary);
}

.spec-grid h3,
.application-grid h3 {
    margin: 0.85rem 0 0.55rem;
    color: var(--white);
    font-size: 1.08rem;
}

.spec-grid p,
.application-grid p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 2rem;
}

.technical-spec-panel {
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 8%, rgba(0, 255, 198, 0.09), transparent 30%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.92), rgba(11, 45, 69, 0.5));
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.3);
}

.technical-spec-panel dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-spec-panel div {
    min-height: 132px;
    padding: 1.15rem;
    border-right: 1px solid rgba(148, 190, 210, 0.12);
    border-bottom: 1px solid rgba(148, 190, 210, 0.12);
}

.technical-spec-panel dt {
    margin-bottom: 0.55rem;
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.technical-spec-panel dd {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.62;
}

.ui-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    grid-template-areas:
        "dashboard trend"
        "dashboard settings";
    gap: 1rem;
}

.ui-panel {
    min-height: 270px;
    padding: 1.1rem;
    overflow: hidden;
}

.dashboard-panel {
    grid-area: dashboard;
}

.trend-panel {
    grid-area: trend;
}

.settings-panel {
    grid-area: settings;
}

.ui-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 190, 210, 0.16);
}

.ui-topline strong {
    color: var(--white);
    font-size: 1.15rem;
}

.ui-topline span {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem 0;
}

.channel-grid span,
.settings-grid span {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 8px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.channel-grid b {
    color: var(--accent);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
}

.ui-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.ui-nav span {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 190, 210, 0.28);
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.045);
}

.chart-lines {
    height: 210px;
    margin-top: 1rem;
    border: 1px solid rgba(148, 190, 210, 0.18);
    border-radius: 8px;
    background-image:
        linear-gradient(rgba(148, 190, 210, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 190, 210, 0.12) 1px, transparent 1px);
    background-size: 56px 42px;
}

.chart-lines svg {
    width: 100%;
    height: 100%;
}

.chart-lines path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
}

.chart-lines path + path {
    stroke: #ff7a1a;
    stroke-width: 2;
    opacity: 0.85;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.settings-grid span {
    min-height: 58px;
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.workflow-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 1.5vw, 1.45rem);
}

.workflow-image-card {
    min-width: 0;
    margin: 0;
    padding: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(3, 8, 15, 0.9), rgba(11, 45, 69, 0.48));
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.workflow-image-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.42);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34);
}

.workflow-feature {
    grid-column: span 2;
}

.workflow-image-card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 34px;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 800;
}

.workflow-image-card figcaption span {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}

.workflow-image-card figcaption strong {
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: contain;
    border: 1px solid rgba(148, 190, 210, 0.28);
    border-radius: 8px;
    background: #08101d;
}

.workflow-image-fallback {
    width: 100%;
    aspect-ratio: 5 / 3;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.75rem;
    padding: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(148, 190, 210, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(rgba(45, 212, 191, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.16), transparent 26%),
        #08101d;
    background-size: 22px 22px, 22px 22px, auto, auto;
}

.workflow-fallback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    color: var(--text);
    font-size: 0.78rem;
}

.workflow-fallback-header strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-fallback-header span {
    flex: 0 0 auto;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.workflow-fallback-body {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 0.45rem;
    min-height: 0;
}

.workflow-fallback-body i {
    display: block;
    border-radius: 7px;
    background: rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 0 0 1px rgba(148, 190, 210, 0.12);
}

.workflow-fallback-body i:nth-child(1) {
    grid-column: span 2;
}

.workflow-fallback-body i:nth-child(2) {
    grid-column: span 4;
}

.workflow-fallback-body i:nth-child(3) {
    grid-column: span 3;
    background: rgba(45, 212, 191, 0.16);
}

.workflow-fallback-body i:nth-child(4) {
    grid-column: span 3;
}

.workflow-fallback-body i:nth-child(5) {
    grid-column: span 6;
}

.workflow-fallback-body i:nth-child(6) {
    grid-column: span 4;
    background: rgba(14, 165, 233, 0.16);
}

.workflow-fallback-body i:nth-child(7) {
    grid-column: span 2;
}

.workflow-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
}

.workflow-card {
    min-width: 0;
    margin: 0;
}

.workflow-wide {
    grid-column: 1 / -1;
}

.workflow-card figcaption {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 800;
}

.workflow-card figcaption span {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}

.workflow-screen {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(148, 190, 210, 0.36);
    border-radius: 10px;
    background:
        linear-gradient(rgba(148, 190, 210, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 190, 210, 0.06) 1px, transparent 1px),
        #111a2b;
    background-size: 44px 44px, 44px 44px, auto;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 22px 54px rgba(0, 0, 0, 0.3);
}

.workflow-wide .workflow-screen {
    min-height: 460px;
}

.firmware-header,
.firmware-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 190, 210, 0.28);
}

.firmware-header strong,
.firmware-title strong {
    display: block;
    color: #f2f6ff;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.firmware-header small,
.firmware-title small {
    display: block;
    margin-top: 0.3rem;
    color: #9caabe;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.firmware-header > span,
.firmware-title > span {
    color: #39c8ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.firmware-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    flex: 1;
}

.firmware-channel-grid div {
    position: relative;
    min-height: 104px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.25rem;
    padding: 0.8rem 0.65rem 0.8rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 190, 210, 0.42);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.firmware-channel-grid em {
    position: absolute;
    left: 0.35rem;
    top: 0.55rem;
    bottom: 0.55rem;
    width: 4px;
    border-radius: 999px;
    background: #39c8ff;
}

.firmware-channel-grid div:nth-child(2) em,
.firmware-channel-grid div:nth-child(6) em {
    background: #20d36a;
}

.firmware-channel-grid div:nth-child(3) em {
    background: #ff7a1a;
}

.firmware-channel-grid div:nth-child(4) em {
    background: #d875ff;
}

.firmware-channel-grid div:nth-child(5) em {
    background: #ffd400;
}

.firmware-channel-grid div:nth-child(7) em {
    background: #ff6f9a;
}

.firmware-channel-grid div:nth-child(8) em {
    background: #35dfc9;
}

.firmware-channel-grid span,
.firmware-channel-grid small {
    color: #9caabe;
    font-size: 0.72rem;
}

.firmware-channel-grid strong {
    color: #39c8ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.4rem, 3.1vw, 2.3rem);
    line-height: 1;
}

.firmware-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.55rem, 1.8vw, 1rem);
    margin-top: 1rem;
}

.firmware-nav span,
.firmware-action-row button,
.firmware-stepper button,
.firmware-primary,
.firmware-keypad span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(148, 190, 210, 0.42);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #f2f6ff;
    font-weight: 900;
    text-transform: uppercase;
}

.firmware-chart {
    flex: 1;
    min-height: 210px;
    border: 1px solid rgba(148, 190, 210, 0.42);
    border-radius: 8px;
    background-image:
        linear-gradient(rgba(148, 190, 210, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 190, 210, 0.14) 1px, transparent 1px);
    background-size: 58px 42px;
}

.firmware-chart svg {
    width: 100%;
    height: 100%;
}

.firmware-chart path {
    fill: none;
    stroke: #39c8ff;
    stroke-width: 3;
    filter: drop-shadow(0 0 7px rgba(57, 200, 255, 0.35));
}

.firmware-select-grid,
.firmware-settings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.firmware-select-grid span {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #39c8ff;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: #e7eefb;
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: center;
}

.firmware-select-grid span:nth-child(2),
.firmware-select-grid span:nth-child(6) {
    border-color: #20d36a;
}

.firmware-select-grid span:nth-child(3) {
    border-color: #ff7a1a;
}

.firmware-select-grid span:nth-child(4) {
    border-color: #d875ff;
}

.firmware-select-grid span:nth-child(5) {
    border-color: #ffd400;
}

.firmware-select-grid span:nth-child(7) {
    border-color: #ff6f9a;
}

.firmware-select-grid span:nth-child(8) {
    border-color: #35dfc9;
}

.firmware-action-row {
    display: grid;
    grid-template-columns: 1fr minmax(130px, 0.35fr);
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.firmware-action-row strong,
.screen-control p {
    color: #39c8ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.firmware-action-row button,
.firmware-primary {
    border-color: transparent;
    background: #39b9ed;
    color: #02060d;
}

.firmware-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firmware-settings-grid span {
    position: relative;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.75rem 0.85rem 0.75rem 1.25rem;
    border: 1px solid rgba(148, 190, 210, 0.42);
    border-radius: 8px;
    color: #f2f6ff;
    font-weight: 900;
    text-transform: uppercase;
}

.firmware-settings-grid span::before {
    content: '';
    position: absolute;
    left: 0.55rem;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 4px;
    border-radius: 999px;
    background: #39c8ff;
}

.firmware-settings-grid small {
    color: #9caabe;
    font-size: 0.72rem;
    font-weight: 600;
}

.firmware-stepper,
.firmware-sampling-layout {
    display: grid;
    grid-template-columns: 0.55fr 1fr 0.55fr;
    gap: 1.5rem;
    align-items: center;
    margin: auto 0 0.9rem;
}

.firmware-stepper strong,
.firmware-rate-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    border: 1px solid #39c8ff;
    border-radius: 10px;
    color: #f2f6ff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.screen-control {
    text-align: center;
}

.screen-control p {
    margin: 0.2rem 0 0.9rem;
}

.firmware-primary {
    width: min(320px, 100%);
    margin: 0 auto;
    min-height: 54px;
}

.firmware-sampling-layout {
    grid-template-columns: minmax(170px, 0.75fr) 1fr;
    margin: auto 0 0;
}

.firmware-rate-box {
    min-height: 86px;
    color: #ffffff;
    border-color: #ff7a1a;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.firmware-keypad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.firmware-keypad span:nth-last-child(3) {
    background: #8f2323;
    border-color: rgba(255, 255, 255, 0.16);
}

.firmware-keypad span:last-child {
    background: #ff7a1a;
    border-color: #ff7a1a;
    color: #02060d;
}

.seo-copy-section {
    max-width: 980px;
}

.product-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    margin: clamp(2rem, 5vh, 4rem) 0;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(0, 255, 198, 0.22);
    border-radius: 16px;
    background:
        radial-gradient(circle at 20% 10%, rgba(0, 255, 198, 0.11), transparent 32%),
        linear-gradient(145deg, rgba(3, 8, 15, 0.9), rgba(11, 45, 69, 0.62));
}

.product-footer .footer-container {
    grid-template-columns: 2fr 1fr 1.5fr;
}

@media (max-width: 1100px) {
    .strain-hero,
    .split-section,
    .product-cta {
        grid-template-columns: 1fr;
    }

    .workflow-image-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .technical-spec-panel dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strain-hero {
        min-height: auto;
    }

    .product-cta {
        align-items: start;
    }
}

@media (max-width: 860px) {
    .product-page main {
        width: min(100% - 28px, 760px);
    }

    .strain-metrics,
    .spec-grid,
    .application-grid,
    .ui-showcase,
    .workflow-gallery {
        grid-template-columns: 1fr;
    }

    .workflow-wide {
        grid-column: auto;
    }

    .ui-showcase {
        grid-template-areas:
            "dashboard"
            "trend"
            "settings";
    }

    .channel-grid,
    .firmware-channel-grid,
    .firmware-select-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .firmware-sampling-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .product-page .product-header {
        position: sticky;
        height: auto;
        min-height: 72px;
    }

    .product-page .logo {
        top: 18px;
        left: 16px;
        height: 34px;
    }

    .product-page .top-nav {
        position: static;
        height: auto;
        width: 100%;
        transform: none;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.6rem;
        padding: 70px 14px 14px;
        overflow-x: auto;
        background: transparent;
    }

    .product-page .nav-btn {
        min-width: max-content;
        font-size: 0.8rem;
        padding: 0.7rem 0.85rem;
    }

    .product-page main {
        padding-top: 0;
    }

    .strain-hero {
        padding-top: 3rem;
    }

    .strain-hero-actions {
        flex-direction: column;
    }

    .primary-product-btn,
    .secondary-product-btn {
        width: 100%;
    }

    .workflow-screen,
    .workflow-wide .workflow-screen {
        min-height: auto;
    }

    .firmware-header,
    .firmware-title {
        flex-direction: column;
    }

    .firmware-header > span,
    .firmware-title > span {
        text-align: left;
    }

    .channel-grid,
    .firmware-channel-grid,
    .firmware-select-grid,
    .firmware-settings-grid,
    .firmware-action-row,
    .firmware-stepper {
        grid-template-columns: 1fr;
    }

    .workflow-image-gallery {
        grid-template-columns: 1fr;
    }

    .technical-spec-panel dl {
        grid-template-columns: 1fr;
    }

    .technical-spec-panel div {
        min-height: 0;
    }

    .workflow-feature {
        grid-column: auto;
    }

    .workflow-image-card figcaption {
        align-items: flex-start;
        flex-direction: column;
    }

    .workflow-image-card figcaption strong {
        text-align: left;
        white-space: normal;
    }

    .product-footer .footer-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE OPTIMIZATION PASS
========================================= */
@media (max-width: 900px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        background:
            radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.12), transparent 34rem),
            linear-gradient(180deg, #02060d 0%, #05141f 100%);
    }

    section {
        scroll-margin-top: 82px;
    }

    #site-header {
        position: fixed;
        height: 68px;
        background: rgba(3, 8, 15, 0.88);
        border-bottom: 1px solid rgba(0, 212, 255, 0.12);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    #site-header.scrolled {
        transform: none;
    }

    .logo {
        top: 17px;
        left: 16px;
        height: 34px;
        opacity: 1;
        transform: none;
    }

    .hamburger {
        display: flex;
        top: 18px;
        right: 16px;
        width: 42px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(120, 190, 210, 0.18);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.035);
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .top-nav {
        top: 68px;
        right: 12px;
        width: min(260px, calc(100vw - 24px));
        height: auto;
        min-height: 0;
        display: grid;
        gap: 0.55rem;
        padding: 0.75rem;
        border: 1px solid rgba(120, 190, 210, 0.18);
        border-radius: 12px;
        background: rgba(3, 8, 15, 0.96);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
    }

    .top-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-btn {
        min-height: 44px;
        width: 100%;
        justify-content: center;
        padding: 0.82rem 1rem;
        font-size: 0.82rem;
        letter-spacing: 0.04em;
    }

    .product-page #site-header.product-header {
        position: sticky;
        height: auto;
        min-height: 72px;
        transform: none;
    }

    .product-page .hamburger {
        display: none;
    }

    .product-page .top-nav {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.55rem;
        padding: 68px 14px 12px;
        overflow-x: auto;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scrollbar-width: none;
    }

    .product-page .top-nav::-webkit-scrollbar {
        display: none;
    }

    .product-page .nav-btn {
        width: auto;
        min-width: max-content;
        padding: 0.7rem 0.85rem;
        font-size: 0.78rem;
    }

    .product-page main {
        padding-top: 0;
    }

    #main-hero-wrapper {
        width: 100vw !important;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        height: auto !important;
        min-height: 100svh;
        padding: 0;
    }

    .hero-content {
        width: 100%;
        max-width: 100vw;
        height: auto;
        min-height: 100svh;
        justify-content: center;
        align-items: flex-start;
        padding: 6.25rem 1.15rem 4.5rem;
        overflow: visible;
        transform: none;
    }

    .hero-kicker {
        font-size: 1.08rem;
        opacity: 1;
        transform: none;
    }

    .title {
        width: min(100%, 640px);
        max-width: calc(100vw - 2rem);
        margin-top: 0.65rem;
        font-size: clamp(2.65rem, 12vw, 4rem);
        line-height: 0.96;
        overflow-wrap: normal;
        opacity: 1;
        transform: none;
    }

    .subtitle {
        width: min(100%, 620px);
        max-width: calc(100vw - 2rem);
        margin: 1rem 0 1.15rem;
        padding: 0;
        font-size: 0.95rem;
        line-height: 1.55;
        letter-spacing: 0;
        opacity: 1;
        transform: none;
    }

    .hero-product-strip {
        width: 100%;
        gap: 0.45rem;
        margin-bottom: 1.15rem;
        opacity: 1;
        transform: none;
    }

    .hero-product-strip a {
        min-height: 34px;
        padding: 0.48rem 0.66rem;
        font-size: 0.76rem;
    }

    .hero-custom-engineering {
        width: 100%;
        min-height: 0;
        margin-bottom: 1rem;
        padding: 0.82rem 0.9rem;
        opacity: 1;
        transform: none;
    }

    .hero-custom-engineering span {
        font-size: 0.72rem;
    }

    .hero-custom-engineering strong {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-bottom: 1.15rem;
    }

    .btn {
        width: 100%;
        max-width: calc(100vw - 2rem);
        min-height: 52px;
        padding: 0.95rem 1.15rem;
        font-size: 0.78rem;
        letter-spacing: 0;
        opacity: 1;
        transform: none;
    }

    .hero-secondary-cta {
        width: 100%;
        min-height: 50px;
        padding: 0.9rem 1rem;
        font-size: 0.78rem;
        opacity: 1;
        transform: none;
    }

    .waves-container {
        bottom: -0.7rem;
        width: 100%;
        height: 23vh;
        opacity: 0.68;
    }

    .flow-pulse {
        top: 50%;
    }

    .flow-pulse-b {
        top: 59%;
    }

    .flow-pulse-c {
        top: 43%;
    }

    #hero {
        min-height: 0;
        padding: 4.25rem 1rem 4.75rem;
    }

    .solutions-heading {
        margin-bottom: 1.45rem;
    }

    .header-wrap {
        padding: 0;
    }

    .header-wrap span,
    .product-catalog-header span {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
    }

    #hero-heading,
    .header-wrap h1,
    .customers-header h2,
    .problem-statement-copy h2,
    .logging-copy h2,
    .precision-actuator-copy h2 {
        font-size: 2.45rem;
        line-height: 1.05;
    }

    .solution-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .solution-card {
        min-height: 0;
        padding: 1rem;
        border-radius: 12px;
    }

    .solution-media {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.55;
        padding: 0.65rem;
        border-radius: 10px;
    }

    .solution-media img {
        max-height: 100%;
    }

    .solution-content {
        padding-top: 0.9rem;
    }

    .solution-content .label {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .solution-content h3 {
        margin-top: 0.55rem;
        font-size: 1.55rem;
    }

    .solution-content p {
        min-height: 0;
        margin-top: 0.65rem;
        font-size: 0.93rem;
        line-height: 1.48;
    }

    .tag-row {
        gap: 0.5rem;
        margin-top: 0.85rem;
    }

    .tag {
        min-height: 36px;
        padding: 0.55rem 0.7rem;
        font-size: 0.72rem;
    }

    .solution-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .card-page-link,
    .card-brochure-link,
    .inline-brochure-link {
        min-height: 44px;
        justify-content: center;
    }

    .inline-product-details {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .inline-details-close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .inline-details-media {
        min-height: 0;
        aspect-ratio: 1.65;
    }

    .inline-details-copy h2 {
        font-size: 1.9rem;
        line-height: 1.08;
    }

    .logging-software-section,
    .precision-actuator-section,
    .customers-section,
    .problem-statement-section {
        padding: 4rem 1rem;
    }

    .logging-copy {
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "copy"
            "features";
        gap: 1rem;
    }

    .logging-intro {
        justify-self: stretch;
        max-width: none;
    }

    .logging-actions {
        order: 2;
    }

    .software-cta-wide,
    .software-cta-primary,
    .software-cta-secondary {
        width: 100%;
        min-height: 54px;
        padding: 0.95rem 1rem;
        font-size: 0.95rem;
    }

    .logging-feature-grid,
    .customers-header,
    .problem-statement-card,
    .precision-actuator-shell {
        grid-template-columns: 1fr;
    }

    .logging-feature-grid {
        gap: 0.7rem;
        margin-top: 0.65rem;
    }

    .logging-feature-grid article {
        min-height: 0;
    }

    .logging-visual {
        margin-top: 1.5rem;
        padding: 0.75rem;
    }

    .logger-flow {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .logger-stream {
        min-height: 54px;
        transform: none;
    }

    .software-panel {
        min-height: 220px;
    }

    .precision-actuator-copy p,
    .customers-header p,
    .problem-statement-copy p,
    .logging-intro p {
        font-size: 1rem;
        line-height: 1.62;
    }

    .precision-actuator-metrics {
        gap: 0.6rem;
        margin: 1rem 0 1.15rem;
    }

    .precision-actuator-metrics article {
        min-height: 72px;
        padding: 0.75rem;
    }

    .precision-actuator-metrics strong {
        font-size: 1.35rem;
    }

    .precision-actuator-cta,
    .problem-statement-cta {
        width: 100%;
        min-height: 52px;
    }

    .precision-actuator-visual {
        padding: 0.7rem;
        border-radius: 12px;
    }

    .actuator-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.66rem;
    }

    .actuator-bench {
        min-height: 0;
        padding: 0.8rem;
    }

    .actuator-stage {
        width: 100%;
        max-width: none;
        height: 148px;
    }

    .actuator-signal-panel {
        padding: 0.75rem;
    }

    .actuator-signal-panel strong {
        font-size: 1.35rem;
    }

    .actuator-signal-panel .actuator-load-chart {
        min-height: 180px;
    }

    .precision-actuator-scope {
        gap: 0.7rem;
        margin-top: 0.9rem;
    }

    .precision-actuator-scope article {
        min-height: 0;
        padding: 0.9rem;
    }

    .customer-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .customer-logo-card {
        min-height: 205px;
        padding: 0.85rem;
    }

    .customer-logo-mark {
        min-height: 88px;
        padding: 0.65rem;
    }

    .customer-logo-mark img {
        max-height: 58px;
    }

    .problem-statement-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .problem-statement-flow {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .contact-shell {
        width: min(100%, 720px);
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    #contact {
        min-height: 0;
        padding: 4rem 1rem 4.5rem !important;
    }

    .contact-main,
    .static-contact-panel {
        padding: 1.25rem !important;
    }

    .static-contact-panel h2 {
        font-size: 2rem;
        line-height: 1.08;
    }

    #site-footer {
        padding: 3.5rem 1rem 2rem;
    }

    .footer-container,
    .product-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 720px;
    }

    .footer-col ul li {
        font-size: 0.92rem;
    }

    .footer-bottom {
        max-width: 720px;
        margin: 2.5rem auto 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.9rem;
        text-align: left;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 0.9rem 1.25rem;
    }

    .legal-main {
        width: min(100% - 28px, 760px);
        padding-top: 7rem;
    }

    .legal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    #main-hero-wrapper {
        padding: 0;
    }

    .hero-content {
        padding: 5.8rem 1rem 3.65rem;
    }

    .title {
        width: 100%;
        font-size: clamp(2.45rem, 12vw, 3.25rem);
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 0;
    }

    .waves-container {
        bottom: -0.45rem;
        width: 100%;
        height: 21vh;
        opacity: 0.62;
    }

    .hero-product-strip a {
        font-size: 0.72rem;
    }

    .hero-custom-engineering strong {
        font-size: 0.8rem;
    }

    #hero-heading,
    .header-wrap h1,
    .customers-header h2,
    .problem-statement-copy h2,
    .logging-copy h2,
    .precision-actuator-copy h2,
    .legal-hero h1 {
        font-size: 2rem;
    }

    .solution-track,
    .customer-logo-grid,
    .precision-actuator-metrics,
    .precision-actuator-scope,
    .strain-metrics,
    .spec-grid,
    .application-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: 0.9rem;
    }

    .solution-media {
        aspect-ratio: 1.42;
    }

    .tag-row {
        grid-template-columns: 1fr;
    }

    .inline-product-details.open {
        margin-top: 1rem;
    }

    .logging-software-section,
    .precision-actuator-section,
    .customers-section,
    .problem-statement-section {
        padding: 3.25rem 1rem;
    }

    .actuator-stage {
        height: 132px;
    }

    .moving-carriage {
        width: 82px;
        height: 64px;
    }

    .moving-carriage span {
        font-size: 0.62rem;
    }

    .actuator-signal-panel .actuator-load-chart {
        min-height: 156px;
    }

    .customer-logo-card {
        min-height: 190px;
    }

    .product-page main {
        width: min(100% - 28px, 760px);
    }

    .strain-hero {
        padding: 2.8rem 0 2.5rem;
    }

    .strain-hero h1 {
        font-size: 2.25rem;
    }

    .product-section h2,
    .product-cta h2 {
        font-size: 1.9rem;
    }

    .product-cta {
        padding: 1rem;
    }
}

@media (max-width: 380px) {
    .title {
        width: 100%;
        font-size: 2.32rem;
    }

    #hero-heading,
    .header-wrap h1,
    .customers-header h2,
    .problem-statement-copy h2,
    .logging-copy h2,
    .precision-actuator-copy h2 {
        font-size: 1.8rem;
    }

    .solution-content h3 {
        font-size: 1.38rem;
    }

    .btn,
    .hero-secondary-cta,
    .software-cta-primary,
    .software-cta-secondary,
    .precision-actuator-cta,
    .problem-statement-cta {
        font-size: 0.78rem;
    }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
