/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --bg-dark: #0a0a0f;
    --bg-dark-secondary: #12121a;
    --bg-dark-tertiary: #1a1a24;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.1);

    /* Primary Colors - RED THEME */
    --primary-color: #ef4444;
    --primary-dark: #dc2626;
    --primary-light: #f87171;
    --secondary-color: #f97316;
    --accent-color: #fb923c;
    --accent-pink: #f43f5e;
    --accent-purple: #ec4899;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --text-muted: #52525b;

    /* Gradients - RED THEME */
    --gradient-primary: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #fb923c 100%);
    --gradient-secondary: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --gradient-accent: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, #ef4444 0px, transparent 50%),
                     radial-gradient(at 80% 0%, #dc2626 0px, transparent 50%),
                     radial-gradient(at 0% 50%, #f43f5e 0px, transparent 50%),
                     radial-gradient(at 80% 50%, #f97316 0px, transparent 50%),
                     radial-gradient(at 0% 100%, #fb923c 0px, transparent 50%);

    /* Shadows & Glows - RED THEME */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(239, 68, 68, 0.5);
    --glow-secondary: 0 0 20px rgba(249, 115, 22, 0.5);
    --glow-accent: 0 0 20px rgba(251, 146, 60, 0.5);

    /* Grid - RED THEME */
    --grid-color: rgba(239, 68, 68, 0.15);
}

html,
body {
    width: 100%;
    max-width: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.loading {
    overflow: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.45rem;
}

.loader-mark {
    position: relative;
    width: 172px;
    height: 172px;
    display: grid;
    place-items: center;
}

.loader-mark::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.16), transparent 55%),
        radial-gradient(circle at 50% 10%, rgba(239, 68, 68, 0.12), transparent 48%);
    filter: blur(8px);
    opacity: 0.9;
    animation: loaderAuraPulse 2.8s ease-in-out infinite;
}

.loader-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.22);
    pointer-events: none;
}

.loader-orbit--outer {
    inset: 8px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.48);
    animation: loaderOrbitRotate 7.2s linear infinite;
}

.loader-orbit--inner {
    inset: 30px;
    border-color: rgba(148, 163, 184, 0.22);
    border-style: dashed;
    animation: loaderOrbitRotateReverse 5.2s linear infinite;
}

.loader-core {
    position: relative;
    width: 112px;
    height: 68px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(7, 16, 26, 0.98), rgba(17, 27, 46, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow:
        0 18px 42px rgba(2, 6, 23, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.3);
    animation: loaderCoreLift 2.8s ease-in-out infinite;
}

.loader-core__beam {
    position: absolute;
    inset: -4px auto -4px -42%;
    width: 44%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(191, 219, 254, 0.52), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    mix-blend-mode: screen;
    animation: loaderBeamSweep 2.35s ease-in-out infinite;
}

.loader-logo {
    position: relative;
    z-index: 1;
    width: 86px;
    height: auto;
    filter:
        drop-shadow(0 0 14px rgba(191, 219, 254, 0.18))
        drop-shadow(0 10px 22px rgba(2, 6, 23, 0.3));
}

.loader-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dbeafe;
    box-shadow:
        0 0 0 6px rgba(96, 165, 250, 0.08),
        0 0 18px rgba(147, 197, 253, 0.42);
    transform: translate(-50%, -50%) rotate(var(--loader-node-angle, 0deg)) translateX(78px);
    transform-origin: center;
    will-change: transform, opacity;
    animation: loaderNodeOrbit 1.45s linear infinite;
}

.loader-node--one {
    --loader-node-angle: 0deg;
    animation-delay: 0s;
}

.loader-node--two {
    --loader-node-angle: 120deg;
    animation-delay: -0.48s;
}

.loader-node--three {
    --loader-node-angle: 240deg;
    animation-delay: -0.96s;
}

@keyframes loaderOrbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loaderOrbitRotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes loaderNodeOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(var(--loader-node-angle, 0deg)) translateX(78px) scale(0.84);
        opacity: 0.4;
    }
    18% {
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) rotate(calc(var(--loader-node-angle, 0deg) + 180deg)) translateX(78px) scale(1);
        opacity: 0.92;
    }
    82% {
        opacity: 0.78;
    }
    100% {
        transform: translate(-50%, -50%) rotate(calc(var(--loader-node-angle, 0deg) + 360deg)) translateX(78px) scale(0.84);
        opacity: 0.4;
    }
}

@keyframes loaderCoreLift {
    0%,
    100% {
        transform: translateY(0);
        box-shadow:
            0 18px 42px rgba(2, 6, 23, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 0 0 1px rgba(15, 23, 42, 0.3);
    }
    50% {
        transform: translateY(-3px);
        box-shadow:
            0 24px 50px rgba(2, 6, 23, 0.46),
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            0 0 0 1px rgba(37, 99, 235, 0.16);
    }
}

@keyframes loaderAuraPulse {
    0%,
    100% {
        opacity: 0.64;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

@keyframes loaderBeamSweep {
    0%,
    18% {
        transform: translateX(0) skewX(-18deg);
        opacity: 0;
    }
    35% {
        opacity: 0.9;
    }
    68% {
        transform: translateX(320%) skewX(-18deg);
        opacity: 0.4;
    }
    100% {
        transform: translateX(360%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes loaderNodePulse {
    0%,
    100% {
        opacity: 0.48;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.16);
    }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.loader-text__brand {
    font-size: 1.52rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.loader-text__status {
    color: rgba(191, 219, 254, 0.76);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Sophisticated Circuit Background */
.circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #0a0a0f;
}

#circuitCanvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

/* Spotlight Effect - RED THEME */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(239, 68, 68, 0.15),
        transparent 40%
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.spotlight::before {
    opacity: 1;
}

/* Scroll Progress Bar - RED THEME */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 7.75rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.15s ease;
    z-index: 10001;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(239, 68, 68, 0.5);
    transition: all 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-dot.visible,
.cursor-outline.visible {
    opacity: 1;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(249, 115, 22, 0.8);
}

/* Desktop cursor behavior (native cursor, custom cursor elements are disabled) */
@media (min-width: 768px) {
    body {
        cursor: auto;
    }

    a,
    button,
    .service-card,
    .solution-card,
    .demo-feature-card {
        cursor: pointer;
    }
}

/* Glassmorphism Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.glass-nav {
    background: transparent;
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 88px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    flex-shrink: 0;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    background: transparent !important;
    display: block;
    border-radius: 8px;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    width: 100%;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-contact:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.55);
    color: #ffffff !important;
}

.glow-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white !important;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.36);
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.3);
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.5s ease;
}

.glow-btn:hover::before {
    left: 100%;
}

.glow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.38);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section with 3D Elements */
.hero {
    position: relative;
    min-height: 100svh;
    padding: 7.25rem 0 2rem;
    overflow: hidden;
    background: transparent;
}

.hero > .container {
    display: flex;
    align-items: stretch;
    min-height: calc(100svh - 9.25rem);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.dark-section {
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    min-height: 100%;
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: end;
    row-gap: 1.35rem;
}

.hero-primary-stack {
    align-self: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glass Badge */
.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    color: var(--text-secondary);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Kinetic Typography - Enhanced */
.kinetic-text {
    font-size: 5.1rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.03em; /* Tighter tracking for modern look */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.kinetic-text .word {
    display: inline-block;
    margin: 0 0.15rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.kinetic-text .word:nth-child(1) { animation-delay: 0.1s; }
.kinetic-text .word:nth-child(2) { animation-delay: 0.2s; }
.kinetic-text .word:nth-child(3) { animation-delay: 0.3s; }
.kinetic-text .word:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-built-for {
    position: relative;
    display: grid;
    justify-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0.5em auto 0;
    font-size: 0.54em;
    line-height: 1.12;
    white-space: nowrap;
    padding: 0.04em 0 0.12em;
}

.hero-built-for__sizer,
.hero-built-for__line {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.14em;
    white-space: nowrap;
    min-height: 1.1em;
}

.hero-built-for__sizer {
    visibility: hidden;
    user-select: none;
    pointer-events: none;
}

.hero-built-for__line {
    position: relative;
}

.hero-built-for__prefix {
    color: rgba(248, 250, 252, 0.82);
    font-weight: 700;
    font-size: 0.7em;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.hero-built-for__sizer-word,
.hero-built-for__dynamic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.08em;
    font-size: 0.7em;
    line-height: 1.08;
    overflow: visible;
}

.hero-built-for__sizer-word {
    display: inline-block;
}

.hero-built-for__word {
    display: inline-block;
    min-height: 1.08em;
    white-space: nowrap;
    text-align: center;
    line-height: 1.08;
    padding-bottom: 0;
    background: linear-gradient(135deg, #f8fbff 0%, #c7d2fe 26%, #93c5fd 68%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    filter: drop-shadow(0 0 16px rgba(96, 165, 250, 0.16));
    animation: gradientShift 10s ease infinite;
}

.hero-built-for__cursor {
    width: 2px;
    align-self: center;
    height: 0.82em;
    margin-left: 0.1em;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.92), rgba(59, 130, 246, 0.72));
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.34);
    animation: heroTypeCursorBlink 1s step-end infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes heroTypeCursorBlink {
    0%, 48% {
        opacity: 1;
    }
    49%, 100% {
        opacity: 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.65;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: -0.011em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3.7rem;
    margin-bottom: 3.3rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stats {
    width: 100%;
    align-self: end;
    transform: translateY(-72px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.34);
    border: 1px solid rgba(148, 163, 184, 0.34);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transform: translate(-50%, -50%);
    transition: width 0.35s, height 0.35s;
}

.btn-primary:hover::before {
    width: 140px;
    height: 140px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.42);
}

.hero-primary-cta {
    position: relative;
    min-width: min(512px, 96vw);
    min-height: 94px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.58rem 3.9rem;
    border-radius: 24px;
    border: 2px solid rgba(248, 113, 113, 0.42);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
    color: #fff;
    box-shadow:
        0 24px 50px rgba(2, 6, 23, 0.42),
        0 12px 28px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(248, 113, 113, 0.2),
        0 0 44px rgba(239, 68, 68, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    isolation: isolate;
}

.hero-primary-cta::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    width: auto;
    height: auto;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 46%),
        linear-gradient(90deg, rgba(239, 68, 68, 0.26), rgba(59, 130, 246, 0.18));
    transform: none;
    opacity: 0.94;
    transition: opacity 0.3s ease, filter 0.3s ease;
    pointer-events: none;
    animation: heroCtaSurfacePulse 2.8s ease-in-out infinite;
}

.hero-primary-cta::after {
    content: '';
    position: absolute;
    inset: -28px;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.26), rgba(239, 68, 68, 0));
    opacity: 0.64;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
    animation: heroCtaGlowPulse 2.8s ease-in-out infinite;
}

.hero-primary-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(248, 113, 113, 0.5);
    box-shadow:
        0 28px 56px rgba(2, 6, 23, 0.46),
        0 12px 28px rgba(15, 23, 42, 0.34),
        0 0 52px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-primary-cta:hover::before {
    width: auto;
    height: auto;
    opacity: 1;
    filter: saturate(1.08);
}

.hero-primary-cta:focus-visible {
    outline: 2px solid rgba(148, 197, 255, 0.92);
    outline-offset: 3px;
}

.hero-primary-cta__label {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
    justify-self: center;
    font-size: 1.72rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes heroCtaSurfacePulse {
    0%, 100% {
        opacity: 0.94;
    }
    50% {
        opacity: 0.76;
    }
}

@keyframes heroCtaGlowPulse {
    0%, 100% {
        opacity: 0.64;
    }
    50% {
        opacity: 0.44;
    }
}

.hero-primary-cta:hover::before,
.hero-primary-cta:focus-visible::before,
.hero-primary-cta:hover::after,
.hero-primary-cta:focus-visible::after {
    animation-play-state: paused;
}

.hero-scroll-indicator {
    justify-self: center;
    align-self: end;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: rgba(226, 232, 240, 0.74);
    text-decoration: none;
    padding: 0.35rem 0.5rem calc(0.2rem + env(safe-area-inset-bottom));
    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
    animation: fadeInUp 0.8s ease-out 0.85s backwards;
}

.hero-scroll-indicator:hover {
    color: rgba(248, 250, 252, 0.94);
    transform: translateY(2px);
}

.hero-scroll-indicator__mouse {
    width: 24px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.38);
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 7px;
    background: rgba(255, 255, 255, 0.03);
}

.hero-scroll-indicator__wheel {
    width: 4px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(148, 163, 184, 0.66));
    animation: heroScrollWheel 1.9s ease-in-out infinite;
}

.hero-scroll-indicator__arrow {
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.78;
}

@keyframes heroScrollWheel {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    55% {
        transform: translateY(9px);
        opacity: 0.18;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-built-for__word,
    .hero-built-for__cursor,
    .loader-orbit,
    .loader-core,
    .loader-mark::before,
    .loader-core__beam,
    .loader-node {
        animation: none;
    }

    .hero-built-for__cursor {
        opacity: 0.72;
    }
}

.glass-btn {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-btn:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-1px);
}

/* Bento Grid Stats */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.stat-card {
    position: relative;
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-rows: 40px minmax(64px, auto) minmax(34px, auto);
    align-items: center;
    justify-items: center;
    gap: 0.85rem;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    min-height: 216px;
}

.hero-stat-cta {
    width: 100%;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.hero-stat-cta:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.86);
    outline-offset: 3px;
    border-color: rgba(147, 197, 253, 0.46);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
}

.stat-card.is-hero-active {
    transform: translateY(-6px);
    border-color: rgba(248, 113, 113, 0.72);
    box-shadow:
        0 12px 34px rgba(239, 68, 68, 0.24),
        0 0 0 1px rgba(248, 113, 113, 0.28),
        0 0 28px rgba(239, 68, 68, 0.2);
}

.stat-card.is-hero-active::before {
    opacity: 1;
}

.stat-card.is-hero-active .stat-icon-svg {
    transform: scale(1.14) translateY(-2px);
    opacity: 0.96;
    filter: drop-shadow(0 0 14px rgba(248, 113, 113, 0.48));
}

.stat-card.is-hero-active .stat-number {
    filter: drop-shadow(0 0 18px rgba(248, 113, 113, 0.16));
}

.stat-card.is-hero-active .stat-label {
    color: rgba(248, 250, 252, 0.92);
    opacity: 0.98;
}

.stat-number {
    font-size: clamp(1.35rem, 1.05rem + 0.8vw, 1.8rem);
    font-weight: 700;
    color: #c7d5e6;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: border-box;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    display: block;
    width: auto;
    max-width: 14ch;
    margin: 0 auto;
    padding-inline: 0.1rem;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    text-wrap: balance;
    hyphens: none;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.08);
}

.stat-number-stack {
    display: grid;
    grid-template-rows: auto auto auto;
    justify-items: center;
    align-content: center;
    gap: 0.12rem;
    min-height: 4.5rem;
}

.stat-number-stack > span {
    display: block;
}

.stat-plus {
    font-size: 1.1rem;
    line-height: 1;
    color: #f97316;
    text-shadow:
        0 0 10px rgba(249, 115, 22, 0.18),
        0 0 20px rgba(239, 68, 68, 0.08);
}

.stat-number .percent {
    font-size: 2rem;
    opacity: 0.9;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
    text-align: center;
    width: 100%;
    line-height: 1.45;
    max-width: 16ch;
    margin: 0 auto;
    text-wrap: balance;
}

.stat-icon {
    font-size: 1.5rem;
    opacity: 0.6;
}

.stat-icon-svg {
    width: 34px;
    height: 34px;
    color: var(--primary-red);
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(239, 68, 68, 0.2));
}

.stat-card:hover .stat-icon-svg {
    transform: scale(1.15) translateY(-2px);
    opacity: 0.9;
    filter: drop-shadow(0 4px 10px rgba(239, 68, 68, 0.35));
}

.stat-unit {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
}

/* 3D Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatAround 25s infinite ease-in-out;
}

.element-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ef4444 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.element-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #dc2626 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -8s;
}

.element-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -15s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-dark-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f8fafc;
    background: none;
    -webkit-text-fill-color: currentColor;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.011em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
}

/* Animated gradient border effect */
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: none;
}

@keyframes rotateBorder {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.service-card:hover::before {
    opacity: 0;
}

/* Inner glow effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.34);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.3);
    background: rgba(15, 23, 42, 0.64);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-card:hover .service-features li {
    color: var(--text-primary);
}

/* Full-height section rhythm */
.hero,
.solutions,
.technology {
    min-height: 100svh;
}

/* Custom Development Section */
.solutions {
    --solutions-pad-y: clamp(3.5rem, 5vw, 4.75rem);
    min-height: auto;
    padding: var(--solutions-pad-y) 0;
    background:
        radial-gradient(circle at 18% 42%, rgba(37, 99, 235, 0.16), transparent 31%),
        radial-gradient(circle at 82% 18%, rgba(239, 68, 68, 0.12), transparent 22%),
        linear-gradient(180deg, #04070d 0%, #07101a 100%);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.05) 42%, transparent 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 38%);
    pointer-events: none;
}

.custom-development-shell {
    position: relative;
    z-index: 1;
    min-height: calc(100svh - (var(--solutions-pad-y) * 2));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.custom-development-visual {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1;
    margin-inline: auto;
}

.custom-development-visual--interactive {
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.24s ease, filter 0.24s ease;
}

.custom-development-visual--interactive:hover,
.custom-development-visual--interactive:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.04);
    outline: none;
}

.custom-development-visual--interactive::after {
    content: "OPEN INTAKE";
    position: absolute;
    left: 50%;
    bottom: 7.5%;
    transform: translate(-50%, 10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.32);
    background: rgba(15, 23, 42, 0.86);
    color: #dbeafe;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.22);
}

.custom-development-visual--interactive:hover::after,
.custom-development-visual--interactive:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.custom-development-visual--interactive:hover .custom-development-core,
.custom-development-visual--interactive:focus-visible .custom-development-core {
    border-color: rgba(147, 197, 253, 0.38);
    box-shadow:
        0 22px 44px rgba(2, 6, 23, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 0 1px rgba(59, 130, 246, 0.14);
}

.custom-development-frame-label {
    position: absolute;
    top: 11%;
    left: 24%;
    color: #dbeafe;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.custom-development-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.12);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.custom-development-orbit--outer {
    width: 100%;
    height: 100%;
}

.custom-development-orbit--middle {
    width: 72%;
    height: 72%;
    border-color: rgba(59, 130, 246, 0.18);
}

.custom-development-orbit--inner {
    width: 38%;
    height: 38%;
    border-color: rgba(148, 163, 184, 0.18);
}

.custom-development-network {
    position: absolute;
    inset: 12% 10%;
    width: 80%;
    height: 80%;
    overflow: visible;
    isolation: isolate;
}

.custom-dev-link {
    fill: none;
    stroke: rgba(148, 163, 184, 0.22);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-dev-link--highlight {
    stroke-width: 2.2;
    opacity: var(--highlight-opacity, 0.12);
}

.custom-dev-highlight-layer {
    filter: url(#customDevGlow);
}

.custom-dev-traveler-trail {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: rgba(147, 197, 253, 0.38);
    stroke-width: 1.8;
    mix-blend-mode: screen;
    opacity: 0;
    filter: drop-shadow(0 0 3px rgba(147, 197, 253, 0.1));
}

.custom-dev-traveler-glow,
.custom-dev-traveler-dot {
    opacity: 0;
    pointer-events: none;
}

.custom-dev-traveler-glow {
    fill: rgba(191, 219, 254, 0.1);
    filter: url(#customDevNodeGlow);
}

.custom-dev-traveler-dot {
    fill: rgba(239, 246, 255, 0.56);
    stroke: rgba(191, 219, 254, 0.18);
    stroke-width: 0.55;
    filter: drop-shadow(0 0 3px rgba(239, 246, 255, 0.12));
}

.custom-development-visual.is-motion-active .custom-dev-traveler-trail,
.custom-development-visual.is-motion-active .custom-dev-traveler-glow,
.custom-development-visual.is-motion-active .custom-dev-traveler-dot {
    opacity: 1;
}

.custom-development-visual.is-motion-active .custom-dev-link--highlight {
    opacity: var(--highlight-opacity, 0.04);
}

.custom-dev-dot {
    fill: rgba(226, 232, 240, 0.76);
    stroke: rgba(148, 163, 184, 0.34);
    stroke-width: 1.15;
}

.custom-dev-dot--active {
    fill: #e2e8f0;
    transform-box: fill-box;
    transform-origin: center;
    animation: customDevNodePulse 4.2s ease-in-out infinite;
    animation-delay: var(--node-delay, 0s);
    animation-play-state: paused;
}

.custom-development-visual.is-motion-active .custom-dev-dot--active {
    animation-play-state: running;
}

.custom-dev-dot--core {
    fill: #f8fafc;
    transform-box: fill-box;
    transform-origin: center;
    animation: customDevCorePulse 4.8s ease-in-out infinite;
    animation-play-state: paused;
}

.custom-development-visual.is-motion-active .custom-dev-dot--core {
    animation-play-state: running;
}

.custom-development-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 172px;
    height: 86px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(7, 16, 26, 0.98), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow:
        0 18px 40px rgba(2, 6, 23, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.18rem;
    text-align: center;
}

.custom-development-core span {
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.custom-development-label {
    position: absolute;
    color: rgba(226, 232, 240, 0.78);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.custom-development-label::before {
    color: #60a5fa;
}

.custom-development-label--web {
    top: 26%;
    left: 14%;
}

.custom-development-label--mobile {
    top: 70%;
    left: 14%;
}

.custom-development-label--api {
    top: 17%;
    right: 14%;
}

.custom-development-label--ai {
    top: 34%;
    right: 8%;
}

.custom-development-label--vision {
    top: 52%;
    right: 5%;
}

.custom-development-label--edge {
    top: 66%;
    right: 16%;
}

.custom-development-label--automation {
    bottom: 12%;
    right: 22%;
}

.custom-development-label--data {
    bottom: 10%;
    left: 29%;
}

.custom-development-label--ops {
    top: 46%;
    left: 5%;
}

.custom-development-content {
    max-width: 640px;
}

.custom-development-content .section-tag {
    margin-bottom: 1.2rem;
}

.section-tag--button {
    appearance: none;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.section-tag--button:hover,
.section-tag--button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(147, 197, 253, 0.46);
    background: rgba(30, 41, 59, 0.82);
    color: #ffffff;
    outline: none;
}

.custom-development-pill {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0.9rem 1.3rem;
    margin-bottom: 1.45rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.34);
    background: rgba(29, 78, 216, 0.14);
    color: #bfdbfe;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.custom-development-content .section-title {
    max-width: 13ch;
    margin-bottom: 1.3rem;
    font-size: clamp(2.55rem, 4vw, 4.45rem);
    line-height: 0.98;
}

.custom-development-content .section-description {
    max-width: 30ch;
    color: rgba(226, 232, 240, 0.82);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.7;
}

.custom-development-points {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin: 2.2rem 0 2.5rem;
    padding: 0;
}

.custom-development-points li {
    position: relative;
    padding-left: 2.2rem;
    color: rgba(226, 232, 240, 0.88);
    font-size: 1rem;
    line-height: 1.7;
}

.custom-development-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: #60a5fa;
    font-size: 1.2rem;
    font-weight: 800;
}

.custom-development-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.3rem;
    align-items: center;
}

.custom-development-cta {
    min-width: min(100%, 280px);
}

.custom-development-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #93c5fd;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.24s ease, transform 0.24s ease;
}

.custom-development-link::after {
    content: "→";
    transition: transform 0.24s ease;
}

.custom-development-link:hover {
    color: #dbeafe;
}

.custom-development-link:hover::after {
    transform: translateX(4px);
}

@keyframes customDevNodePulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

@keyframes customDevCorePulse {
    0%,
    100% {
        opacity: 0.94;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.14);
    }
}

@media (max-width: 1140px) {
    .custom-development-shell {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2.75rem;
    }

    .custom-development-visual,
    .custom-development-content {
        width: 100%;
        max-width: 620px;
    }

    .custom-development-content {
        justify-self: center;
    }

    .custom-development-content .section-title,
    .custom-development-content .section-description {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .solutions {
        --solutions-pad-y: 2.85rem;
        padding: var(--solutions-pad-y) 0;
    }

    .custom-development-visual {
        width: min(100%, 430px);
    }

    .custom-development-frame-label {
        top: 10%;
        left: 20%;
        font-size: 0.82rem;
    }

    .custom-development-core {
        width: 146px;
        height: 74px;
    }

    .custom-development-core span {
        font-size: 0.76rem;
    }

    .custom-development-label {
        font-size: 0.76rem;
    }

    .custom-development-content .section-title {
        font-size: clamp(2.15rem, 10.2vw, 3.1rem);
    }

    .custom-development-pill {
        min-height: 46px;
        padding: 0.72rem 1rem;
        font-size: 0.74rem;
        letter-spacing: 0.1em;
    }

    .custom-development-visual--interactive::after {
        bottom: 4%;
        min-height: 32px;
        padding-inline: 0.8rem;
        font-size: 0.66rem;
    }

    .custom-development-points {
        gap: 0.85rem;
        margin: 1.8rem 0 2rem;
    }

    .custom-development-points li {
        padding-left: 1.85rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 560px) {
    .custom-development-visual {
        width: min(100%, 360px);
    }

    .custom-development-frame-label {
        left: 17%;
        top: 8%;
        letter-spacing: 0.12em;
    }

    .custom-development-label {
        font-size: 0.67rem;
    }

    .custom-development-label--web {
        top: 25%;
        left: 9%;
    }

    .custom-development-label--mobile {
        top: 70%;
        left: 10%;
    }

    .custom-development-label--api {
        right: 10%;
    }

    .custom-development-label--ai {
        right: 4%;
    }

    .custom-development-label--vision {
        right: 2%;
    }

    .custom-development-label--edge {
        right: 10%;
    }

    .custom-development-label--automation {
        right: 15%;
        bottom: 13%;
    }

    .custom-development-label--data {
        left: 25%;
    }

    .custom-development-label--ops {
        left: 1%;
    }

    .custom-development-actions {
        align-items: stretch;
    }

    .custom-development-actions .btn,
    .custom-development-link {
        width: 100%;
        justify-content: center;
    }
}

/* Technology Section - Redesigned */
.technology {
    padding: 8rem 0;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.38);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.35);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.4s ease;
}

.tech-card:hover .tech-card-icon {
    transform: scale(1.05);
    background: rgba(148, 163, 184, 0.12);
}

.tech-card-icon svg {
    width: 26px;
    height: 26px;
}

.tech-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.tech-category-tag {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    opacity: 0.7;
}

/* Tech Filter Buttons */
.tech-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(148, 163, 184, 0.42);
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.55);
    color: #f8fafc;
}

.tech-results-summary {
    margin: 0.85rem auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.tech-gem-hint {
    margin: 0.3rem auto 0;
    text-align: center;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.tech-results-summary {
    margin: 0.85rem auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.tech-grid-actions {
    display: none;
    justify-content: center;
    margin-top: 1.4rem;
}

.tech-grid-actions .btn {
    min-width: 190px;
}

.tech-card-icon.tech-gem-trigger {
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.tech-card-icon.tech-gem-trigger::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.9);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
    z-index: 2;
}

.tech-card-icon.tech-gem-trigger:hover,
.tech-card-icon.tech-gem-trigger:focus-visible {
    border-color: rgba(148, 163, 184, 0.62);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
    outline: none;
}

.tech-gem-modal {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: grid;
    place-items: center;
}

.tech-gem-modal[hidden] {
    display: none;
}

.tech-gem-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
}

.tech-gem-modal-dialog {
    position: relative;
    width: min(720px, calc(100vw - 2rem));
    max-height: calc(100vh - 4rem);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(3, 8, 20, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    box-shadow: 0 20px 56px rgba(2, 6, 23, 0.56);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tech-gem-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.tech-gem-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.tech-gem-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}

.tech-gem-icon svg {
    width: 24px;
    height: 24px;
}

.tech-gem-kicker {
    margin: 0 0 0.2rem;
    color: rgba(203, 213, 225, 0.84);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tech-gem-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1rem, 2.6vw, 1.22rem);
}

.tech-gem-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(30, 41, 59, 0.72);
    color: #e2e8f0;
    line-height: 1;
    font-size: 1.45rem;
    cursor: pointer;
}

.tech-gem-close-btn:hover,
.tech-gem-close-btn:focus-visible {
    background: rgba(51, 65, 85, 0.9);
    outline: none;
}

.tech-gem-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 1rem 0.5rem;
}

.tech-gem-tab {
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(15, 23, 42, 0.64);
    color: rgba(226, 232, 240, 0.9);
    border-radius: 10px;
    padding: 0.5rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.tech-gem-tab.is-active {
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(59, 130, 246, 0.46);
    color: #fff;
}

.tech-gem-body {
    padding: 0.8rem 1rem 0.35rem;
    overflow: auto;
}

.tech-gem-panel {
    display: none;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.tech-gem-panel.is-active {
    display: block;
}

.tech-gem-oneliner {
    margin: 0 0 0.7rem;
    color: #e2e8f0;
    font-weight: 600;
}

.tech-gem-usecases-intro {
    margin: 0 0 0.55rem;
    color: #cbd5e1;
    font-size: 0.86rem;
}

.tech-gem-usecases-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.tech-gem-usecases-list li {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.56);
    border-radius: 10px;
    padding: 0.55rem 0.66rem;
    color: #e2e8f0;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Hidden gem cleanup pass: compact two-section modal */
.tech-gem-modal-dialog {
    width: min(640px, calc(100vw - 2rem));
    max-height: calc(100vh - 3rem);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(165deg, rgba(11, 18, 32, 0.97), rgba(7, 12, 24, 0.98));
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.52);
}

.tech-gem-modal-header {
    padding: 0.9rem 1rem 0.78rem;
}

.tech-gem-tabs {
    display: none !important;
}

.tech-gem-body {
    padding: 0.95rem 1rem 0.45rem;
    display: grid;
    gap: 0.7rem;
}

.tech-gem-oneliner {
    margin: 0;
    color: #dbeafe;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.tech-gem-section {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.42);
    padding: 0.65rem 0.72rem;
}

.tech-gem-section h4 {
    margin: 0 0 0.34rem;
    color: #e2e8f0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.tech-gem-section p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.55;
}

.tech-gem-usecases-list {
    display: grid;
    gap: 0.44rem;
}

.tech-gem-usecases-list li {
    padding: 0.5rem 0.62rem;
    font-size: 0.86rem;
    line-height: 1.42;
}

.tech-gem-footer {
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 0.78rem 1rem 1rem;
}

.tech-gem-cta-btn {
    min-width: 170px;
}

.tech-gem-outcome {
    margin-top: 0.7rem;
    color: #93c5fd;
    font-weight: 600;
}

.tech-gem-proof-title {
    margin: 0 0 0.6rem;
    color: #f8fafc;
    font-size: 0.98rem;
    font-weight: 700;
}

.tech-gem-visual {
    margin-bottom: 0.65rem;
}

.tech-gem-visual-card {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.78);
    padding: 0.68rem;
}

.tech-gem-code {
    margin: 0;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.9);
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0.72rem 0.78rem;
    overflow-x: auto;
}

.tech-gem-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.tech-gem-back-link {
    border-color: rgba(148, 163, 184, 0.28);
}

.tech-gem-cta-btn {
    min-width: 200px;
}

.tech-gem-cta-btn.btn.btn-primary {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(148, 163, 184, 0.4) !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}

.tech-gem-cta-btn.btn.btn-primary:hover,
.tech-gem-cta-btn.btn.btn-primary:focus-visible {
    background: rgba(51, 65, 85, 0.95) !important;
    border-color: rgba(148, 163, 184, 0.7) !important;
}

.tech-gem-visual-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    color: #cbd5e1;
    font-size: 0.76rem;
}

.tech-gem-badge {
    color: #34d399;
    font-weight: 700;
}

.tech-gem-loss-svg polyline {
    fill: none;
    stroke: #22d3ee;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tech-gem-detect-frame {
    position: relative;
    height: 120px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.96));
}

.tech-gem-detect-frame .box {
    position: absolute;
    border: 1px solid rgba(34, 211, 238, 0.72);
    border-radius: 8px;
    padding: 0.16rem 0.34rem;
    font-size: 0.66rem;
    color: #e0f2fe;
    background: rgba(2, 132, 199, 0.16);
}

.tech-gem-detect-frame .box-a { top: 14px; left: 20px; }
.tech-gem-detect-frame .box-b { bottom: 18px; right: 24px; }

.tech-gem-topic-graph {
    position: relative;
    height: 120px;
}

.tech-gem-topic-graph .node {
    position: absolute;
    width: 80px;
    height: 28px;
    border-radius: 999px;
    font-size: 0.66rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(167, 139, 250, 0.55);
    color: #ede9fe;
    background: rgba(76, 29, 149, 0.35);
}

.tech-gem-topic-graph .n1 { left: 6px; top: 44px; }
.tech-gem-topic-graph .n2 { left: 120px; top: 18px; }
.tech-gem-topic-graph .n3 { left: 120px; top: 72px; }
.tech-gem-topic-graph .n4 { right: 6px; top: 44px; }
.tech-gem-topic-graph .edge {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(167, 139, 250, 0.25), rgba(167, 139, 250, 0.85));
}
.tech-gem-topic-graph .e1 { left: 84px; top: 58px; width: 50px; transform: rotate(-26deg); }
.tech-gem-topic-graph .e2 { left: 84px; top: 62px; width: 50px; transform: rotate(26deg); }
.tech-gem-topic-graph .e3 { left: 200px; top: 60px; width: 70px; }

.tech-gem-bars .bar-row {
    display: grid;
    grid-template-columns: 56px 1fr 48px;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.45rem;
    font-size: 0.74rem;
    color: #cbd5e1;
}

.tech-gem-bars .bar {
    height: 10px;
    border-radius: 999px;
    display: block;
}

.tech-gem-bars .before { width: 92%; background: #f87171; }
.tech-gem-bars .after { width: 28%; background: #34d399; }

.tech-gem-stream p {
    margin: 0.22rem 0;
    padding: 0.38rem 0.5rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 0.75rem;
    color: #e2e8f0;
}

.tech-gem-waterfall .wf-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.52rem;
    margin-bottom: 0.35rem;
    border-radius: 8px;
    background: rgba(51, 65, 85, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    font-size: 0.75rem;
}

.tech-gem-cluster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
}

.tech-gem-cluster .pod {
    padding: 0.46rem 0.52rem;
    border-radius: 8px;
    font-size: 0.72rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.tech-gem-cluster .pod.ok {
    background: rgba(16, 185, 129, 0.2);
    color: #d1fae5;
}

.tech-gem-cluster .pod.warn {
    background: rgba(245, 158, 11, 0.2);
    color: #fef3c7;
}

.tech-gem-visual-fallback {
    margin: 0;
    color: #94a3b8;
    font-size: 0.78rem;
}

body.tech-gem-modal-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    body.tech-gem-modal-open,
    body.tech-gem-modal-open a,
    body.tech-gem-modal-open button,
    body.tech-gem-modal-open .service-card,
    body.tech-gem-modal-open .solution-card,
    body.tech-gem-modal-open .tech-card {
        cursor: auto !important;
    }
}

body.tech-gem-modal-open .cursor-dot,
body.tech-gem-modal-open .cursor-outline,
body.tech-gem-modal-open .custom-cursor,
body.tech-gem-modal-open .custom-cursor-dot {
    display: none !important;
}

@media (max-width: 768px) {
    .tech-gem-modal {
        align-items: flex-end;
        padding: 0.6rem;
    }

    .tech-gem-modal-dialog {
        width: 100%;
        max-height: min(88vh, 760px);
        border-radius: 16px;
    }

    .tech-gem-tabs {
        flex-wrap: wrap;
    }

    .tech-gem-tab {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 130px;
    }

    .tech-gem-footer {
        flex-direction: column;
    }

    .tech-gem-cta-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tech-gem-visual-card *,
    .tech-gem-topic-graph .edge,
    .tech-gem-topic-graph .node,
    .tech-gem-bars .bar {
        animation: none !important;
        transition: none !important;
    }
}

/* Responsive Tech Grid */
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 0.9rem;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .tech-card {
        padding: 1rem 0.75rem;
    }

    .tech-card-icon {
        width: 38px;
        height: 38px;
    }

    .tech-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .tech-card h4 {
        font-size: 0.75rem;
    }

    .tech-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .tech-results-summary {
        font-size: 0.82rem;
    }

    .tech-grid-actions {
        margin-top: 1.1rem;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .tech-card {
        padding: 0.85rem 0.5rem;
    }

    .tech-card h4 {
        font-size: 0.7rem;
    }

    .tech-category-tag {
        font-size: 0.6rem;
    }
}

/* Context Engine Visualization */
.context-engine {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.context-visualization {
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 3rem;
    margin-top: 4rem;
    min-height: 500px;
    position: relative;
}

.context-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.column-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', monospace;
}

/* Input Items */
.context-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.context-item:hover {
    opacity: 1;
}

.item-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', monospace;
}

.item-dots {
    display: flex;
    gap: 0.4rem;
}

.item-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.item-dots .dot.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Center Canvas Area */
.context-center {
    position: relative;
    display: flex;
    flex-direction: column;
}

#contextCanvas {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.context-files {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.file-tag {
    position: absolute;
    background: #10b981;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    animation: fileFloat 3s ease-in-out infinite;
}

.file-tag[data-file="billing"] {
    top: 25%;
    left: 30%;
    animation-delay: 0s;
}

.file-tag[data-file="stripe"] {
    top: 45%;
    left: 45%;
    animation-delay: 0.5s;
}

.file-tag[data-file="slack"] {
    top: 35%;
    right: 25%;
    animation-delay: 1s;
}

.file-tag[data-file="notifications"] {
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes fileFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Output Items */
.context-outputs {
    gap: 2rem;
}

.output-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.output-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    flex-shrink: 0;
}

.output-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.context-stats {
    margin-top: auto;
    padding-top: 2rem;
}

.stat-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', monospace;
    margin-bottom: 0.75rem;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stat-fill {
    width: 15%;
    height: 100%;
    background: #10b981;
    border-radius: 2px;
    animation: statGrow 2s ease-out;
}

@keyframes statGrow {
    from {
        width: 0%;
    }
    to {
        width: 15%;
    }
}

.context-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.5;
    font-family: 'Space Grotesk', monospace;
}

/* Responsive */
@media (max-width: 1024px) {
    .context-visualization {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .context-inputs,
    .context-outputs {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .context-item,
    .output-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .context-engine {
        padding: 4rem 0;
    }

    #contextCanvas {
        height: 350px;
    }

    .file-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-content--compact p {
    max-width: 620px;
    margin-bottom: 1.1rem;
    font-size: 1.02rem;
    line-height: 1.55;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-chat-only {
    max-width: 760px;
    margin: 0 auto;
}

.cta-chat-only .cta-buttons {
    margin-top: 1.25rem;
}

.cta-chat-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #94a3b8;
}

.case-study-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin: 0 auto 1.35rem;
    max-width: 1100px;
}

.case-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.95rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.case-card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.12);
}

.case-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #f8fafc;
}

.case-card p {
    margin: 0;
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.case-card-link {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

.case-card-link:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.cta-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bfdbfe;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
}

.contact-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 auto 2rem;
    max-width: 980px;
}

.trust-item {
    padding: 1rem;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.trust-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #f8fafc;
    font-size: 0.95rem;
}

.trust-item span {
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.45;
}

.contact-next-steps {
    max-width: 980px;
    margin: 0 auto 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.next-step {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.9rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
}

.next-step-index {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #dbeafe;
    flex-shrink: 0;
}

.next-step strong {
    display: block;
    font-size: 0.9rem;
    color: #f8fafc;
}

.next-step span {
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.45;
}

.contact-form-card {
    margin: 1rem auto 0;
    max-width: 980px;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(10px);
    padding: 1.3rem;
}

.contact-form-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    color: #f8fafc;
}

.contact-form-card p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.contact-form-intro {
    max-width: 54rem;
}

.contact-lead-form {
    display: flex;
    flex-direction: column;
    gap: 0.82rem;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.contact-form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-hear-about {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.46);
    padding: 0.72rem;
}

.contact-hear-about-label {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #dbeafe;
    letter-spacing: 0.02em;
}

.contact-hear-about-label span {
    color: #94a3b8;
    font-weight: 500;
}

.contact-hear-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
}

.contact-hear-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.46rem 0.42rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-hear-option svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.contact-hear-option:hover {
    border-color: rgba(147, 197, 253, 0.6);
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-1px);
}

.contact-hear-option:focus-visible {
    outline: none;
    border-color: rgba(147, 197, 253, 0.75);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.contact-hear-option.is-selected {
    border-color: rgba(59, 130, 246, 0.72);
    background: rgba(30, 64, 175, 0.23);
    color: #eff6ff;
}

.contact-hear-other {
    margin-top: 0.62rem;
}

.contact-lead-form input,
.contact-lead-form select,
.contact-lead-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.contact-lead-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-lead-form input::placeholder,
.contact-lead-form select::placeholder,
.contact-lead-form textarea::placeholder {
    color: #94a3b8;
}

.contact-lead-form input:focus,
.contact-lead-form select:focus,
.contact-lead-form textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.contact-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form-action-buttons {
    display: inline-flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.contact-form-action-buttons .btn {
    white-space: nowrap;
}

.contact-schedule-note {
    margin: -0.25rem 0 0.15rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.contact-consent {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #cbd5e1;
    font-size: 0.84rem;
    line-height: 1.45;
}

.contact-consent input {
    width: auto;
    margin-top: 0.15rem;
}

.contact-form-status {
    min-height: 1.2rem;
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.contact-form-status.is-success {
    color: #34d399;
}

.contact-form-status.is-error {
    color: #fca5a5;
}

.contact-form-status.is-warn {
    color: #facc15;
}

.mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9985;
    display: none;
    gap: 0.6rem;
    padding: 0.7rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.mobile-contact-btn {
    flex: 1;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.72rem 0.8rem;
}

.mobile-contact-btn.primary {
    color: #fff;
    background: linear-gradient(135deg, #1f2937, #374151);
    border: 1px solid rgba(148, 163, 184, 0.38);
}

.mobile-contact-btn.secondary {
    color: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-demo-cta-band {
    display: none;
}

.mobile-demo-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.mobile-demo-cta-band p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .logo-icon {
    width: 104px;
    height: 56px;
}

.footer-brand p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .case-study-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: calc(198px + env(safe-area-inset-bottom));
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: 100svh;
        padding: 7rem 0 1.5rem;
    }

    .hero > .container {
        min-height: calc(100svh - 8.5rem);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-built-for {
        margin-top: 0.28em;
        font-size: 0.56em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 2.85rem;
        margin-bottom: 3.15rem;
    }

    .hero-stats {
        transform: translateY(-14px);
    }

    .hero-primary-cta {
        width: min(100%, 448px);
        min-height: 84px;
        padding: 1.38rem 2.4rem;
    }

    .hero-primary-cta__label {
        font-size: 1.38rem;
    }

    .hero-scroll-indicator {
        padding-bottom: calc(0.35rem + env(safe-area-inset-bottom));
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .case-study-strip {
        grid-template-columns: 1fr;
        margin-bottom: 1.1rem;
    }

    .contact-trust-strip {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-next-steps {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .contact-form-card {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .cta-content--compact p {
        margin-bottom: 0.9rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-hear-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hear-option {
        justify-content: flex-start;
        padding-inline: 0.65rem;
    }

    .contact-form-actions {
        align-items: flex-start;
    }

    .contact-form-action-buttons {
        margin-left: 0;
        width: 100%;
    }

    .mobile-contact-bar {
        display: flex;
    }

    .mobile-demo-cta-band {
        display: block;
        position: sticky;
        top: 72px;
        z-index: 960;
        background: rgba(2, 6, 23, 0.92);
        border-top: 1px solid rgba(239, 68, 68, 0.24);
        border-bottom: 1px solid rgba(239, 68, 68, 0.24);
        backdrop-filter: blur(8px);
        padding: 0.68rem 0;
    }

    .mobile-demo-cta-band .btn {
        white-space: nowrap;
        padding: 0.58rem 0.9rem;
        font-size: 0.82rem;
    }

    .cta {
        padding-bottom: 9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .kinetic-text {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-built-for {
        margin-top: 0.3em;
        font-size: 0.52em;
    }

    .hero-primary-cta {
        min-width: 0;
        width: min(100%, 404px);
        min-height: 76px;
        padding: 1.22rem 1.7rem;
    }

    .hero-primary-cta__label {
        font-size: 1.22rem;
        letter-spacing: 0.065em;
    }

    .hero-stats {
        transform: translateY(-8px);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 198px;
        padding: 1.9rem 1.2rem;
        grid-template-rows: 36px minmax(52px, auto) minmax(28px, auto);
        gap: 0.65rem;
    }

    .stat-number {
        font-size: 1.62rem;
        max-width: 10ch;
    }

    .stat-label {
        font-size: 0.72rem;
        letter-spacing: 0.11em;
    }

    .service-card,
    .solution-card {
        padding: 1.5rem;
    }

    .contact-hear-options {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Counter Animation */
.counter {
    transition: all 0.5s ease;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00de;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
    }
    20% {
        clip: rect(70px, 9999px, 71px, 0);
    }
    40% {
        clip: rect(30px, 9999px, 91px, 0);
    }
    60% {
        clip: rect(90px, 9999px, 20px, 0);
    }
    80% {
        clip: rect(50px, 9999px, 60px, 0);
    }
    100% {
        clip: rect(10px, 9999px, 85px, 0);
    }
}

/* Neon glow effect - RED THEME */
.neon {
    animation: neon 1.5s ease-in-out infinite alternate;
}

@keyframes neon {
    from {
        text-shadow:
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #fff,
            0 0 40px #ef4444,
            0 0 70px #ef4444,
            0 0 80px #ef4444,
            0 0 100px #ef4444,
            0 0 150px #ef4444;
    }
    to {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 15px #fff,
            0 0 20px #ef4444,
            0 0 35px #ef4444,
            0 0 40px #ef4444,
            0 0 50px #ef4444,
            0 0 75px #ef4444;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    background-size: 1000px 100%;
}

/* ===================================
   ENGINEERING SHOWCASE - SIGNAL PROCESSOR
   =================================== */

.engineering-showcase {
    padding: var(--space-8) 0;
    padding-bottom: var(--space-9);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.signal-processor-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.processor-canvas-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
    min-height: 220px;
}

#signalCanvas {
    display: block;
    width: 100%;
    height: 220px;
}

.processor-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(10, 10, 15, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(239, 68, 68, 0.15);
    backdrop-filter: blur(10px);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    transition: all 0.3s ease;
}

.control-group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.control-value {
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.control-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.control-slider:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
}

.control-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.control-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.9), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.control-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--transition-smooth);
}

.control-slider::-moz-range-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.9), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.control-unit {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    text-align: right;
    font-weight: 600;
}

.signal-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
}

.signal-btn {
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.signal-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.signal-btn.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Control Select Dropdown */
.control-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.control-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
}

.control-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.control-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Control Button */
.control-button {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.control-button:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.control-button:active {
    transform: translateY(0);
}

.control-button svg {
    transition: transform 0.3s ease;
}

.control-button:hover svg {
    transform: rotate(180deg);
}

.processor-info {
    grid-column: 1 / -1;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.info-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.info-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Design for Signal Processor */
@media (max-width: 1024px) {
    .engineering-showcase {
        padding: var(--space-7) 0;
        padding-bottom: var(--space-8);
    }

    .signal-processor-container {
        gap: 1rem;
        padding: 1.25rem;
    }

    .processor-controls {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }

    .processor-canvas-wrapper {
        min-height: 200px;
    }

    #signalCanvas {
        height: 200px;
    }

    .signal-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .processor-controls {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        padding: 1rem;
    }

    .processor-canvas-wrapper {
        min-height: 180px;
    }

    #signalCanvas {
        height: 180px;
    }

    .control-group {
        padding: 0.75rem;
    }

    .signal-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .processor-canvas-wrapper {
        min-height: 160px;
    }

    #signalCanvas {
        height: 160px;
    }

    .signal-buttons {
        grid-template-columns: 1fr;
    }
}



/* ============================================
   ADVANCED ANIMATIONS - 2025
   ============================================ */

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Custom cursor */
.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

/* Enhanced card hover effects */
.service-card,
.project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Parallax layers */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Glow pulse effect */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
    }
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(239, 68, 68, 0.2) 50%,
        transparent 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Bounce in animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Slide in from sides */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}


/* ============================================
   INTERACTIVE ELEMENTS - 2025
   ============================================ */

/* Custom Tooltip */
.custom-tooltip {
    position: fixed;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -100%) translateY(-10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

.custom-tooltip.show {
    opacity: 1;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(15, 23, 42, 0.95);
}


/* ============================================
   PERFORMANCE OPTIMIZATIONS - 2025
   ============================================ */

/* Reduce motion for accessibility */
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Low performance mode */
.low-performance .custom-cursor,
.low-performance .custom-cursor-dot {
    display: none;
}

.low-performance .parallax {
    transform: none !important;
}

/* Pause animations when tab is hidden */
body.paused * {
    animation-play-state: paused !important;
}

/* Lazy loading placeholder */
img[data-src],
iframe[data-src] {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img.loaded,
iframe.loaded {
    animation: none;
    background: none;
}

/* GPU acceleration for smooth animations */
.service-card,
.project-card,
.chat-window,
.custom-cursor {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Contain layout shifts */
.hero,
.services,
.projects {
    contain: layout style paint;
}

/* ============================================
   DEMONSTRATIONS HUB
   ============================================ */

.demonstrations-hub {
    padding: 6.5rem 0 8rem;
    min-height: 72vh;
    background: linear-gradient(180deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(239, 68, 68, 0.12);
    border-bottom: 1px solid rgba(239, 68, 68, 0.12);
}

.demo-cards-grid {
    margin-top: var(--space-6);
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.demo-proof-strip {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.demo-proof-strip span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.58);
}

.demo-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.demo-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.demo-feature-icon svg {
    width: 24px;
    height: 24px;
}

.demo-feature-card h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.15rem;
}

.demo-feature-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.55;
    min-height: 72px;
}

.demo-feature-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.demo-feature-actions .btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.95rem;
}

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 100010;
}

.demo-modal[hidden] {
    display: none;
}

.demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.demo-modal-dialog {
    position: relative;
    margin: 1.75vh auto;
    width: min(1320px, 98vw);
    height: min(930px, 95vh);
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-dark);
    border: 1px solid rgba(239, 68, 68, 0.24);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    display: grid;
    grid-template-rows: auto 1fr;
}

.demo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.92);
}

.demo-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.demo-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(148, 163, 184, 0.14);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.demo-modal-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #030303;
}

body.demo-modal-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    body.demo-modal-open,
    body.demo-modal-open a,
    body.demo-modal-open button,
    body.demo-modal-open .service-card,
    body.demo-modal-open .solution-card {
        cursor: auto !important;
    }
}

body.demo-modal-open .cursor-dot,
body.demo-modal-open .cursor-outline,
body.demo-modal-open .custom-cursor,
body.demo-modal-open .custom-cursor-dot {
    display: none !important;
}

@media (max-width: 1024px) {
    .demonstrations-hub {
        padding: 5.75rem 0 7rem;
        min-height: auto;
    }

    .demo-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 2.75rem;
    }
}

@media (max-width: 768px) {
    .demonstrations-hub {
        padding: 5rem 0 6rem;
    }

    .demo-proof-strip {
        justify-content: flex-start;
    }

    .demo-cards-grid {
        grid-template-columns: 1fr;
        margin-bottom: 2.25rem;
    }

    .demo-feature-card p {
        min-height: 0;
    }

    .demo-modal-dialog {
        width: 98vw;
        height: 96vh;
        margin-top: 2vh;
    }
}



/* ============================================
   VISION DEMO TOGGLE BUTTON
   ============================================ */

.vision-toggle-button {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    animation: visionPulse 2s ease-in-out infinite;
    padding: 0;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
}

.vision-toggle-button svg {
    width: 28px;
    height: 28px;
    stroke: white;
    transition: all 0.3s ease;
    pointer-events: none;
    user-select: none;
}

.vision-toggle-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.vision-toggle-button:active {
    transform: translateY(-2px) scale(1.05);
}

.vision-toggle-button.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6);
    animation: visionActive 1s ease-in-out infinite;
}

.vision-toggle-hint {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    user-select: none;
}

.vision-toggle-button:hover .vision-toggle-hint {
    opacity: 1;
    bottom: -35px;
}

@keyframes visionPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(59, 130, 246, 0.6);
    }
}

@keyframes visionActive {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6);
    }
    50% {
        box-shadow: 0 4px 35px rgba(239, 68, 68, 0.8);
    }
}

@media (max-width: 768px) {
    .vision-toggle-button {
        bottom: 180px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .vision-toggle-button svg {
        width: 24px;
        height: 24px;
    }

    .vision-toggle-hint {
        display: none;
    }
}

/* Vision Detection Panel Scrollbar */
#vision-detection-panel::-webkit-scrollbar,
#vision-detections::-webkit-scrollbar {
    width: 8px;
}

#vision-detection-panel::-webkit-scrollbar-track,
#vision-detections::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

#vision-detection-panel::-webkit-scrollbar-thumb,
#vision-detections::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.5);
    border-radius: 4px;
    transition: background 0.3s ease;
}

#vision-detection-panel::-webkit-scrollbar-thumb:hover,
#vision-detections::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 68, 68, 0.8);
}

/* Vision Panel Animations */
@keyframes visionPulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(239, 68, 68, 0.4);
    }
}

#vision-detection-panel {
    animation: visionPulse 3s ease-in-out infinite;
}

/* Responsive Vision Panel */
@media (max-width: 768px) {
    #vision-detection-panel {
        width: calc(100vw - 40px) !important;
        left: 20px !important;
        top: 80px !important;
        max-height: calc(100vh - 120px) !important;
    }
}

/* ============================================
   PRODUCTION POLISH (2026)
   ============================================ */

body::after {
    opacity: 0.012;
}

body::before {
    background: radial-gradient(
        circle 640px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(239, 68, 68, 0.11),
        transparent 46%
    );
}

#circuitCanvas {
    opacity: 0.48;
}

#particles-js {
    display: none;
}

.cursor-dot,
.cursor-outline,
.custom-cursor,
.custom-cursor-dot {
    display: none !important;
}

/* Keep native cursor behavior stable across all pages and demo overlays. */
html,
body {
    cursor: auto;
}

a,
button,
[role="button"],
.btn,
.demo-feature-card,
.demo-preview-btn,
.demo-modal-close {
    cursor: pointer !important;
}

input,
textarea,
select,
[contenteditable="true"] {
    cursor: text;
}

.demonstrations-hub,
.demonstrations-hub * {
    cursor: inherit;
}

.demonstrations-hub a,
.demonstrations-hub button,
.demonstrations-hub .btn {
    cursor: pointer !important;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid rgba(148, 163, 184, 0.9);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.2);
}

html.js-ready .reveal-ready {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.34s ease, transform 0.34s ease;
}

html.js-ready .reveal-ready.in-view {
    opacity: 1;
    transform: none;
}

.tech-card {
    transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.tech-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-card:not(.is-visible) {
    opacity: 0;
    transform: translateY(8px);
}

.service-card:hover,
.solution-card:hover,
.tech-card:hover,
.demo-feature-card:hover,
.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.32);
}

.demonstrations-hub {
    padding: 7.2rem 0 9.4rem;
    border-top-color: rgba(148, 163, 184, 0.2);
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

.demo-cards-grid {
    margin-bottom: 4.5rem;
    gap: 1.35rem;
}

.demo-feature-card {
    min-height: 320px;
    padding: 1.55rem 1.35rem;
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
}

.demo-modal-backdrop {
    background: rgba(2, 6, 23, 0.84);
    backdrop-filter: blur(10px);
}

.demo-modal-dialog {
    margin: 3vh auto;
    width: min(1280px, 94vw);
    height: min(860px, 88vh);
    max-height: calc(100dvh - 34px);
}

.demo-modal-header {
    background: rgba(15, 23, 42, 0.94);
}

.contact-form-card {
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.34);
}

.contact-chat-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.contact-chat-note {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.contact-form-actions {
    border-top: 1px solid rgba(239, 68, 68, 0.16);
    padding-top: 0.85rem;
}

/* Services + Solutions section alignment with current brand tone */
.services .section-description,
.solutions .section-description {
    max-width: 760px;
}

.services-grid,
.solutions-grid {
    align-items: stretch;
}

.service-icon,
.solution-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.34);
    text-transform: uppercase;
}

.service-card:hover .service-icon,
.solution-card:hover .solution-icon {
    transform: none;
}

.service-card h3,
.solution-card h3 {
    font-size: 1.28rem;
    line-height: 1.3;
}

.service-features li::before {
    color: #93c5fd;
}

.solutions .solution-link {
    color: #93c5fd;
}

.solutions .solution-link:hover {
    color: #dbeafe;
}

@media (max-width: 1024px) {
    .demonstrations-hub {
        padding: 6.5rem 0 8.4rem;
    }

    .demo-cards-grid {
        margin-bottom: 3.4rem;
    }
}

@media (max-width: 768px) {
    .demonstrations-hub {
        padding: 5.4rem 0 7.1rem;
    }

    .demo-feature-card {
        min-height: 0;
    }

    .demo-modal-dialog {
        width: 100vw;
        height: 100dvh;
        margin: 0;
        border-radius: 0;
        border: 0;
        max-height: 100dvh;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js-ready .reveal-ready,
    html.js-ready .reveal-ready.in-view {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .preloader {
        display: none !important;
    }

    .custom-dev-traveler-trail,
    .custom-dev-traveler-glow,
    .custom-dev-traveler-dot,
    .custom-dev-dot--active,
    .custom-dev-dot--core {
        animation: none !important;
        transform: none !important;
    }

    .custom-dev-traveler-trail,
    .custom-dev-traveler-glow,
    .custom-dev-traveler-dot {
        opacity: 0 !important;
    }
}

/* ============================================
   HOW WE ENGAGE
   ============================================ */

.hero,
.solutions,
.engagement-models,
.technology {
    min-height: 100svh;
}

.engagement-models {
    position: relative;
    display: flex;
    align-items: center;
    padding: 7rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 8%, rgba(59, 130, 246, 0.12), transparent 28%),
        radial-gradient(circle at 18% 78%, rgba(239, 68, 68, 0.08), transparent 22%),
        radial-gradient(circle at 84% 26%, rgba(96, 165, 250, 0.08), transparent 24%),
        #030712;
}

.engagement-models::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(127, 29, 29, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 29, 29, 0.28) 1px, transparent 1px);
    background-size: 128px 128px;
    opacity: 0.4;
    pointer-events: none;
}

.engagement-models::after {
    content: "";
    position: absolute;
    inset: auto 0 10% 0;
    height: 220px;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.82), transparent 72%);
    pointer-events: none;
}

.engagement-models__shell {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(100svh - 10rem);
    display: grid;
    align-content: center;
    gap: 3rem;
}

.engagement-models__header {
    max-width: 780px;
    margin: 0 auto;
}

.engagement-models__header .section-description {
    max-width: 720px;
    color: rgba(226, 232, 240, 0.76);
}

.engagement-models__cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: stretch;
}

.engagement-models__cards::before {
    content: "";
    position: absolute;
    top: 2.1rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0));
    opacity: 0.9;
    pointer-events: none;
}

.engagement-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 1.55rem;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.68)),
        rgba(2, 6, 23, 0.82);
    box-shadow:
        0 24px 50px rgba(2, 6, 23, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.engagement-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%);
    pointer-events: none;
}

.engagement-card::after {
    content: "";
    position: absolute;
    inset: auto auto -72px -54px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.16), transparent 68%);
    pointer-events: none;
}

.engagement-card--retrofit::after {
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.14), transparent 70%);
}

.engagement-card--scale::after {
    background: radial-gradient(circle at center, rgba(248, 113, 113, 0.16), transparent 70%);
}

.engagement-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.34);
    box-shadow:
        0 28px 58px rgba(2, 6, 23, 0.48),
        0 0 0 1px rgba(96, 165, 250, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.engagement-card__top,
.engagement-card__copy,
.engagement-card__meta,
.engagement-card__points,
.engagement-card__footer {
    position: relative;
    z-index: 1;
}

.engagement-card__top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.engagement-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 46px;
    flex: 0 0 auto;
    padding: 0 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(96, 165, 250, 0.4);
    background: rgba(30, 64, 175, 0.18);
    color: #eff6ff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.engagement-card__title-group {
    display: grid;
    gap: 0.45rem;
}

.engagement-card__eyebrow {
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.engagement-card h3 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(1.75rem, 2.3vw, 2.35rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.engagement-card__copy {
    margin: 0 0 1.1rem;
    max-width: 31ch;
    color: rgba(226, 232, 240, 0.8);
    font-size: 1.02rem;
    line-height: 1.72;
}

.engagement-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
}

.engagement-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #dbeafe;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.engagement-card__points {
    list-style: none;
    display: grid;
    gap: 0.82rem;
    margin: 0;
    padding: 0;
}

.engagement-card__points li {
    position: relative;
    padding-left: 1.55rem;
    color: rgba(226, 232, 240, 0.84);
    font-size: 0.96rem;
    line-height: 1.65;
}

.engagement-card__points li::before {
    content: "";
    position: absolute;
    top: 0.62rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.34);
}

.engagement-card__footer {
    margin-top: auto;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.engagement-card__fit {
    margin: 0 0 1rem;
    color: rgba(203, 213, 225, 0.82);
    font-size: 0.88rem;
    line-height: 1.6;
}

.engagement-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #93c5fd;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.engagement-card__cta::after {
    content: "→";
    transition: transform 0.2s ease;
}

.engagement-card__cta:hover,
.engagement-card__cta:focus-visible {
    color: #ffffff;
    transform: translateX(2px);
    outline: none;
}

.engagement-card__cta:hover::after,
.engagement-card__cta:focus-visible::after {
    transform: translateX(3px);
}

@media (max-width: 1140px) {
    .engagement-models {
        padding: 5.5rem 0;
    }

    .engagement-models__shell {
        min-height: auto;
    }

    .engagement-models__cards {
        grid-template-columns: 1fr;
    }

    .engagement-models__cards::before {
        display: none;
    }

    .engagement-card {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .engagement-models {
        min-height: auto;
        padding: 5rem 0;
    }

    .engagement-models::before {
        background-size: 92px 92px;
        opacity: 0.34;
    }

    .engagement-models__shell {
        gap: 2rem;
    }

    .engagement-card {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .engagement-card__top {
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .engagement-card__index {
        min-width: 54px;
        height: 42px;
        padding: 0 0.7rem;
        font-size: 0.62rem;
    }

    .engagement-card h3 {
        font-size: 1.68rem;
    }

    .engagement-card__copy,
    .engagement-card__points li {
        font-size: 0.93rem;
    }
}

.tech-grid-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-stack-toggle {
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tech-stack-toggle .tech-card-icon--toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.92));
    color: #e2e8f0;
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 300;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tech-stack-toggle:hover .tech-card-icon--toggle,
.tech-stack-toggle:focus-visible .tech-card-icon--toggle {
    border-color: rgba(96, 165, 250, 0.42);
    color: #f8fafc;
}

.tech-stack-toggle h4 {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tech-stack-toggle:focus-visible {
    outline: none;
    border-color: rgba(96, 165, 250, 0.42);
    box-shadow:
        0 16px 34px rgba(2, 6, 23, 0.32),
        0 0 0 1px rgba(96, 165, 250, 0.18);
}

.tech-discover-cta {
    min-width: min(280px, 100%);
    position: relative;
    padding: 1rem 1.38rem;
    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 44%),
        linear-gradient(135deg, rgba(7, 16, 26, 0.96), rgba(17, 24, 39, 0.94));
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow:
        0 18px 36px rgba(2, 6, 23, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(37, 99, 235, 0.1);
    overflow: hidden;
}

.tech-discover-cta::before {
    content: "";
    position: absolute;
    inset: -18% auto -18% -24%;
    width: 48%;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0), rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0));
    transform: skewX(-22deg);
    opacity: 0.72;
    transition: transform 0.34s ease, opacity 0.34s ease;
}

.tech-discover-cta::after {
    content: "→";
    position: relative;
    font-size: 1rem;
    transition: transform 0.22s ease;
}

.tech-discover-cta:hover,
.tech-discover-cta:focus-visible {
    border-color: rgba(147, 197, 253, 0.46);
    box-shadow:
        0 22px 44px rgba(2, 6, 23, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(96, 165, 250, 0.16);
}

.tech-discover-cta:hover::before,
.tech-discover-cta:focus-visible::before {
    transform: translateX(280%) skewX(-22deg);
    opacity: 0.92;
}

.tech-discover-cta:hover::after,
.tech-discover-cta:focus-visible::after {
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .hero-buttons {
        margin-bottom: 2.85rem;
    }

    .hero-stats {
        transform: translateY(-30px);
    }
}

@media (max-width: 640px) {
    .tech-grid-actions {
        gap: 0.8rem;
    }

    .tech-stack-toggle .tech-card-icon--toggle {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 1.7rem;
    }

    .tech-discover-cta {
        width: 100%;
    }
}
