@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap&subset=latin,cyrillic-ext');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&display=swap');

:root {
    --bg-dark: #030304;
    --bg-surface: #121214;
    --ceilix-gold: #FFB700;
    --ceilix-gold-rgb: 255, 183, 0;
    --ceilix-cyan: #00f2ff;
    --ceilix-magenta: #ff00ea;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    --gold-gradient: linear-gradient(135deg, #FFB700 0%, #FFD700 50%, #FFB700 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    cursor: none;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-white);
    background-color: var(--bg-dark);
    line-height: 1.6;
    cursor: none;
    /* Hide native cursor */
}

#stars-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

/* Custom Cursor Core */
#custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--ceilix-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: screen;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s, border-radius 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#custom-cursor::after {
    content: "VIEW";
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    color: black;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
}

#custom-cursor.view-mode {
    width: 60px;
    height: 60px;
    background: rgba(255, 183, 0, 0.9);
    mix-blend-mode: normal;
}

#custom-cursor.view-mode::after {
    opacity: 1;
}

#custom-cursor.text-mode {
    width: 2px;
    height: 24px;
    border-radius: 0;
    background: rgba(255, 183, 0, 0.8);
    mix-blend-mode: normal;
}

#cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(var(--ceilix-gold-rgb), 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, border 0.3s, background 0.3s, opacity 0.3s;
}

body.hovering #cursor-follower,
body:has(#custom-cursor.view-mode) #cursor-follower,
body:has(#custom-cursor.text-mode) #cursor-follower {
    opacity: 0;
    /* Hide follower in dynamic states */
}

/* SVG Line Drawing Animation */
.draw-svg path,
.draw-svg circle,
.draw-svg polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.active .draw-svg path,
.active .draw-svg circle,
.active .draw-svg polyline {
    animation: dash-draw 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dash-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.glass-extreme {
    position: relative;
    /* Maintain existing transparent/glass styling but add hidden overflow for the glow */
    overflow: hidden;
}

.glass-extreme::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 183, 0, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-extreme>* {
    position: relative;
    z-index: 10;
}

.glass-extreme:hover::before {
    opacity: 1;
}

body.hovering #custom-cursor:not(.view-mode):not(.text-mode) {
    width: 24px;
    height: 24px;
    background: rgba(var(--ceilix-gold-rgb), 0.1);
}

body.hovering #cursor-follower {
    width: 60px;
    height: 60px;
    background: rgba(var(--ceilix-gold-rgb), 0.2);
    border-color: rgba(var(--ceilix-gold-rgb), 1);
}

/* Animations */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-shimmer {
    animation: shimmer 3s linear infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hologram Effects */
.hologram-container {
    position: relative;
    mix-blend-mode: screen;
}

.hologram-chromatic-cyan {
    position: absolute;
    inset: 0;
    color: var(--ceilix-cyan);
    mix-blend-mode: screen;
    transform: translateX(3px);
    opacity: 0.7;
    filter: blur(0.5px);
    pointer-events: none;
}

.hologram-chromatic-magenta {
    position: absolute;
    inset: 0;
    color: var(--ceilix-magenta);
    mix-blend-mode: screen;
    transform: translateX(-3px);
    opacity: 0.7;
    filter: blur(0.5px);
    pointer-events: none;
}

.hologram-scanline {
    position: absolute;
    left: -20%;
    right: -20%;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px var(--ceilix-gold);
    z-index: 20;
    pointer-events: none;
    animation: hologram-scan 2s linear infinite;
}

@keyframes hologram-scan {
    0% {
        top: -10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

@keyframes hologram-flicker {
    0% {
        opacity: 0.95;
    }

    5% {
        opacity: 0.8;
    }

    10% {
        opacity: 1;
    }

    15% {
        opacity: 0.9;
    }

    100% {
        opacity: 1;
    }
}

.animate-hologram-flicker {
    animation: hologram-flicker 3s infinite step-end;
}

.gold-glow-extreme {
    box-shadow: 0 0 30px rgba(var(--ceilix-gold-rgb), 0.3),
        0 0 60px rgba(var(--ceilix-gold-rgb), 0.1);
}

/* glass-extreme – match ceilix-studio (backdrop-blur 40px) */
.glass-extreme {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

@media (max-width: 1024px) {

    #custom-cursor,
    #cursor-follower {
        display: none;
    }

    * {
        cursor: auto !important;
    }
}

button,
.btn {
    text-decoration: none;
}

/* ─── DISPLAY FONT FOR HEADINGS ─────────────────────────────────────── */

h1,
h2,
h3,
.font-display {
    font-family: var(--font-display);
}

/* ─── LOADING SCREEN ────────────────────────────────────────────────── */

#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #030304;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

#loading-screen .loading-logo {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    overflow: hidden;
}

#loading-screen .loading-logo span {
    display: inline-block;
    transform: translateY(110%);
    animation: loading-letter-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#loading-screen .loading-bar {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin-top: 2rem;
    overflow: hidden;
}

#loading-screen .loading-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 999px;
    animation: loading-fill 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loading-letter-rise {
    to {
        transform: translateY(0);
    }
}

@keyframes loading-fill {
    to {
        width: 100%;
    }
}

/* ─── ANIMATED GRADIENT BORDER ──────────────────────────────────────── */

.card-animated-border {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.01);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.card-animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 183, 0, 0.08), transparent 34%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 38%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.card-animated-border>* {
    position: relative;
    z-index: 1;
}

.card-animated-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--border-angle, 0deg),
            transparent 25%,
            rgba(255, 183, 0, 0.5) 50%,
            transparent 75%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    animation: rotate-border 4s linear infinite;
    pointer-events: none;
    z-index: 5;
}

.card-animated-border:hover::after {
    opacity: 1;
}

.card-animated-border:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 183, 0, 0.16);
    box-shadow:
        0 34px 72px rgba(0, 0, 0, 0.34),
        0 0 36px rgba(255, 183, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-border {
    to {
        --border-angle: 360deg;
    }
}

/* ─── SERVICE CARD NUMBERS ──────────────────────────────────────────── */

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    transition: color 0.5s;
    z-index: 1;
    pointer-events: none;
}

.card-animated-border:hover .service-number {
    color: rgba(255, 183, 0, 0.08);
}

.editorial-intro {
    max-width: 58rem;
    margin-inline: auto;
}

.section-intro-copy {
    max-width: 46rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(0.98rem, 1.4vw, 1.12rem);
    line-height: 1.8;
    font-weight: 300;
}

.portfolio-lead {
    margin-bottom: 3.5rem;
}

.portfolio-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.portfolio-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-quick-link:hover {
    border-color: rgba(255, 183, 0, 0.28);
    background: rgba(255, 183, 0, 0.08);
    color: var(--ceilix-gold);
    box-shadow: 0 0 24px rgba(255, 183, 0, 0.1);
}

.portfolio-pair-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 62rem;
    margin: 0 auto 2.25rem;
}

.portfolio-pair-item {
    padding: 1.15rem 1.25rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.012);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.portfolio-pair-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ceilix-gold);
}

.portfolio-pair-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.65;
    font-weight: 300;
}

.portfolio-bridge {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    margin-top: -0.4rem;
}

.portfolio-bridge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 183, 0, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.012);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-stage {
    position: relative;
}

.stage-tech::before,
.stage-contact::before {
    content: '';
    position: absolute;
    inset: -1rem 0 auto;
    height: 22rem;
    pointer-events: none;
    filter: blur(6px);
}

.stage-tech::before {
    background:
        radial-gradient(circle at top center, rgba(255, 183, 0, 0.09), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 70%);
}

.stage-contact::before {
    background:
        radial-gradient(circle at top center, rgba(255, 183, 0, 0.07), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 72%);
}

.tech-meta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tech-meta-pill {
    padding: 1rem 1.1rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-align: left;
}

.tech-meta-title {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.tech-meta-pill p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.65;
    font-weight: 300;
}

.system-bridge-copy {
    max-width: 52rem;
    margin: 1.85rem auto 0;
    padding: 1rem 1.2rem;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 183, 0, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.012);
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.98rem;
    line-height: 1.75;
    font-weight: 300;
}

.section-ghost-gallery {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.section-ghost-gallery::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.22), rgba(3, 3, 4, 0.42)),
        radial-gradient(circle at center, rgba(3, 3, 4, 0.03), rgba(3, 3, 4, 0.18) 72%);
}

.section-ghost-image {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: cover;
    opacity: 0.3;
    filter: saturate(0.92) blur(0.35px);
    transform: scale(1.02);
    mix-blend-mode: screen;
}

.section-ghost-gallery--services .section-ghost-image--primary {
    top: 4%;
    left: -8%;
    width: 42rem;
    height: 32rem;
    mask-image: radial-gradient(circle at center, black 42%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 42%, transparent 80%);
}

.section-ghost-gallery--services .section-ghost-image--secondary {
    right: -6%;
    bottom: 2%;
    width: 32rem;
    height: 26rem;
    opacity: 0.26;
    mask-image: radial-gradient(circle at center, black 38%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black 38%, transparent 78%);
}

.section-ghost-gallery--system .section-ghost-image--device {
    top: 4rem;
    right: 3%;
    width: 24rem;
    height: 36rem;
    object-fit: contain;
    opacity: 0.34;
    filter: saturate(0.9) blur(0.2px);
}

.section-ghost-gallery--system .section-ghost-image--board {
    left: 4%;
    bottom: 0;
    width: 28rem;
    height: 24rem;
    object-fit: contain;
    opacity: 0.24;
    transform: rotate(-8deg);
    filter: saturate(0.88) blur(0.35px);
}

.product-story-stage {
    position: relative;
    isolation: isolate;
}

.product-story-stage>.section-ghost-gallery {
    z-index: 0;
}

.product-story-stage>*:not(.section-ghost-gallery) {
    position: relative;
    z-index: 1;
}

.section-ghost-gallery--product-story::after {
    background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.08), rgba(3, 3, 4, 0.26)),
        radial-gradient(circle at center, rgba(3, 3, 4, 0.01), rgba(3, 3, 4, 0.14) 72%);
}

.section-ghost-gallery--product-story .section-ghost-image {
    opacity: 0.26;
    filter: saturate(0.96) blur(0.35px);
}

.section-ghost-gallery--product-story .section-ghost-image--story-left-top {
    top: 1%;
    left: -14%;
    width: 34rem;
    height: 26rem;
    transform: rotate(-7deg) scale(1.04);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.section-ghost-gallery--product-story .section-ghost-image--story-right-mid {
    top: 22%;
    right: -12%;
    width: 32rem;
    height: 25rem;
    opacity: 0.22;
    transform: rotate(8deg) scale(1.03);
    mask-image: radial-gradient(circle at center, black 38%, transparent 79%);
    -webkit-mask-image: radial-gradient(circle at center, black 38%, transparent 79%);
}

.section-ghost-gallery--product-story .section-ghost-image--story-left-low {
    top: 49%;
    left: -15%;
    width: 31rem;
    height: 24rem;
    opacity: 0.2;
    transform: rotate(-10deg) scale(1.04);
    mask-image: radial-gradient(circle at center, black 36%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black 36%, transparent 78%);
}

.section-ghost-gallery--product-story .section-ghost-image--story-right-bottom {
    right: -10%;
    bottom: 4%;
    width: 30rem;
    height: 23rem;
    opacity: 0.24;
    transform: rotate(6deg) scale(1.02);
    mask-image: radial-gradient(circle at center, black 38%, transparent 79%);
    -webkit-mask-image: radial-gradient(circle at center, black 38%, transparent 79%);
}

.section-ghost-gallery--product-story .section-ghost-image--story-generated {
    top: var(--story-top);
    left: var(--story-left, auto);
    right: var(--story-right, auto);
    width: var(--story-width, 22rem);
    height: var(--story-height, 17rem);
    opacity: var(--story-opacity, 0.18);
    transform: rotate(var(--story-rotate, 0deg)) scale(var(--story-scale, 1.03));
    mask-image: radial-gradient(circle at center, black 38%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 38%, transparent 80%);
}

.product-copy-hero,
.product-copy-panel {
    position: relative;
    overflow: hidden;
    border-radius: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.014);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.product-copy-hero {
    padding: 2.75rem 2.4rem;
}

.product-copy-panel {
    padding: 3.25rem 2.75rem;
}

.product-copy-shell,
.product-copy-panel>*:not(.product-copy-ghost) {
    position: relative;
    z-index: 1;
}

.product-copy-ghost {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.product-copy-ghost::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.18), rgba(3, 3, 4, 0.46)),
        radial-gradient(circle at center, rgba(255, 183, 0, 0.04), transparent 54%);
}

.product-copy-ghost img {
    position: absolute;
    top: 50%;
    width: 34rem;
    height: 24rem;
    object-fit: cover;
    opacity: 0.3;
    filter: saturate(0.95) blur(0.25px);
    mix-blend-mode: screen;
    transform: translateY(-50%) scale(1.05);
    mask-image: radial-gradient(circle at center, black 42%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 42%, transparent 80%);
}

.product-copy-hero--left .product-copy-ghost img,
.product-copy-panel--left .product-copy-ghost img {
    left: -6%;
    transform: translateY(-50%) rotate(-8deg) scale(1.06);
}

.product-copy-hero--right .product-copy-ghost img,
.product-copy-panel--right .product-copy-ghost img {
    right: -6%;
    transform: translateY(-50%) rotate(8deg) scale(1.06);
}

.product-copy-panel .product-copy-ghost img {
    width: 36rem;
    height: 26rem;
    opacity: 0.34;
}

.stage-tech .grid>.glass-extreme {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.55s ease, box-shadow 0.55s ease, border-color 0.45s ease;
}

.stage-tech .grid>.glass-extreme:hover {
    transform: translateY(-6px);
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(255, 183, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-grid {
    position: relative;
}

.services-rail {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.6rem;
}

.services-rail span,
.service-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.66);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-meta {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: var(--ceilix-gold);
    border-color: rgba(255, 183, 0, 0.14);
    background: rgba(255, 183, 0, 0.05);
}

@media (min-width: 1280px) {

    .service-grid>*:nth-child(2),
    .service-grid>*:nth-child(4) {
        margin-top: 1.5rem;
    }
}

/* ─── STATS COUNTER SECTION ─────────────────────────────────────────── */

.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 183, 0, 0.3), transparent);
}

.stats-strip {
    position: relative;
    padding: 1.4rem 1.8rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
        rgba(255, 255, 255, 0.012);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-item {
    text-align: center;
    position: relative;
    transition: transform 0.35s ease;
}

.stats-strip .stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 6ch;
    text-align: center;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.stat-number::after {
    content: attr(data-suffix);
    margin-left: 0.06em;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* ─── BEFORE / AFTER SLIDER ─────────────────────────────────────────── */

.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    cursor: col-resize;
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
    -webkit-user-select: none;
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.02);
}

.ba-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ba-stage {
    position: relative;
    padding: 1.2rem;
    border-radius: 2.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ba-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(255, 183, 0, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 46%);
    pointer-events: none;
}

.ba-stage-kicker {
    position: relative;
    z-index: 2;
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.52);
    font-family: var(--font-mono);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ba-surface {
    position: absolute;
    inset: 0;
}

.ba-before-surface::after,
.ba-after-surface::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ba-before-surface::after {
    background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.08), rgba(3, 3, 4, 0.44)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 40%);
}

.ba-after-surface::after {
    background:
        linear-gradient(180deg, rgba(255, 183, 0, 0.06), rgba(3, 3, 4, 0.2)),
        radial-gradient(circle at top right, rgba(255, 183, 0, 0.18), transparent 36%);
}

.ba-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-after {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ceilix-gold);
    cursor: col-resize;
    z-index: 20;
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.5);
}

.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #fff7d6 0%, var(--ceilix-gold) 42%, #d08d00 100%);
    box-shadow:
        0 0 34px rgba(255, 183, 0, 0.55),
        0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.ba-handle::after {
    content: '<  >';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 900;
    color: #000;
    z-index: 21;
    white-space: pre;
    letter-spacing: 0.16em;
}

.ba-label {
    position: absolute;
    bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    z-index: 10;
    pointer-events: none;
}

.ba-label.before {
    left: 1.5rem;
}

.ba-label.after {
    right: 1.5rem;
    color: var(--ceilix-gold);
    border-color: rgba(255, 183, 0, 0.3);
}

.ba-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ba-meta-card {
    padding: 1.2rem 1.25rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ba-meta-title {
    display: block;
    margin-bottom: 0.55rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.ba-meta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

@media (max-width: 767px) {
    .portfolio-quick-links {
        justify-content: flex-start;
    }

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

    .stats-strip {
        padding: 1rem 1.1rem;
    }

    .ba-stage {
        padding: 0.85rem;
        border-radius: 1.8rem;
    }

    .ba-meta-strip {
        grid-template-columns: 1fr;
    }
}

/* ─── MAGNETIC BUTTON EFFECT ────────────────────────────────────────── */

.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── GALLERY IMAGE OVERLAY ─────────────────────────────────────────── */

.gallery-shell {
    position: relative;
}

.gallery-shell::before {
    content: '';
    position: absolute;
    inset: 1.5rem 0 auto;
    height: 24rem;
    background:
        radial-gradient(circle at top center, rgba(255, 183, 0, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 70%);
    pointer-events: none;
    filter: blur(10px);
}

.gallery-hero {
    position: relative;
}

.gallery-hero-copy {
    max-width: 56rem;
    margin-inline: auto;
}

.gallery-hero-note {
    margin-top: 1.6rem;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-grid-shell {
    position: relative;
}

.gallery-grid-shell::before {
    content: '';
    position: absolute;
    inset: -1.25rem -1rem;
    border-radius: 2.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
        radial-gradient(circle at top, rgba(255, 183, 0, 0.06), transparent 42%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.gallery-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.02);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 183, 0, 0.08), transparent 32%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 45%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.gallery-card .gallery-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.46) 42%, rgba(3, 3, 4, 0.06) 72%),
        linear-gradient(135deg, rgba(255, 183, 0, 0.08), transparent 34%);
    border-radius: inherit;
    z-index: 10;
    pointer-events: none;
    opacity: 0.86;
    transition: opacity 0.5s ease, background 0.5s ease;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 34px 78px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(255, 183, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gallery-card:hover img {
    filter: saturate(1.04) contrast(1.02);
}

.gallery-card .gallery-caption {
    position: absolute;
    right: 1.6rem;
    bottom: 1.6rem;
    left: 1.6rem;
    z-index: 20;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.gallery-card:hover .gallery-caption {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-caption-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.gallery-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 183, 0, 0.24);
    background: rgba(10, 10, 12, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ceilix-gold);
}

.gallery-code {
    font-family: var(--font-mono);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.34);
}

.gallery-caption-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.16rem;
    color: #fff;
    margin-bottom: 0.32rem;
    letter-spacing: -0.02em;
}

.gallery-caption-sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.56);
}

.gallery-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.1rem 1.2rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gallery-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.gallery-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(14px);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.is-active {
    border-color: rgba(255, 183, 0, 0.34);
    background: rgba(255, 183, 0, 0.1);
    color: var(--ceilix-gold);
    box-shadow: 0 0 24px rgba(255, 183, 0, 0.12);
}

.gallery-meta-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    text-align: right;
}

.gallery-meta-kicker {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
}

.gallery-meta-value {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.gallery-meta-count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 183, 0, 0.68);
}

.gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.46);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gallery-lightbox {
    background:
        radial-gradient(circle at top, rgba(255, 183, 0, 0.08), transparent 32%),
        rgba(3, 3, 4, 0.92);
}

.gallery-lightbox-frame {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(255, 183, 0, 0.05);
    box-shadow:
        0 28px 120px rgba(0, 0, 0, 0.82),
        0 0 40px rgba(255, 183, 0, 0.08);
}

@media (max-width: 767px) {
    .gallery-hero-note {
        border-radius: 1.2rem;
        line-height: 1.65;
    }

    .gallery-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-meta-copy {
        align-items: flex-start;
        text-align: left;
    }
}

/* ─── WALLS SHOWCASE ───────────────────────────────────────────────── */

.walls-copy-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 183, 0, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%);
    pointer-events: none;
}

.walls-copy-panel--walls::after {
    background:
        radial-gradient(circle at top right, rgba(255, 183, 0, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%);
}

.walls-copy-panel--ceilings::after {
    background:
        radial-gradient(circle at top center, rgba(255, 183, 0, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 52%);
}

.contact-cta-shell {
    background:
        linear-gradient(145deg, rgba(28, 28, 30, 0.94), rgba(37, 37, 42, 0.88)),
        rgba(255, 255, 255, 0.02);
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.contact-trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stage-contact .space-y-6>.glass-extreme,
.stage-contact .space-y-6>a.glass-extreme {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.015);
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.walls-copy-panel>* {
    position: relative;
    z-index: 1;
}

.walls-chip {
    position: relative;
    padding: 1.35rem 1.35rem 1.2rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.walls-chip-title {
    display: block;
    margin-bottom: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.walls-chip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.98rem;
    line-height: 1.7;
    font-weight: 300;
}

.walls-stack {
    position: relative;
    min-height: 42rem;
    width: 100%;
    margin-top: 0.25rem;
}

.walls-shot {
    position: absolute;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.6s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.walls-shot-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.1s ease-in-out, transform 1.8s ease-out;
    transform: scale(1.008);
}

.walls-shot-image.is-active {
    opacity: 1;
    transform: scale(1.002);
}

.walls-shot:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 183, 0, 0.18);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 183, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

.walls-stack--ceilings .walls-shot:hover {
    box-shadow:
        0 38px 96px rgba(0, 0, 0, 0.5),
        0 0 36px rgba(255, 183, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

.walls-shot-main {
    inset: 2rem 8.5rem 2rem 0;
}

.walls-shot-top {
    top: 0;
    right: 0;
    width: 40%;
    height: 35%;
}

.walls-shot-bottom {
    right: 0;
    bottom: 0;
    width: 44%;
    height: 43%;
}

.walls-float-card {
    position: absolute;
    left: 2rem;
    bottom: 1.5rem;
    max-width: 18rem;
    padding: 1rem 1.1rem;
    border-radius: 1.35rem;
    background: rgba(10, 10, 12, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s ease, border-color 0.45s ease, background 0.45s ease;
}

.walls-stack:hover .walls-float-card {
    transform: translateY(-4px);
    border-color: rgba(255, 183, 0, 0.16);
    background: rgba(10, 10, 12, 0.78);
}

.walls-float-card strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 700;
}

.walls-float-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ceilix-gold);
}

@media (max-width: 1023px) {
    .section-ghost-gallery--services .section-ghost-image--primary {
        width: 32rem;
        height: 24rem;
        left: -18%;
        top: 10%;
    }

    .section-ghost-gallery--services .section-ghost-image--secondary {
        width: 24rem;
        height: 20rem;
        right: -16%;
        bottom: 6%;
    }

    .section-ghost-gallery--system .section-ghost-image--device {
        width: 18rem;
        height: 28rem;
        top: 9rem;
        right: -8%;
    }

    .section-ghost-gallery--system .section-ghost-image--board {
        width: 22rem;
        height: 18rem;
        left: -10%;
        bottom: 2rem;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-left-top {
        width: 26rem;
        height: 20rem;
        left: -20%;
        top: 4%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-right-mid {
        width: 24rem;
        height: 19rem;
        right: -18%;
        top: 28%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-left-low {
        width: 24rem;
        height: 19rem;
        left: -19%;
        top: 54%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-right-bottom {
        width: 22rem;
        height: 17rem;
        right: -18%;
        bottom: 7%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-generated {
        width: calc(var(--story-width, 22rem) * 0.78);
        height: calc(var(--story-height, 17rem) * 0.78);
    }

    .product-copy-hero,
    .product-copy-panel {
        border-radius: 2.1rem;
    }

    .product-copy-hero {
        padding: 2.2rem 1.8rem;
    }

    .product-copy-panel {
        padding: 2.6rem 2rem;
    }

    .product-copy-ghost img,
    .product-copy-panel .product-copy-ghost img {
        width: 26rem;
        height: 18rem;
        opacity: 0.28;
    }

    .services-rail {
        gap: 0.5rem;
    }

    .portfolio-pair-rail {
        grid-template-columns: 1fr;
        margin-bottom: 1.5rem;
    }

    .portfolio-bridge {
        margin-top: -0.1rem;
    }

    .walls-stack {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .walls-shot {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .walls-shot-main {
        aspect-ratio: 16 / 10;
    }

    .walls-shot-top,
    .walls-shot-bottom {
        aspect-ratio: 4 / 3;
    }

    .walls-float-card {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .section-ghost-image {
        opacity: 0.22;
    }

    .section-ghost-gallery::after {
        background:
            linear-gradient(180deg, rgba(3, 3, 4, 0.34), rgba(3, 3, 4, 0.56)),
            radial-gradient(circle at center, rgba(3, 3, 4, 0.06), rgba(3, 3, 4, 0.26) 72%);
    }

    .section-ghost-gallery--services .section-ghost-image--primary {
        width: 22rem;
        height: 18rem;
        left: -28%;
        top: 14%;
    }

    .section-ghost-gallery--services .section-ghost-image--secondary {
        width: 18rem;
        height: 15rem;
        right: -28%;
        bottom: 10%;
    }

    .section-ghost-gallery--system .section-ghost-image--device {
        width: 13rem;
        height: 22rem;
        top: 11rem;
        right: -16%;
    }

    .section-ghost-gallery--system .section-ghost-image--board {
        width: 16rem;
        height: 14rem;
        left: -20%;
        bottom: 5%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-left-top {
        width: 18rem;
        height: 14rem;
        left: -28%;
        top: 6%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-right-mid {
        width: 17rem;
        height: 13rem;
        right: -24%;
        top: 31%;
        opacity: 0.13;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-left-low {
        width: 17rem;
        height: 13rem;
        left: -26%;
        top: 57%;
        opacity: 0.12;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-right-bottom {
        width: 16rem;
        height: 12rem;
        right: -24%;
        bottom: 9%;
    }

    .section-ghost-gallery--product-story .section-ghost-image--story-generated {
        width: calc(var(--story-width, 22rem) * 0.56);
        height: calc(var(--story-height, 17rem) * 0.56);
    }

    .product-copy-hero {
        padding: 1.8rem 1.2rem;
    }

    .product-copy-panel {
        padding: 2rem 1.25rem;
    }

    .product-copy-ghost img,
    .product-copy-panel .product-copy-ghost img {
        width: 18rem;
        height: 13rem;
        opacity: 0.22;
    }

    .product-copy-hero--left .product-copy-ghost img,
    .product-copy-panel--left .product-copy-ghost img {
        left: -22%;
    }

    .product-copy-hero--right .product-copy-ghost img,
    .product-copy-panel--right .product-copy-ghost img {
        right: -22%;
    }
}

/* ─── SECTION DIVIDER ───────────────────────────────────────────────── */

.section-divider {
    position: relative;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 183, 0, 0.15), transparent);
    margin: 0 auto;
    max-width: 80rem;
}

.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11rem;
    height: 1px;
    transform: translate(-50%, -50%);
    background: linear-gradient(to right, transparent, rgba(255, 215, 128, 0.55), transparent);
    box-shadow: 0 0 22px rgba(255, 183, 0, 0.18);
}

/* ─── SIMULATION SCENES ──────────────────────────────────────────────── */

.sim-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background:
        linear-gradient(180deg, #0f1216 0%, #13171c 52%, #0d1014 100%);
    border-radius: 1.65rem;
    border: 1px solid rgba(255, 183, 0, 0.12);
    overflow: hidden;
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.5s, box-shadow 0.5s;
}

.sim-scene::before,
.sim-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sim-scene::before {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.18)),
        radial-gradient(circle at 50% 0%, rgba(255, 183, 0, 0.08), transparent 34%);
}

.sim-scene::after {
    z-index: 18;
    background:
        linear-gradient(180deg, rgba(255, 183, 0, 0.035), transparent 16%, transparent 84%, rgba(255, 183, 0, 0.04));
    opacity: 1;
}

.sim-scene.shop-scene {
    overflow: visible;
}

.sim-scene:hover {
    border-color: rgba(255, 183, 0, 0.15);
    box-shadow:
        0 32px 78px rgba(0, 0, 0, 0.58),
        0 0 30px rgba(255, 183, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Animated edge glow */
.sim-scene .scene-edge-glow {
    position: absolute;
    inset: 0;
    border-radius: 1.65rem;
    z-index: 20;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(255, 183, 0, 0.03) 0%,
            transparent 18%,
            transparent 82%,
            rgba(255, 183, 0, 0.03) 100%);
    animation: none;
    opacity: 0.72;
}

@keyframes edge-pulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

/* Enhanced holographic grid */
.sim-scene .scene-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 183, 0, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(255, 183, 0, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.22;
    mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
    transform: translateZ(0);
    backface-visibility: hidden;
    animation: none;
}

@keyframes scene-grid-drift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Volumetric Dust Particles */
.scene-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 40px 70px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 183, 0, 0.3), transparent);
    background-size: 200px 200px;
    animation: dust-drift 40s linear infinite;
    opacity: 0.1;
    mix-blend-mode: screen;
    transform: translateZ(0);
    will-change: background-position;
    backface-visibility: hidden;
}

@keyframes dust-drift {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    100% {
        background-position: -200px -200px, 150px -250px, -100px 200px, 200px -100px;
    }
}

/* Holographic UI Rings */
.scene-holo-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    margin-left: -110px;
    margin-top: -110px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 183, 0, 0.1);
    border-left: 2px solid rgba(255, 183, 0, 0.2);
    pointer-events: none;
    z-index: 1;
    animation: holo-spin-1 20s linear infinite;
    /* Force Hardware Acceleration */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    opacity: 0.05;
    filter: drop-shadow(0 0 10px rgba(255, 183, 0, 0.12));
}

.scene-holo-rings::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 1px dotted rgba(255, 255, 255, 0.1);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    animation: holo-spin-2 15s linear infinite reverse;
}

.scene-holo-rings::after {
    content: '';
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 1px dashed rgba(100, 200, 255, 0.1);
    border-bottom: 2px solid rgba(100, 200, 255, 0.15);
    animation: holo-spin-1 10s linear infinite;
}

@keyframes holo-spin-1 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes holo-spin-2 {
    100% {
        transform: rotate(-360deg);
    }
}

/* ─── SIMULATION LAYOUT ──────────────────────────────────────────────── */

.sim-container {
    position: relative;
    width: 100%;
}

.sim-container .sim-scene {
    width: 100%;
}

/* HUD sits below the scene */
.sim-container .sim-hud {
    width: 100%;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.sim-container .sim-hud .hud-header {
    margin-bottom: 0.75rem;
}

.sim-container .sim-hud .hud-row {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.sim-container .sim-hud .hud-info {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.75rem;
}

/* Compact telemetry overlay for simulations */
.sim-hud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

.sim-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    color: #e5e7eb;
    min-height: 40px;
    min-width: 168px;
    width: auto;
    flex: 1 1 168px;
    overflow: hidden;
}

.sim-pill .label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    color: rgba(229, 231, 235, 0.6);
    min-width: 70px;
    flex-shrink: 0;
}

.sim-pill .value {
    font-weight: 700;
    color: var(--ceilix-gold);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* On larger screens, make HUD a horizontal strip */
@media (min-width: 1280px) {

    .sim-container .sim-hud {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        padding: 0;
    }
}

/* ─── HUMANOID ENTITY — Solid Shape Icon ─────────────────────────────── */

.entity-humanoid {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 32px;
    height: 60px;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(255, 183, 0, 0.16));
    transition: left 0.1s linear;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ── Ground glow ── */
.entity-humanoid .h-base-glow {
    position: absolute;
    bottom: -2px;
    width: 22px;
    height: 6px;
    background: radial-gradient(ellipse, rgba(255, 183, 0, 0.25), transparent 70%);
    border-radius: 50%;
    filter: blur(3px);
}

/* ── Predictive path trail ── */
.entity-humanoid .h-predictive-path {
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 183, 0, 0.34), transparent);
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.entity-humanoid.back-view .h-predictive-path {
    left: auto;
    right: 50%;
    background: linear-gradient(-90deg, rgba(255, 183, 0, 0.8), transparent);
}

.entity-humanoid.back-view .h-body {
    animation: none;
}

/* ── Body container ── */
.entity-humanoid .h-body {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0.95;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ── Shoulders/arms removed for simplified marker ── */
.entity-humanoid .h-body::before,
.entity-humanoid .h-body::after {
    display: none;
}

.entity-humanoid .h-body::before {
    left: auto;
    transform: none;
    transform-origin: unset;
}

.entity-humanoid .h-body::after {
    right: auto;
    transform: none;
    transform-origin: unset;
}

.entity-humanoid .h-body>* {
    position: relative;
    z-index: 2;
}

/* ── Head — simple presence dot ── */
.entity-humanoid .h-head {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%,
            rgba(255, 240, 205, 0.95),
            rgba(255, 183, 0, 0.72));
    border: none;
    box-shadow:
        0 0 8px rgba(255, 183, 0, 0.16),
        0 0 18px rgba(255, 183, 0, 0.04);
    margin-bottom: 3px;
    position: relative;
}

/* Head — no pseudo-elements needed, keep clean */
.entity-humanoid .h-head::before,
.entity-humanoid .h-head::after {
    display: none;
}

/* ── Torso — vertical marker stem ── */
.entity-humanoid .h-torso {
    width: 7px;
    height: 36px;
    background: linear-gradient(180deg,
            rgba(255, 210, 100, 0.88),
            rgba(255, 183, 0, 0.5) 60%,
            rgba(255, 183, 0, 0.16));
    border-radius: 999px;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Shoulder line to imply a human presence without realism */
.entity-humanoid .h-torso::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: rgba(255, 240, 205, 0.55);
    box-shadow: none;
    animation: none;
    opacity: 1;
}

.entity-humanoid .h-torso::after {
    display: none;
}

/* ── Legs — two thin marker lines ── */
.entity-humanoid .h-legs {
    display: none;
}

.entity-humanoid .h-legs::before,
.entity-humanoid .h-legs::after {
    display: none;
}

.entity-humanoid .h-legs::before {
    left: 3px;
    transform: rotate(9deg);
}

.entity-humanoid .h-legs::after {
    right: 3px;
    transform: rotate(-9deg);
}

/* ── Tags ── */
.entity-humanoid .h-tag {
    display: none;
}

/* ── Soft pulse ring around the head ── */
.entity-humanoid .h-glitch {
    position: absolute;
    top: -3px;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    border: 1px solid rgba(255, 215, 120, 0.18);
    border-top-color: rgba(255, 183, 0, 0.42);
    border-radius: 50%;
    opacity: 0.45;
    animation: h-data-ring-spin 4s linear infinite;
    z-index: 15;
}

@keyframes h-data-ring-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ── Back-view overrides ── */
.entity-humanoid.back-view .h-torso {
    background: linear-gradient(180deg,
            rgba(212, 196, 150, 0.7),
            rgba(180, 164, 110, 0.34) 60%,
            rgba(180, 164, 110, 0.14));
}

.entity-humanoid.back-view .h-head {
    background: radial-gradient(circle at 40% 35%,
            rgba(214, 203, 175, 0.88),
            rgba(180, 164, 126, 0.62));
}

.entity-humanoid.back-view .h-body::before,
.entity-humanoid.back-view .h-body::after {
    opacity: 0;
    background: none;
}

.entity-humanoid.back-view .h-legs::before,
.entity-humanoid.back-view .h-legs::after {
    background: linear-gradient(180deg,
            rgba(212, 196, 150, 0.68),
            rgba(180, 164, 110, 0.16));
}

.entity-humanoid .h-tag-id {
    top: 4px;
    right: -28px;
}

.entity-humanoid .h-tag-height {
    bottom: 16px;
    left: -30px;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Scene-level scan sweep — horizontal light pass ── */
.sim-scene .scene-scan-sweep {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 16;
    overflow: hidden;
}

.sim-scene .scene-scan-sweep::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 215, 120, 0.03),
            rgba(255, 183, 0, 0.06),
            rgba(255, 215, 120, 0.03),
            transparent);
    animation: scene-scan-pass 8s ease-in-out infinite;
}

@keyframes scene-scan-pass {
    0% {
        left: -40%;
    }

    45%,
    55% {
        left: 100%;
    }

    100% {
        left: -40%;
    }
}

/* ── Humanoid floor reflection ── */
.entity-humanoid-reflection {
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 18px;
    height: 32px;
    transform: translateX(-50%) scaleY(-0.5) scaleX(0.9);
    transform-origin: top center;
    opacity: 0.12;
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(255, 183, 0, 0.2),
            transparent 70%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
}

@keyframes entity-glitch {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* ─── HUD PANELS ─────────────────────────────────────────────────────── */

.sim-hud {
    background: linear-gradient(160deg, rgba(28, 28, 30, 0.95) 0%, rgba(18, 18, 20, 0.9) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 183, 0, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s;
}

.sim-hud:hover {
    border-color: rgba(255, 183, 0, 0.15);
}

.sim-hud .hud-glow {
    position: absolute;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.sim-hud .hud-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    height: 48px;
    /* Fixed height to prevent shifting */
}

.sim-hud .hud-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.sim-hud .hud-icon.active {
    background: var(--ceilix-gold);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 183, 0, 0.5), 0 0 60px rgba(255, 183, 0, 0.15);
    animation: pulse-soft 2s infinite;
}

.sim-hud .hud-icon.inactive {
    background: rgba(255, 255, 255, 0.05);
    color: #6b7280;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-hud .hud-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
    margin-bottom: 2px;
}

.sim-hud .hud-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-display);
}

.sim-hud .hud-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sim-hud .hud-row:last-child {
    margin-bottom: 0;
}

.sim-hud .hud-key {
    color: #9ca3af;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.sim-hud .hud-value {
    color: #e5e7eb;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.05em;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sim-flow-chain {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 26;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    max-width: min(88%, 340px);
    pointer-events: none;
}

.sim-flow-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 12, 16, 0.68);
    color: rgba(229, 231, 235, 0.62);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.sim-flow-chip.active {
    border-color: rgba(255, 183, 0, 0.32);
    background: rgba(255, 183, 0, 0.12);
    color: rgba(255, 247, 230, 0.96);
}

.sim-flow-sep {
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 183, 0, 0.42), rgba(255, 183, 0, 0));
    opacity: 0.72;
}

.sim-hud .hud-value-gold {
    color: var(--ceilix-gold);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: rgba(255, 183, 0, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 183, 0, 0.15);
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 183, 0, 0.3);
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sim-hud .hud-value-active {
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--ceilix-gold);
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.4);
    letter-spacing: 0.05em;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sim-hud .hud-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 183, 0, 0.08);
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.7;
    font-style: italic;
}

/* ─── COPY-DRIVEN DIAGRAM SCENES ─────────────────────────────────────── */

.sim-scene.sim-diagram {
    background: linear-gradient(180deg, #0f1419 0%, #121920 52%, #0c1116 100%);
    border-color: rgba(255, 183, 0, 0.1);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sim-scene.sim-diagram::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.16)),
        radial-gradient(circle at 50% 0%, rgba(255, 183, 0, 0.06), transparent 36%);
}

.sim-scene.sim-diagram::after {
    display: none;
}

.sim-scene.sim-diagram .scene-edge-glow,
.sim-scene.sim-diagram .scene-grid,
.sim-scene.sim-diagram .scene-holo-rings,
.sim-scene.sim-diagram .scene-dust,
.sim-scene.sim-diagram .scene-scan-sweep {
    display: none;
}

.sim-mode-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 26;
    min-height: 28px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 12, 16, 0.68);
    color: rgba(229, 231, 235, 0.75);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.sim-person-pin {
    position: absolute;
    width: 34px;
    height: 58px;
    pointer-events: none;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.34));
    z-index: 18;
}

.sim-person-pin::before,
.sim-person-pin::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sim-person-pin::before {
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(255, 247, 230, 0.95), rgba(255, 183, 0, 0.8));
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.16);
}

.sim-person-pin::after {
    top: 15px;
    width: 10px;
    height: 38px;
    border-radius: 999px;
    background:
        linear-gradient(180deg,
            rgba(255, 236, 190, 0.75) 0 3px,
            rgba(255, 200, 100, 0.84) 3px 7px,
            rgba(255, 183, 0, 0.46) 7px 100%);
    box-shadow: 0 0 18px rgba(255, 183, 0, 0.08);
}

.stairs-diagram {
    background:
        radial-gradient(circle at 72% 14%, rgba(255, 183, 0, 0.08), transparent 24%),
        linear-gradient(180deg, #10151a 0%, #131a21 54%, #0c1116 100%);
}

.stairs-diagram-track {
    position: absolute;
    inset: 16% 14% 14% 14%;
}

.stairs-diagram-step {
    position: absolute;
    height: 26px;
    border-radius: 14px;
    background: rgba(18, 23, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 18px rgba(0, 0, 0, 0.2);
}

.stairs-diagram-step-fill {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 248, 226, 0.68), rgba(255, 183, 0, 0.3) 34%, rgba(255, 183, 0, 0.08));
    transition: opacity 0.14s linear;
}

.kitchen-lite-diagram,
.kitchen-zero-diagram {
    background: linear-gradient(180deg, #10161c 0%, #121a20 48%, #0d1218 100%);
}

.kitchen-rail {
    position: absolute;
    top: 18%;
    left: 13%;
    right: 13%;
    height: 18%;
    border-radius: 18px 18px 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, #1a2128, #161c22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.kitchen-sensor-core {
    position: absolute;
    top: calc(18% + 18px);
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(255, 183, 0, 0.86) 46%, rgba(255, 183, 0, 0.16) 74%);
    box-shadow: 0 0 16px rgba(255, 183, 0, 0.3);
    z-index: 12;
}

.kitchen-sensor-beam {
    position: absolute;
    top: calc(18% + 26px);
    left: 50%;
    width: 34%;
    height: 42%;
    transform-origin: top center;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(180deg, rgba(64, 224, 255, 0.16), rgba(255, 183, 0, 0.08), transparent 80%);
    pointer-events: none;
    z-index: 6;
}

.kitchen-counter-plane {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 46%;
    height: 16%;
    border-radius: 16px;
    background: linear-gradient(180deg, #2a3138, #1d242b);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.26);
    z-index: 10;
}

.kitchen-underlight {
    position: absolute;
    left: 14%;
    right: 14%;
    top: calc(46% + 14%);
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 0, 0.95), transparent);
    filter: blur(8px);
    pointer-events: none;
    z-index: 8;
}

.kitchen-axis {
    position: absolute;
    top: 56%;
    bottom: 12%;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
}

.kitchen-threshold-line {
    position: absolute;
    left: 24%;
    right: 24%;
    height: 1px;
    border-top: 1px dashed rgba(255, 183, 0, 0.46);
    z-index: 12;
}

.kitchen-distance-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 18;
    padding: 0.4rem 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 12, 16, 0.7);
    color: rgba(255, 247, 230, 0.92);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.kitchen-zero-lane {
    position: absolute;
    left: 18%;
    right: 18%;
    top: 58%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04));
    border-radius: 999px;
}

.kitchen-zero-trace {
    position: absolute;
    left: 50%;
    top: 58%;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(64, 224, 255, 0.38), rgba(255, 183, 0, 0.18), transparent);
    filter: blur(6px);
    z-index: 12;
}

.kitchen-zero-cursor {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(64, 224, 255, 0.82) 42%, rgba(255, 183, 0, 0.38) 70%, transparent 82%);
    box-shadow: 0 0 24px rgba(64, 224, 255, 0.24);
    z-index: 16;
}

.kitchen-zero-pulse {
    position: absolute;
    top: calc(18% + 12px);
    left: 50%;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(64, 224, 255, 0.22);
    box-shadow: 0 0 24px rgba(64, 224, 255, 0.08);
    z-index: 11;
}

.corridor-diagram {
    background: linear-gradient(180deg, #10161c 0%, #121920 54%, #0c1116 100%);
}

.corridor-ambient-wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(88, 156, 255, 0.24), transparent 34%),
        radial-gradient(circle at 50% 10%, rgba(255, 236, 190, 0.22), transparent 36%);
    transition: opacity 0.2s linear;
}

.corridor-ceiling-rail,
.corridor-floor-rail {
    position: absolute;
    left: 12%;
    right: 12%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.corridor-ceiling-rail {
    top: 18%;
    height: 18px;
    background: rgba(18, 24, 30, 0.95);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.corridor-floor-rail {
    bottom: 15%;
    height: 20%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(9, 11, 14, 0.72));
}

.corridor-strip-light {
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 183, 0, 0.2), rgba(255, 183, 0, 0.95), rgba(255, 183, 0, 0.2));
    filter: blur(1px);
}

.corridor-sensor-pod {
    position: absolute;
    top: 14%;
    left: 50%;
    width: 20px;
    height: 10px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #41505d, #2b3640);
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 14;
}

.corridor-radar-zone {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 34%;
    height: 28%;
    transform-origin: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 224, 255, 0.18), rgba(64, 224, 255, 0.04) 50%, transparent 76%);
    pointer-events: none;
    z-index: 8;
}

.corridor-floor-light {
    position: absolute;
    bottom: 22%;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.3), transparent 74%);
    filter: blur(8px);
    z-index: 9;
}

.motion-diagram {
    background: linear-gradient(180deg, #10161c 0%, #121920 54%, #0c1116 100%);
}

.motion-room-shell {
    position: absolute;
    inset: 16% 12% 16% 12%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(8, 10, 12, 0.22));
}

.motion-room-light {
    position: absolute;
    left: 18%;
    right: 18%;
    top: 18%;
    height: 46%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 244, 218, 0.72), rgba(255, 183, 0, 0.22) 46%, transparent 78%);
    filter: blur(24px);
    z-index: 6;
}

.motion-sensor-pod {
    position: absolute;
    top: 18%;
    left: 50%;
    width: 30px;
    height: 14px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #41505d, #2c3640);
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 12;
}

.motion-sensor-cone {
    position: absolute;
    top: 24%;
    left: 50%;
    width: 42%;
    height: 46%;
    transform-origin: top center;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(180deg, rgba(64, 224, 255, 0.14), rgba(255, 183, 0, 0.08), transparent 82%);
    z-index: 7;
}

.motion-floor-band {
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 17%;
    height: 18%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 11, 14, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.motion-hold-meter {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 9%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    z-index: 14;
}

.motion-hold-fill {
    height: 100%;
    width: 100%;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(255, 183, 0, 0.9), rgba(255, 183, 0, 0.28));
}

@media (max-width: 768px) {
    .sim-mode-badge {
        top: auto;
        right: 10px;
        bottom: 10px;
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    .sim-person-pin {
        width: 30px;
        height: 52px;
    }

    .kitchen-distance-badge {
        font-size: 0.62rem;
    }
}



/* ─── STAIRS SPECIFIC ────────────────────────────────────────────────── */

.stairs-step {
    position: relative;
    height: 28px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px 4px 0 0;
    background: #25252A;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    overflow: visible;
    z-index: 1;
}

.stairs-step.lit {
    background: #4A3600;
    border-top-color: var(--ceilix-gold);
    box-shadow: 0 -15px 40px rgba(255, 183, 0, 0.4), inset 0 2px 10px rgba(255, 183, 0, 0.8);
}

/* Classic stairs scene */
.stairs-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 14%, rgba(255, 183, 0, 0.08), transparent 24%),
        linear-gradient(180deg, #101318 0%, #13181d 54%, #0d1014 100%);
}

.stairs-ambient {
    position: absolute;
    inset: auto 6% 7% 6%;
    height: 28%;
    background: radial-gradient(ellipse at center, rgba(255, 183, 0, 0.1), transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}

.stairs-stack {
    position: absolute;
    inset: 10% 12% 12% 12%;
}

.stairs-stack::before {
    content: '';
    position: absolute;
    inset: 8% 12% auto 12%;
    height: 52%;
    background: linear-gradient(180deg, rgba(255, 183, 0, 0.03), transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.stairs-step {
    position: absolute;
    transform-origin: center;
    height: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
        linear-gradient(180deg, rgba(42, 47, 54, 0.96), rgba(17, 20, 24, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.22);
    border-radius: 14px;
}

.stairs-step::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    border-radius: 999px;
}

.stairs-step::after {
    display: none;
}

.stairs-step.lit::before {
    background: linear-gradient(90deg, transparent, rgba(255, 232, 180, 0.6), transparent);
}

.stairs-person {
    position: absolute;
    z-index: 30;
    transform-origin: bottom center;
    transition: transform 0.14s linear;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.48));
}

.stairs-person .entity-humanoid {
    transform: scale(1);
    transform-origin: bottom center;
}

.stairs-person .entity-humanoid .h-tag {
    display: none;
}

@media (max-width: 768px) {
    .stairs-stack {
        inset: 8% 4% 8% 4%;
    }

    .stairs-person .entity-humanoid {
        transform: scale(0.92);
    }

    .sim-flow-chain {
        top: 10px;
        left: 10px;
        gap: 0.35rem;
        max-width: calc(100% - 20px);
    }

    .sim-flow-chip {
        min-height: 24px;
        padding: 0.3rem 0.5rem;
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    .sim-flow-sep {
        width: 10px;
    }
}

/* ─── CORRIDOR SPECIFIC ──────────────────────────────────────────────── */

.corridor-led-strip {
    position: absolute;
    top: 12px;
    left: 32px;
    right: 32px;
    height: 28px;
    display: flex;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.92), rgba(18, 18, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.corridor-led-strip .led-segment {
    flex: 1;
    height: 100%;
    background: var(--ceilix-gold);
    transition: opacity 0.1s;
}

.corridor-scene .scene-grid,
.corridor-scene .scene-holo-rings {
    display: none;
}

.corridor-scene .scene-dust {
    opacity: 0.18;
}

.corridor-scene {
    background: linear-gradient(180deg, #101419 0%, #141920 50%, #0d1115 100%);
}

.corridor-shell {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.16));
    z-index: 0;
}

.corridor-ceiling-plane {
    position: absolute;
    left: 14%;
    right: 14%;
    top: 14%;
    height: 14%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 183, 0, 0.02));
    border-radius: 999px;
    z-index: 1;
}

.corridor-floor-plane {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 14%;
    height: 16%;
    background:
        linear-gradient(180deg, rgba(255, 183, 0, 0.06), rgba(255, 183, 0, 0.01)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(8, 10, 12, 0.82));
    border-radius: 999px;
    z-index: 1;
}

.corridor-sidewall {
    position: absolute;
    top: 14%;
    bottom: 14%;
    width: 10%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(18, 22, 26, 0.7));
    border-radius: 20px;
    z-index: 1;
}

.corridor-sidewall.left {
    left: 0;
    clip-path: none;
}

.corridor-sidewall.right {
    right: 0;
    clip-path: none;
}

.corridor-backwall-glow {
    position: absolute;
    left: 44%;
    right: 44%;
    top: 28%;
    bottom: 38%;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(255, 183, 0, 0.24), rgba(154, 218, 255, 0.05) 42%, transparent 76%);
    filter: blur(18px);
    z-index: 2;
    pointer-events: none;
}

.corridor-sensor-node {
    position: absolute;
    top: 18%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 183, 0, 0.85) 45%, rgba(255, 183, 0, 0.12) 70%);
    box-shadow: 0 0 14px rgba(255, 183, 0, 0.35);
    z-index: 12;
}

.corridor-floor-glow {
    position: absolute;
    bottom: 14%;
    left: 18%;
    right: 18%;
    height: 28px;
    display: flex;
    opacity: 0.24;
    filter: blur(8px);
    pointer-events: none;
    z-index: 2;
}

.corridor-presence-wave {
    position: absolute;
    top: 22%;
    bottom: 22%;
    width: 10%;
    min-width: 72px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 183, 0, 0.18), rgba(255, 183, 0, 0.06), transparent 72%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 5;
}

.corridor-presence-reflection {
    position: absolute;
    bottom: 15%;
    width: 18%;
    min-width: 96px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 183, 0, 0.18), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 4;
}

.corridor-floor-glow .led-segment {
    flex: 1;
    height: 100%;
    background: var(--ceilix-gold);
    transition: opacity 0.1s;
}

.corridor-wall-line {
    position: absolute;
    width: 1px;
    top: 22%;
    bottom: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    z-index: 3;
    pointer-events: none;
    opacity: 0.26;
}

/* ─── SHOP WINDOW SPECIFIC ───────────────────────────────────────────── */

.shop-window-frame {
    position: absolute;
    top: 8%;
    left: 5%;
    width: 90%;
    height: 70%;
    border: 6px solid #25252A;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10;
    overflow: visible;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
}

.shop-spotlights-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 8%;
    z-index: 0;
}

.spot-cell {
    position: relative;
}

.shop-spotlight {
    position: absolute;
    top: -5%;
    left: 50%;
    width: 120%;
    height: 150%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at top, rgba(255, 183, 0, 0.65) 0%, transparent 90%);
    transition: opacity 0.5s;
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(255, 183, 0, 0.35));
}

.shop-products {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-end;
    height: 80%;
    width: 100%;
    padding: 0 8% 1rem 8%;
}

.shop-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 12px;
    transition: all 0.5s;
}

.shop-product svg {
    stroke: rgba(255, 255, 255, 0.15);
    transition: all 0.5s;
}

.shop-product.lit svg {
    stroke: var(--ceilix-gold);
    filter: drop-shadow(0 0 15px rgba(255, 183, 0, 0.8));
}

.shop-sidewalk {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to bottom, #1C1C1E, #000);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 0;
}

@media (max-width: 1024px) {
    .shop-window-frame {
        top: 6%;
        left: 4%;
        width: 92%;
        height: 60%;
    }

    .shop-spotlight {
        width: 130%;
        height: 160%;
    }
}

/* ─── KITCHEN SPECIFIC ───────────────────────────────────────────────── */

.kitchen-upper-cabinet {
    width: 100%;
    height: 22%;
    background: linear-gradient(180deg, #1c2025, #171a1f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 4px;
}

.kitchen-cabinet-aura {
    position: absolute;
    inset: 8% 10% auto 10%;
    height: 55%;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(255, 183, 0, 0.2), transparent 70%);
    filter: blur(16px);
    pointer-events: none;
}

.kitchen-cabinet-seam {
    position: absolute;
    top: 18%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
    opacity: 0.8;
}

.kitchen-cabinet-seam.seam-a {
    left: 34%;
}

.kitchen-cabinet-seam.seam-b {
    right: 34%;
}

.kitchen-sensor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    transition: all 0.3s;
}

.kitchen-sensor-dot.active {
    box-shadow: 0 0 10px 2px rgba(239, 68, 68, 0.6);
}

.kitchen-sensor-dot.inactive {
    opacity: 0.4;
}

.kitchen-radar-cone {
    position: absolute;
    left: 50%;
    top: calc(100% - 4px);
    width: 180px;
    height: 150px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at top, rgba(154, 218, 255, 0.18), rgba(255, 183, 0, 0.08) 45%, transparent 72%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    filter: blur(8px);
    pointer-events: none;
}

.kitchen-radar-ring {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid rgba(154, 218, 255, 0.18);
    pointer-events: none;
}

.kitchen-radar-ring.ring-b {
    width: 132px;
    height: 132px;
    top: calc(100% - 10px);
    border-color: rgba(255, 183, 0, 0.16);
}

.kitchen-radar-sweep {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 148px;
    transform: translateX(-50%);
    transform-origin: top center;
    background: linear-gradient(180deg, rgba(154, 218, 255, 0.95), rgba(154, 218, 255, 0.15), transparent);
    box-shadow: 0 0 22px rgba(154, 218, 255, 0.3);
    pointer-events: none;
}

.kitchen-light {
    position: absolute;
    top: 22%;
    left: 0;
    right: 0;
    height: 42%;
    background: linear-gradient(to bottom, rgba(255, 183, 0, 0.62), transparent);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s;
}

.kitchen-light-core {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 31%;
    height: 28%;
    background: radial-gradient(ellipse at center, rgba(255, 243, 214, 0.85), rgba(255, 183, 0, 0.28) 40%, transparent 75%);
    filter: blur(18px);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 11;
    transition: opacity 0.3s;
}

.kitchen-backsplash {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 45%;
    background: #151518;
    z-index: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.kitchen-backsplash-line {
    position: absolute;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    opacity: 0.65;
}

.kitchen-backsplash-line.line-a {
    top: 32%;
}

.kitchen-backsplash-line.line-b {
    top: 62%;
}

.kitchen-backsplash-sheen {
    position: absolute;
    inset: 10% 6% auto 6%;
    height: 48%;
    background:
        linear-gradient(90deg, transparent, rgba(154, 218, 255, 0.18), transparent),
        linear-gradient(180deg, rgba(255, 183, 0, 0.1), transparent);
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
    transition: opacity 0.3s;
}

.kitchen-worktop {
    position: relative;
    width: 100%;
    height: 24%;
    background: linear-gradient(180deg, #2b3138, #1c2026);
    border-radius: 1rem 1rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.32);
    z-index: 20;
}

.kitchen-worktop-edge {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    opacity: 0.7;
}

.kitchen-floor-presence {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 32%;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 183, 0, 0.28), transparent 72%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 5;
}

.kitchen-worktop-reflection {
    position: absolute;
    inset: 8% 8% auto 8%;
    height: 18px;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 0, 0.38), rgba(255, 255, 255, 0.22), rgba(255, 183, 0, 0.38), transparent);
    border-radius: 999px;
    filter: blur(6px);
    pointer-events: none;
    transition: opacity 0.3s;
}

.kitchen-zero-operator {
    opacity: 0.96;
}

.kitchen-zero-sensor-pulse {
    position: absolute;
    left: 50%;
    top: calc(100% - 2px);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    transform: translateX(-50%);
    background:
        radial-gradient(circle, rgba(154, 218, 255, 0.22), rgba(255, 183, 0, 0.12) 34%, transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}

.kitchen-zero-swipe {
    position: absolute;
    z-index: 30;
    width: 56px;
    height: 56px;
    transform: translate(50%, -50%);
    pointer-events: none;
}

.kitchen-zero-swipe-tail {
    position: absolute;
    right: 52%;
    top: 50%;
    width: calc(110px * var(--swipe-stretch, 1));
    height: 10px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(154, 218, 255, 0), rgba(154, 218, 255, calc(var(--swipe-opacity, 0.4) * 0.75)), rgba(255, 183, 0, calc(var(--swipe-opacity, 0.4) * 0.55)));
    filter: blur(5px);
}

.kitchen-zero-swipe-core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%) scale(var(--swipe-scale, 1));
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 248, 235, 1), rgba(154, 218, 255, 0.8) 42%, rgba(255, 183, 0, 0.52) 68%, transparent 78%);
    box-shadow:
        0 0 22px rgba(154, 218, 255, 0.35),
        0 0 38px rgba(255, 183, 0, 0.18);
    opacity: var(--swipe-opacity, 0.4);
}

.kitchen-zero-swipe-ring {
    position: absolute;
    inset: 50% auto auto 50%;
    border-radius: 50%;
    border: 1px solid rgba(154, 218, 255, 0.34);
    transform: translate(-50%, -50%) scale(var(--swipe-scale, 1));
    opacity: calc(var(--swipe-opacity, 0.4) * 0.9);
}

.kitchen-zero-swipe-ring.ring-a {
    width: 34px;
    height: 34px;
}

.kitchen-zero-swipe-ring.ring-b {
    width: 52px;
    height: 52px;
    border-color: rgba(255, 183, 0, 0.22);
    opacity: calc(var(--swipe-opacity, 0.4) * 0.55);
}

/* ─── MOTION SENSOR SPECIFIC ─────────────────────────────────────────── */

.sensor-ceiling {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #25252A;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sensor-room-shell {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #101419 0%, #151a1f 54%, #0d1014 100%);
    z-index: 0;
}

.sensor-side-wall {
    position: absolute;
    top: 16%;
    bottom: 18%;
    width: 10%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(20, 24, 28, 0.78));
    border-radius: 20px;
    z-index: 1;
}

.sensor-side-wall.left {
    left: 0;
    clip-path: none;
}

.sensor-side-wall.right {
    right: 0;
    clip-path: none;
}

.sensor-back-panel {
    position: absolute;
    left: 16%;
    right: 16%;
    top: 20%;
    bottom: 18%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 10, 12, 0.12));
    z-index: 1;
}

.sensor-wall-wash {
    position: absolute;
    left: 24%;
    right: 24%;
    top: 16%;
    height: 38%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 242, 214, 0.24), rgba(255, 183, 0, 0.14) 42%, transparent 74%);
    filter: blur(26px);
    z-index: 3;
    pointer-events: none;
}

.sensor-device {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 16px;
    background: #36404a;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.sensor-ring {
    position: absolute;
    top: calc(18% - 12px);
    left: 50%;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid rgba(154, 218, 255, 0.22);
    box-shadow: 0 0 24px rgba(154, 218, 255, 0.08);
    z-index: 24;
    pointer-events: none;
}

.sensor-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.sensor-led.active {
    background: #ef4444;
    animation: pulse-soft 1s infinite;
    box-shadow: 0 0 15px rgba(239, 68, 68, 1);
}

.sensor-led.inactive {
    background: rgba(34, 197, 94, 0.5);
}

.sensor-cone {
    position: absolute;
    top: 22%;
    left: 24%;
    width: 52%;
    height: 54%;
    transform: none;
    border: 0;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.1), rgba(255, 183, 0, 0.05), transparent 78%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 10;
    filter: blur(2px);
}

.sensor-room-light {
    position: absolute;
    top: 14%;
    left: 0;
    transform: none;
    width: 100%;
    height: 70%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    mix-blend-mode: screen;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.sensor-floor {
    position: absolute;
    bottom: 14%;
    left: 14%;
    right: 14%;
    height: 16%;
    background: linear-gradient(to top, #101318, #1a1f25);
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.sensor-floor-glow {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 14%;
    height: 26px;
    background: radial-gradient(ellipse at center, rgba(255, 183, 0, 0.22), transparent 72%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 11;
}

.sensor-presence-column {
    position: absolute;
    top: 24%;
    bottom: 22%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 183, 0, 0.12), rgba(255, 183, 0, 0.08), transparent);
    filter: blur(12px);
    z-index: 8;
    pointer-events: none;
}

/* ─── EFFECTS SPECIFIC ───────────────────────────────────────────────── */

.effects-led-profile {
    position: relative;
    width: 90%;
    height: 62px;
    background: linear-gradient(180deg, rgba(6, 6, 8, 0.96), rgba(18, 18, 22, 0.96));
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.effects-led-strip {
    width: 96%;
    height: 54%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.98), rgba(24, 24, 30, 0.96));
    border-radius: 9999px;
    overflow: hidden;
    padding: 0 8px;
    position: relative;
    z-index: 10;
}

.effects-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: all 0.15s;
}

.effects-stage-glow {
    position: absolute;
    inset: 18% 14%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.effects-mode-indicator {
    position: absolute;
    bottom: 16%;
    right: 9%;
    z-index: 4;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.58);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(10, 10, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.effects-stage-line {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 37%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    z-index: 1;
}

.effects-led-reflection {
    position: absolute;
    left: 14%;
    right: 14%;
    top: 54%;
    height: 24%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 183, 0, 0.12), transparent 72%);
    filter: blur(18px);
    transform: scaleY(0.85);
    z-index: 1;
    pointer-events: none;
}

/* LED Effect: Rainbow */
.effects-led.rainbow {
    animation: rainbow-cycle 2s linear infinite;
}

@keyframes rainbow-cycle {
    0% {
        background: hsl(0, 100%, 50%);
        box-shadow: 0 0 10px hsl(0, 100%, 50%);
    }

    33% {
        background: hsl(120, 100%, 50%);
        box-shadow: 0 0 10px hsl(120, 100%, 50%);
    }

    66% {
        background: hsl(240, 100%, 50%);
        box-shadow: 0 0 10px hsl(240, 100%, 50%);
    }

    100% {
        background: hsl(360, 100%, 50%);
        box-shadow: 0 0 10px hsl(360, 100%, 50%);
    }
}

/* LED Effect: Pulse */
.effects-led.pulse {
    background: var(--ceilix-gold);
    animation: led-pulse 2s ease-in-out infinite;
}

@keyframes led-pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 15px var(--ceilix-gold);
    }
}

/* LED Effect: Comet */
.effects-led.comet {
    background: #00E5FF;
    animation: led-comet 1.5s linear infinite;
}

@keyframes led-comet {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
        box-shadow: 0 0 15px #00E5FF;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* LED Effect: Sparkle */
.effects-led.sparkle {
    background: #fff;
    animation: led-sparkle 1.1s ease-in-out infinite;
}

@keyframes led-sparkle {
    0% {
        opacity: 0.25;
        transform: scale(0.7);
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    }

    40% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
    }

    70% {
        opacity: 0.6;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.7);
    }
}

/* ─── MUSIC EQUALIZER ENHANCED ───────────────────────────────────────── */

.eq-bar {
    flex: 1;
    background: linear-gradient(to top, #f97316, var(--ceilix-gold));
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.6);
    position: relative;
    transition: height 0.1s ease;
}

.eq-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(4px);
}

.eq-bar::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 40px;
    background: var(--ceilix-gold);
    filter: blur(16px);
    opacity: 0.6;
    pointer-events: none;
}

.eq-floor-line {
    position: absolute;
    bottom: 4rem;
    width: 90%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    filter: blur(1px);
}

.eq-floor-glow {
    position: absolute;
    bottom: 0;
    height: 4rem;
    width: 90%;
    background: linear-gradient(to top, transparent, rgba(255, 183, 0, 0.2));
    filter: blur(16px);
    pointer-events: none;
}

[x-ref="waveformCanvas"] {
    filter: drop-shadow(0 0 28px rgba(255, 183, 0, 0.12));
}

/* ─── INTENSITY BAR ──────────────────────────────────────────────────── */

.intensity-bar-track {
    width: 64px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
}

.intensity-bar-fill {
    height: 100%;
    background: var(--ceilix-gold);
    transition: width 0.3s;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS — Products Page
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── NOISE TEXTURE OVERLAY ─────────────────────────────────────────────── */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: overlay;
}

/* ─── SECTION DOT NAVIGATION ────────────────────────────────────────────── */

.section-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(12, 12, 14, 0.42), rgba(12, 12, 14, 0.12));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-nav .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.section-nav .nav-dot:hover {
    background: rgba(255, 183, 0, 0.4);
    border-color: rgba(255, 183, 0, 0.6);
    transform: scale(1.4);
}

.section-nav .nav-dot.active {
    background: var(--ceilix-gold);
    border-color: var(--ceilix-gold);
    box-shadow: 0 0 12px rgba(255, 183, 0, 0.6), 0 0 30px rgba(255, 183, 0, 0.2);
    transform: scale(1.3);
}

.section-nav .nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(18, 18, 20, 0.94);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
    cursor: pointer;
}

.section-nav .nav-dot:hover::before,
.section-nav .nav-dot.active::before {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 183, 0, 0.2);
    box-shadow: 0 0 18px rgba(255, 183, 0, 0.08);
}

.section-flow-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.app-floating-card {
    position: absolute;
    z-index: 15;
    width: 220px;
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
    background: linear-gradient(160deg, rgba(20, 20, 24, 0.88), rgba(12, 12, 14, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
}

.app-floating-card.top-card {
    top: 8%;
    left: 0;
    transform: translateX(-24%);
}

.app-floating-card.bottom-card {
    right: 0;
    bottom: 8%;
    transform: translateX(24%);
}

.app-floating-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 183, 0, 0.72);
    margin-bottom: 0.5rem;
}

.app-floating-value {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1024px) {
    .app-floating-card {
        display: none;
    }
}

@media (max-width: 1024px) {
    .section-nav {
        display: none;
    }
}

/* ─── HERO PARTICLE MESH CANVAS ─────────────────────────────────────────── */

#hero-mesh-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* ─── STAGGERED TEXT REVEAL ─────────────────────────────────────────────── */

.stagger-reveal .stagger-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-15deg);
    animation: stagger-word-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stagger-word-in {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* ─── SCROLL FADE HERO ──────────────────────────────────────────────────── */

.scroll-fade-header {
    transition: opacity 0.3s, filter 0.5s, transform 0.5s;
}

.scroll-fade-header.faded {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-30px);
}

/* ─── HUD SCAN LINE ─────────────────────────────────────────────────────── */

.sim-hud::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 20%, rgba(255, 183, 0, 0.4), transparent 80%);
    z-index: 20;
    pointer-events: none;
    animation: hud-scan 3s linear infinite;
}

@keyframes hud-scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ─── DATA TICKER EFFECT ────────────────────────────────────────────────── */

.hud-value[data-tick],
.hud-value-gold[data-tick] {
    transition: transform 0.2s, opacity 0.2s;
}

.hud-value.tick-update,
.hud-value-gold.tick-update {
    animation: tick-flash 0.5s ease;
}

@keyframes tick-flash {
    0% {
        transform: scale(1);
        box-shadow: none;
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 12px rgba(255, 183, 0, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: none;
    }
}

/* ─── CTA BUTTON AT EACH SECTION ────────────────────────────────────────── */

.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: var(--ceilix-gold);
    border: 1px solid rgba(255, 183, 0, 0.3);
    background: rgba(255, 183, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-gradient);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.section-cta:hover {
    color: #000;
    border-color: var(--ceilix-gold);
    box-shadow: 0 0 30px rgba(255, 183, 0, 0.4), 0 0 60px rgba(255, 183, 0, 0.1);
    transform: translateY(-2px);
}

.section-cta:hover::before {
    transform: translateY(0);
}

.section-cta span,
.section-cta svg {
    position: relative;
    z-index: 1;
}

/* ─── SECTION CTA BADGE (PRICE / TAG) ───────────────────────────────────── */

.section-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ceilix-gold);
    background: rgba(255, 183, 0, 0.06);
    border: 1px solid rgba(255, 183, 0, 0.15);
    padding: 6px 16px;
    border-radius: 9999px;
    margin-top: 1.5rem;
}

/* ─── PHONE MOCKUP FLOAT ────────────────────────────────────────────────── */

.phone-float {
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(1deg);
    }

    66% {
        transform: translateY(-6px) rotate(-0.5deg);
    }
}

/* Phone screen animation */
.phone-screen-live {
    position: relative;
    overflow: hidden;
}

.phone-screen-live::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255, 183, 0, 0.08), transparent);
    animation: screen-scan 4s linear infinite;
    pointer-events: none;
}

@keyframes screen-scan {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* ─── ENHANCED FOOTER ───────────────────────────────────────────────────── */

.premium-footer {
    background: linear-gradient(to bottom, #0a0a0c, #050506);
    border-top: 1px solid rgba(255, 183, 0, 0.08);
}

.premium-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .premium-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.premium-footer .footer-heading {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--ceilix-gold);
    margin-bottom: 1.25rem;
}

.premium-footer .footer-link {
    color: #6b7280;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.25rem 0;
}

.premium-footer .footer-link:hover {
    color: #fff;
}

/* ─── ENHANCED SIM: STAIRS 3D PERSPECTIVE ───────────────────────────────── */

.stairs-step.lit::after {
    display: none;
}

/* Gold Dust Particles */
.dust-particle {
    position: absolute;
    bottom: 50%;
    /* Start slightly above the middle of the step */
    left: 50%;
    background: var(--ceilix-gold);
    border-radius: 50%;
    pointer-events: none;
    filter: drop-shadow(0 0 4px var(--ceilix-gold));
    z-index: 60;
    will-change: transform, opacity;
}

/* Stair glow particles */
.stairs-step.lit .stair-particle {
    display: none;
}

@keyframes stair-particle-rise {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.3);
    }
}

/* ─── ENHANCED SIM: CORRIDOR WALL LINES ─────────────────────────────────── */

.corridor-wall-line {
    position: absolute;
    width: 1px;
    top: 22%;
    bottom: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    z-index: 3;
    pointer-events: none;
    opacity: 0.26;
}

/* ─── ENHANCED SIM: DETECTION CONE PULSE ────────────────────────────────── */

.sensor-cone-pulse {
    position: absolute;
    top: 22%;
    left: 24%;
    width: 52%;
    height: 54%;
    transform: none;
    border: 0;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.06), rgba(255, 183, 0, 0.03), transparent 82%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 9;
    animation: cone-pulse 2s ease-in-out infinite;
}

@keyframes cone-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

/* ─── ENHANCED SIM: EQUALIZER REFLECTION ────────────────────────────────── */

.eq-reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    z-index: 5;
    pointer-events: none;
    opacity: 0.3;
    transform: scaleY(-1);
    filter: blur(3px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

/* ─── ENHANCED SIM: LED PROFILE 3D GLOW ─────────────────────────────────── */

.effects-led-profile {
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(var(--ceilix-gold-rgb), 0.08);
}

.effects-led-glow-aura {
    position: absolute;
    inset: -36px;
    background: radial-gradient(ellipse at center, rgba(var(--ceilix-gold-rgb), 0.16), transparent 62%);
    pointer-events: none;
    animation: led-aura 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes led-aura {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* ─── FLOATING CTA BUTTON ───────────────────────────────────────────────── */

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #000;
    background: var(--gold-gradient);
    box-shadow: 0 0 30px rgba(255, 183, 0, 0.5), 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    background: #fff;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .floating-cta {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
    }
}

/* ─── SECTION REVEAL ANIMATIONS ─────────────────────────────────────────── */

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ─── GOLD ACCENT DECORATIVE LINE ───────────────────────────────────────── */

.gold-accent-line {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 1.5rem 0;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.3);
}

/* ─── HUD INFO ──────────────────────────────────────────────────────────── */
.hud-info {
    font-size: 0.75rem;
    color: #6B7280;
    /* gray-500 */
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* ─── HUD SCANLINE EFFECT ──────────────────────────────────────────────── */
.hud-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 183, 0, 0.05) 10%,
            rgba(255, 183, 0, 0.2) 50%,
            rgba(255, 183, 0, 0.05) 90%,
            transparent 100%);
    height: 20px;
    z-index: 50;
    pointer-events: none;
    animation: scanline-pass 3s linear infinite;
    mix-blend-mode: color-dodge;
}

@keyframes scanline-pass {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(200px);
        opacity: 0;
    }
}

/* ─── PRODUCT SECTION NUMBER ────────────────────────────────────────────── */

.product-section-number {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    pointer-events: none;
    z-index: 0;
    transition: color 0.5s;
}

.reveal-up.visible .product-section-number {
    color: rgba(255, 183, 0, 0.05);
}

/* ─── PREMIUM SMART LIGHTING SYSTEM ─────────────────────────────────────── */

.smart-shell {
    position: relative;
    overflow: hidden;
}

.smart-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 22%, transparent 85%);
    opacity: 0.35;
    z-index: 0;
}

.smart-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.smart-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.smart-kicker::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--ceilix-gold);
    box-shadow: 0 0 16px rgba(255, 183, 0, 0.7);
}

.smart-panel,
.smart-line-card,
.smart-use-card,
.smart-step,
.smart-compare-card,
.smart-surface-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 2rem;
    backdrop-filter: blur(34px);
    -webkit-backdrop-filter: blur(34px);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}

.smart-panel::after,
.smart-line-card::after,
.smart-use-card::after,
.smart-step::after,
.smart-compare-card::after,
.smart-surface-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(255, 183, 0, 0.14), transparent 48%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.smart-panel:hover,
.smart-line-card:hover,
.smart-use-card:hover,
.smart-step:hover,
.smart-compare-card:hover,
.smart-surface-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 183, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.smart-panel:hover::after,
.smart-line-card:hover::after,
.smart-use-card:hover::after,
.smart-step:hover::after,
.smart-compare-card:hover::after,
.smart-surface-card:hover::after {
    opacity: 1;
}

.smart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.85rem;
    padding: 1rem 1.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        background 0.35s ease;
}

.smart-button:hover {
    transform: translateY(-2px);
}

.smart-button--primary {
    color: #050506;
    background: linear-gradient(135deg, #ffcf6e 0%, #ffb700 42%, #f59e0b 100%);
    box-shadow: 0 20px 40px rgba(255, 183, 0, 0.22);
}

.smart-button--primary:hover {
    box-shadow: 0 26px 56px rgba(255, 183, 0, 0.28);
}

.smart-button--secondary {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.smart-button--secondary:hover {
    border-color: rgba(255, 183, 0, 0.36);
    color: #fff;
    box-shadow: 0 20px 44px rgba(255, 183, 0, 0.08);
}

.smart-stat {
    position: relative;
    padding: 1.4rem 1.5rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.smart-stat::before {
    content: "";
    position: absolute;
    inset: auto -25% -65% auto;
    width: 9rem;
    height: 9rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.18), transparent 70%);
}

.smart-line-card {
    padding: 2rem;
}

.smart-line-card--ambient {
    --line-accent: 255, 183, 0;
}

.smart-line-card--touch {
    --line-accent: 134, 213, 255;
}

.smart-line-card--presence {
    --line-accent: 255, 255, 255;
}

.smart-line-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(var(--line-accent), 0.95), rgba(var(--line-accent), 0.12));
}

.smart-line-card .line-glow {
    position: absolute;
    inset: auto -15% -25% auto;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--line-accent), 0.16), transparent 72%);
    pointer-events: none;
}

.smart-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.smart-chip::before {
    content: "";
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.8;
}

.smart-media-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #09090b;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.smart-media-frame img,
.smart-media-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.smart-media-frame:hover img,
.smart-media-frame:hover video {
    transform: scale(1.06);
}

.smart-media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.08) 0%, rgba(3, 3, 4, 0.26) 58%, rgba(3, 3, 4, 0.82) 100%),
        radial-gradient(circle at top left, rgba(255, 183, 0, 0.16), transparent 44%);
}

.smart-compare-card {
    padding: 1.75rem;
}

.smart-compare-card--featured {
    border-color: rgba(255, 183, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 183, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.45),
        0 0 42px rgba(255, 183, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.smart-compare-list {
    display: grid;
    gap: 0.9rem;
}

.smart-compare-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.6;
}

.smart-compare-item::before {
    content: "";
    flex: 0 0 0.6rem;
    width: 0.6rem;
    height: 0.6rem;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.smart-compare-card--featured .smart-compare-item::before {
    background: rgba(255, 183, 0, 0.92);
    box-shadow: 0 0 12px rgba(255, 183, 0, 0.35);
}

.smart-system-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.75rem;
    align-items: center;
}

.smart-system-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    font-family: var(--font-mono);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: none;
    cursor: default;
}

.smart-system-pill::before {
    content: "";
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    opacity: 0.72;
}

.smart-system-pill--core {
    color: #fca5a5;
}

.smart-system-pill--ambient {
    color: #86efac;
}

.smart-system-pill--motion {
    color: #fde047;
}

.smart-system-pill--presence {
    color: #93c5fd;
}

.smart-system-pill--sky {
    color: #7dd3fc;
}

.smart-board-stage,
.smart-demo-card {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(9, 9, 11, 0.82);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.smart-board-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2rem;
    padding: 2rem;
    min-height: 100%;
}

.smart-board-stage::before,
.smart-demo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(255, 183, 0, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(59, 130, 246, 0.06), transparent 54%);
}

.smart-board-copy,
.smart-board-photos,
.smart-demo-card > * {
    position: relative;
    z-index: 1;
}

.smart-board-copy {
    align-self: center;
}

.smart-board-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.smart-board-stat__value {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
}

.smart-board-stat__label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.smart-board-photos {
    position: relative;
    min-height: 34rem;
    padding: 1.5rem 0.75rem 0.75rem;
}

.smart-board-shot {
    position: absolute;
    overflow: hidden;
    border-radius: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.smart-board-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smart-board-shot figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(5, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    line-height: 1.5;
    backdrop-filter: blur(12px);
}

.smart-board-shot--primary {
    inset: 0 10% 16% 0;
    transform: rotate(-4.5deg);
}

.smart-board-shot--secondary {
    inset: 35% 0 0 22%;
    transform: rotate(6deg);
}

.smart-board-callout {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(6, 6, 8, 0.76);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.smart-board-callout::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #ffb700;
    box-shadow: 0 0 12px rgba(255, 183, 0, 0.8);
}

.smart-board-callout--top {
    top: 3%;
    right: 6%;
}

.smart-board-callout--bottom {
    left: 6%;
    bottom: 2%;
}

.smart-demo-card {
    padding: 1.45rem;
}

.smart-demo-card--wide {
    padding: 1.6rem;
}

.smart-demo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.smart-demo-frame {
    position: relative;
    overflow: hidden;
    min-height: 19rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #050507;
}

.smart-demo-frame--compact {
    min-height: 14.5rem;
}

.smart-demo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(4, 4, 5, 0.06) 0%, rgba(4, 4, 5, 0.22) 54%, rgba(4, 4, 5, 0.8) 100%),
        radial-gradient(circle at top left, rgba(255, 183, 0, 0.14), transparent 40%);
}

.smart-demo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.smart-system-card {
    padding: 2rem;
}

.smart-system-copy,
.smart-system-visual-shell {
    min-width: 0;
}

.smart-system-visual-shell {
    position: relative;
    min-height: 21rem;
}

.smart-system-card--video-flow .smart-system-visual-shell {
    display: flex;
    min-height: 100%;
    height: 100%;
    align-self: stretch;
}

.smart-system-media {
    position: relative;
    overflow: hidden;
    min-height: 21rem;
    border-radius: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 4, 5, 0.82);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.smart-system-media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 18%, rgba(var(--system-accent), 0.18), transparent 28%),
        linear-gradient(180deg, rgba(3, 3, 4, 0.02), rgba(3, 3, 4, 0.16) 52%, rgba(3, 3, 4, 0.74) 100%);
    z-index: 1;
}

.smart-system-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 7, 0.34), transparent 22%, transparent 78%, rgba(5, 5, 7, 0.52)),
        linear-gradient(180deg, rgba(5, 5, 7, 0.08), transparent 26%, transparent 58%, rgba(5, 5, 7, 0.82));
    z-index: 1;
}

.smart-system-media--video-free {
    flex: 1 1 auto;
    min-height: 14.7rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.smart-system-media--video-free::before {
    background:
        linear-gradient(180deg, rgba(4, 4, 5, 0.96) 0%, rgba(4, 4, 5, 0.16) 16%, rgba(4, 4, 5, 0.04) 34%, rgba(4, 4, 5, 0.04) 66%, rgba(4, 4, 5, 0.18) 84%, rgba(4, 4, 5, 0.96) 100%);
}

.smart-system-media--video-free::after {
    background: none;
}

.smart-system-media__asset {
    display: block;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.smart-system-media img.smart-system-media__asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transform: scale(1.015);
    filter: saturate(0.92) contrast(1.02);
}

.smart-system-media video.smart-system-media__asset {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    object-fit: contain;
    object-position: center top;
    opacity: 0;
    transform: scale(1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.smart-system-media video.smart-system-media__asset.smart-system-media__asset--active {
    opacity: 0.92;
}

.smart-system-card:hover .smart-system-media img.smart-system-media__asset {
    transform: scale(1.045);
    opacity: 0.96;
}

.smart-system-card:hover .smart-system-media video.smart-system-media__asset.smart-system-media__asset--active {
    transform: scale(1.01);
    opacity: 0.96;
}

.smart-system-card--video-flow .smart-system-media-note {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.15rem 0 0.2rem;
    border: none;
    border-radius: 0;
    background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.72) 42%, rgba(8, 8, 10, 0.9) 100%);
    backdrop-filter: none;
    text-align: center;
}

.smart-system-media--board .smart-system-media__asset {
    object-position: center;
}

.smart-system-media-note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 10, 0.58);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    line-height: 1.45;
    backdrop-filter: blur(12px);
}

.smart-system-thumb {
    position: absolute;
    right: -0.5rem;
    bottom: -0.6rem;
    width: min(12rem, 38%);
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 10, 0.72);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.smart-system-thumb img {
    width: 100%;
    height: 7.2rem;
    display: block;
    object-fit: cover;
    opacity: 0.76;
}

.smart-system-thumb__label {
    padding: 0.72rem 0.8rem 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.45;
}

.smart-system-thumb--soft img {
    opacity: 0.56;
}

.smart-system-chip {
    position: absolute;
    top: -0.35rem;
    right: 0.6rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(8, 8, 10, 0.7);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.68rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.smart-system-list {
    display: grid;
    gap: 0.85rem 1.1rem;
}

.smart-system-list li {
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.6;
}

.smart-system-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(var(--system-accent), 1);
    box-shadow: 0 0 12px rgba(var(--system-accent), 0.4);
}

.smart-system-list--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .smart-board-stage {
        grid-template-columns: 1fr;
    }

    .smart-board-photos {
        min-height: 31rem;
    }

    .smart-system-card {
        padding: 1.5rem;
    }

    .smart-system-visual-shell,
    .smart-system-media {
        min-height: 18rem;
    }

    .smart-system-card--video-flow .smart-system-visual-shell {
        min-height: clamp(22rem, 58vw, 34rem);
    }

    .smart-system-media--video-free {
        min-height: inherit;
    }

    .smart-system-thumb {
        right: 0;
        bottom: -0.25rem;
    }
}

@media (max-width: 768px) {
    .smart-system-ribbon {
        gap: 0.55rem 0.9rem;
    }

    .smart-system-pill {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .smart-board-stage,
    .smart-demo-card {
        border-radius: 1.6rem;
    }

    .smart-board-stage {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .smart-board-photos {
        min-height: 22rem;
        padding: 0.75rem 0.25rem 0.25rem;
    }

    .smart-board-shot--primary {
        inset: 0 9% 15% 0;
    }

    .smart-board-shot--secondary {
        inset: 38% 0 0 20%;
    }

    .smart-board-shot figcaption {
        left: 0.7rem;
        right: 0.7rem;
        bottom: 0.7rem;
        padding: 0.7rem 0.85rem;
        font-size: 0.72rem;
    }

    .smart-board-callout {
        padding: 0.6rem 0.78rem;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .smart-demo-card,
    .smart-demo-card--wide {
        padding: 1.15rem;
    }

    .smart-demo-frame {
        min-height: 14rem;
    }

    .smart-demo-frame--compact {
        min-height: 12.5rem;
    }

    .smart-system-card {
        padding: 1.15rem;
    }

    .smart-system-visual-shell,
    .smart-system-media {
        min-height: 14rem;
    }

    .smart-system-media {
        border-radius: 1.35rem;
    }

    .smart-system-card--video-flow {
        padding-block: 1rem 1.2rem;
    }

    .smart-system-card--video-flow .smart-system-visual-shell {
        min-height: clamp(24rem, 82vh, 34rem);
        min-height: clamp(24rem, 82svh, 34rem);
        margin-inline: -1.15rem;
    }

    .smart-system-card--video-flow .smart-system-media--video-free {
        min-height: inherit;
    }

    .smart-system-media video.smart-system-media__asset {
        width: 100%;
        height: 100%;
        object-position: center;
    }

    .smart-system-media-note {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.72rem 0.82rem;
        font-size: 0.72rem;
    }

    .smart-system-card--video-flow .smart-system-media-note {
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0.95rem 0 0.15rem;
    }

    .smart-system-thumb {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(12rem, 82%);
        margin-top: 0.85rem;
        margin-left: auto;
    }

    .smart-system-thumb img {
        height: 6rem;
    }

    .smart-system-chip {
        top: auto;
        right: auto;
        left: 0.5rem;
        bottom: 0.5rem;
        font-size: 0.62rem;
    }

    .smart-system-list--two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .smart-board-photos {
        min-height: 18.5rem;
    }

    .smart-board-callout--top {
        top: 2%;
        right: 2%;
    }

    .smart-board-callout--bottom {
        left: 2%;
        bottom: 1%;
    }

    .smart-demo-frame,
    .smart-demo-frame--compact {
        min-height: 12rem;
    }

    .smart-system-card--video-flow .smart-system-visual-shell {
        min-height: clamp(23rem, 78vh, 32rem);
        min-height: clamp(23rem, 78svh, 32rem);
    }
}

.smart-use-card,
.smart-step,
.smart-surface-card {
    padding: 1.6rem;
}

.smart-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(255, 183, 0, 0.12);
    border: 1px solid rgba(255, 183, 0, 0.18);
    color: var(--ceilix-gold);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.smart-inline-note {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.7;
}

.smart-hero-grid {
    position: relative;
}

.smart-hero-grid::before {
    content: "";
    position: absolute;
    inset: 12% 10% auto auto;
    width: 15rem;
    height: 15rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.2), transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.smart-visual-stack {
    position: relative;
    display: grid;
    gap: 1.25rem;
}

.smart-visual-stack .stack-card {
    position: relative;
    padding: 1.35rem;
    border-radius: 1.8rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.smart-visual-stack .stack-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 183, 0, 0.05));
}

.smart-visual-stack .stack-card.stack-card--offset {
    margin-left: 3rem;
}

.smart-section-divider {
    width: min(100%, 78rem);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.landing-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, calc(100% - 1.25rem));
    margin: 0.9rem auto 0;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 10, 0.58);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mobile-menu-button,
nav > .landing-nav-wrap > button[aria-label] {
    display: none;
}

nav > .landing-nav-wrap > div.hidden {
    display: none;
}

.mobile-menu-button svg,
nav > .landing-nav-wrap > button[aria-label] svg {
    width: 1.25rem;
    height: 1.25rem;
}

.landing-hero-wrap {
    min-height: 100svh;
}

.landing-hero-stage {
    min-height: 92svh;
    padding-top: 7.5rem;
    padding-bottom: 5rem;
}

.landing-hero-content {
    margin-top: 0 !important;
}

.landing-hero-content.reveal {
    opacity: 1;
    transform: none;
}

.landing-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: clip;
}

.landing-hero-media,
.landing-hero-overlay {
    position: absolute;
    inset: 0;
}

.landing-hero-media {
    overflow: hidden;
}

.landing-hero-media img,
.landing-hero-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1) brightness(0.84);
}

.landing-hero-image {
    opacity: 0;
    animation: heroImageCrossfade 28s ease-in-out infinite;
    will-change: opacity, transform;
}

.landing-hero-image--corridor {
    animation-delay: 0s;
    object-position: center 52%;
}

.landing-hero-image--ceiling {
    animation-delay: 7s;
    object-position: center 54%;
}

.landing-hero-image--stairs {
    animation-delay: 14s;
    object-position: center 48%;
}

.landing-hero-image--kitchen {
    animation-delay: 21s;
    object-position: center 46%;
}

@keyframes heroImageCrossfade {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }

    6% {
        opacity: 1;
        transform: scale(1.06);
    }

    19% {
        opacity: 1;
        transform: scale(1.08);
    }

    25% {
        opacity: 0;
        transform: scale(1.09);
    }

    100% {
        opacity: 0;
        transform: scale(1.04);
    }
}

.landing-hero-overlay {
    background:
        linear-gradient(180deg, rgba(4, 4, 5, 0.2) 0%, rgba(4, 4, 5, 0.32) 24%, rgba(4, 4, 5, 0.68) 68%, rgba(4, 4, 5, 0.94) 100%),
        radial-gradient(circle at 50% 22%, rgba(255, 183, 0, 0.2), transparent 34%),
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.04), rgba(4, 4, 5, 0.24) 46%, transparent 72%),
        linear-gradient(90deg, rgba(4, 4, 5, 0.5) 0%, rgba(4, 4, 5, 0.08) 28%, rgba(4, 4, 5, 0.08) 72%, rgba(4, 4, 5, 0.54) 100%);
}

.landing-hero-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 8rem 1.25rem 4rem;
    text-align: center;
}

.landing-hero-shell::after {
    content: "";
    position: absolute;
    inset: auto 50% -2rem;
    width: 28rem;
    height: 28rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.16), transparent 70%);
    filter: blur(24px);
    pointer-events: none;
    z-index: -1;
}

.landing-hero-title {
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
    font-family: var(--font-display);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 20px 56px rgba(0, 0, 0, 0.6);
    overflow: visible;
}

@keyframes rgb-title-shift {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 8px rgba(255, 94, 94, 0.18));
    }

    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 18px rgba(103, 232, 249, 0.28));
    }

    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(255, 183, 0, 0.22));
    }
}

.editorial-split-title {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.94;
    text-transform: uppercase;
    text-align: center;
    padding-block: 0.05em 0.11em;
    overflow: visible;
}

.editorial-split-title--center {
    align-items: center;
}

.editorial-split-title__line {
    display: block;
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 20px 56px rgba(0, 0, 0, 0.6);
    overflow: visible;
}

.editorial-split-title__line--outline {
    color: rgba(8, 9, 12, 0.94);
    -webkit-text-stroke: 1.85px rgba(255, 255, 255, 0.84);
    paint-order: stroke fill;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.04),
        0 14px 34px rgba(0, 0, 0, 0.32);
}

.editorial-split-title__line--gold {
    color: var(--ceilix-gold);
    text-shadow:
        0 0 18px rgba(255, 183, 0, 0.18),
        0 16px 42px rgba(0, 0, 0, 0.5);
}

.editorial-split-title__line--rgb {
    position: relative;
    color: transparent;
    background-image: linear-gradient(90deg,
            #ff8a8a 0%,
            #ffb700 18%,
            #fff27a 34%,
            #72f1b8 52%,
            #67e8f9 68%,
            #7aa2ff 84%,
            #ff8a8a 100%);
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: rgb-title-shift 7s linear infinite;
    text-shadow: none;
}

.editorial-split-title__line--rgb::after {
    content: "";
    position: absolute;
    left: 0.08em;
    right: 0.08em;
    bottom: 0.12em;
    height: 0.14em;
    border-radius: 999px;
    background: linear-gradient(90deg,
            rgba(255, 122, 122, 0.22),
            rgba(255, 183, 0, 0.18),
            rgba(103, 232, 249, 0.18),
            rgba(122, 162, 255, 0.22));
    filter: blur(12px);
    opacity: 0.85;
    pointer-events: none;
}

.editorial-split-title__line--offset-left {
    transform: translateX(-0.18em);
}

.editorial-split-title__line--offset-right {
    transform: translateX(0.18em);
}

.editorial-split-title--center .editorial-split-title__line--offset-left,
.editorial-split-title--center .editorial-split-title__line--offset-right {
    transform: none;
}

.editorial-split-title--medium .editorial-split-title__line {
    font-size: clamp(2.9rem, 7vw, 5.5rem);
}

.editorial-split-title--narrow {
    max-width: min(100%, 18rem);
}

.landing-hero-copy {
    width: min(100%, 50rem);
    margin: 1.75rem auto 0;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.landing-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}

.landing-hero-actions--side {
    justify-content: flex-start;
    margin-top: 2rem;
}

.hero-mode-strip {
    width: min(100%, 980px);
    margin: 3rem auto 0;
    padding: 0.9rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 10, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-mode-card {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.15rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.hero-mode-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -65%;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.18), transparent 70%);
    opacity: 0.65;
    pointer-events: none;
}

.hero-mode-card--touch::after {
    background: radial-gradient(circle, rgba(158, 216, 255, 0.2), transparent 70%);
}

.hero-mode-card--presence::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

.hero-mode-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin-top: 0.9rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ceilix-gold);
    text-decoration: none;
}

.hero-mode-link:hover {
    color: #fff1be;
}

.landing-section {
    position: relative;
    padding: clamp(5.5rem, 9vw, 8rem) 0;
}

.landing-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent);
}

.landing-intro-shell {
    width: min(100%, 62rem);
    margin: 0 auto;
    text-align: center;
}

.landing-intro-shell .smart-check-list {
    width: min(100%, 56rem);
    margin: 2rem auto 0;
}

.landing-highlights {
    margin-top: 2.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.landing-highlight {
    position: relative;
    display: block;
    height: 100%;
    padding: 1.5rem 1.4rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.landing-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 183, 0, 0.04));
}

.landing-highlight:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.36),
        0 0 40px rgba(255, 183, 0, 0.06);
}

.landing-highlight-media {
    position: relative;
    aspect-ratio: 16 / 11;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.landing-highlight-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 6, 8, 0.05), rgba(6, 6, 8, 0.3));
    pointer-events: none;
}

.landing-highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-highlight-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ceilix-gold);
}

.system-stack {
    width: min(100%, 62rem);
    margin: 2.75rem auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.system-stack-row {
    position: relative;
    display: grid;
    grid-template-columns: 4.2rem minmax(8rem, 0.8fr) minmax(0, 1.6fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 5.8rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    text-align: left;
    text-decoration: none;
}

.system-stack-row::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 183, 0, 0.58), transparent 42%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.system-stack-row:hover::before {
    opacity: 1;
}

.system-stack-index,
.system-stack-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.system-stack-index {
    color: var(--ceilix-gold);
}

.system-stack-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1;
}

.system-stack-copy {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
}

.system-stack-link {
    color: rgba(255, 255, 255, 0.42);
    transition: color 0.25s ease;
}

.system-stack-row:hover .system-stack-link {
    color: var(--ceilix-gold);
}

.system-stack-row--ice .system-stack-index {
    color: var(--ceilix-ice);
}

.system-stack-row--ice::before {
    background: linear-gradient(90deg, rgba(158, 216, 255, 0.5), transparent 42%);
}

.system-stack-row--gold .system-stack-index {
    color: #fff1be;
}

.product-stage {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-top: clamp(3rem, 6vw, 5rem);
}

.product-feature {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.4rem, 3vw, 3rem);
    align-items: center;
    padding: clamp(0.75rem, 1.4vw, 1.2rem);
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-feature::before {
    content: "";
    position: absolute;
    inset: auto -10% -45%;
    width: 20rem;
    height: 20rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.14), transparent 70%);
    pointer-events: none;
}

.product-feature--touch::before {
    background: radial-gradient(circle, rgba(158, 216, 255, 0.16), transparent 70%);
}

.product-feature--presence::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.product-feature--reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.product-feature-copy {
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.product-feature-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.34);
}

.product-feature-title {
    margin-top: 0.9rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.product-feature-copy p {
    margin-top: 1.3rem;
    color: rgba(255, 255, 255, 0.67);
    font-size: 1.05rem;
    line-height: 1.95;
}

.product-feature-points {
    display: grid;
    gap: 0.95rem;
    margin-top: 1.6rem;
}

.product-feature-points li {
    display: flex;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.product-feature-points li::before {
    content: "";
    flex: 0 0 0.7rem;
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffcf6e, #ffb700);
    box-shadow: 0 0 14px rgba(255, 183, 0, 0.25);
}

.product-feature-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.smart-use-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.smart-use-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.04), rgba(10, 10, 12, 0.26));
    pointer-events: none;
}

.smart-use-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.smart-use-body {
    padding: 1.2rem 1.2rem 1.35rem;
}

.smart-use-card--visual {
    padding: 0;
}

.product-feature > .smart-use-card--visual {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.product-feature > .smart-use-card--visual:hover {
    transform: none;
    box-shadow: none;
}

.product-feature > .smart-use-card--visual::after {
    display: none;
}

.why-stage {
    display: grid;
    gap: 2rem;
}

.cta-stage {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(135deg, rgba(255, 183, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(158, 216, 255, 0.04) 100%);
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-stage::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -5%;
    width: 20rem;
    height: 20rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.18), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.smart-check-list {
    display: grid;
    gap: 0.85rem;
}

.smart-check-item {
    display: flex;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.smart-check-item::before {
    content: "";
    flex: 0 0 0.72rem;
    width: 0.72rem;
    height: 0.72rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffcf6e, #ffb700);
    box-shadow: 0 0 14px rgba(255, 183, 0, 0.28);
}

.smart-eye-brow {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.smart-ceiling-outline {
    position: relative;
}

.smart-ceiling-outline::before {
    content: "";
    position: absolute;
    inset: 9% 6% 14%;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(255, 183, 0, 0.06);
    pointer-events: none;
}

@media (min-width: 1025px) {
    nav > .landing-nav-wrap > div.hidden {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .smart-visual-stack .stack-card.stack-card--offset {
        margin-left: 0;
    }

    .mobile-menu-button,
    nav > .landing-nav-wrap > button[aria-label] {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 2.65rem;
        height: 2.65rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 183, 0, 0.52);
        background: rgba(255, 183, 0, 0.16);
        color: #fff;
        box-shadow:
            0 0 24px rgba(255, 183, 0, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .mobile-menu-button svg,
    nav > .landing-nav-wrap > button[aria-label] svg {
        display: none;
    }

    .mobile-menu-button::before,
    nav > .landing-nav-wrap > button[aria-label]::before {
        content: "";
        width: 1.15rem;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        box-shadow:
            0 -0.42rem 0 currentColor,
            0 0.42rem 0 currentColor;
    }

    .hero-mode-strip,
    .landing-highlights,
    .product-feature,
    .product-feature--reverse {
        grid-template-columns: 1fr;
    }

    .landing-hero-stage {
        min-height: 100svh;
    }

    .system-stack-row {
        grid-template-columns: 3.6rem minmax(7rem, 0.7fr) minmax(0, 1.3fr);
    }

    .system-stack-link {
        display: none;
    }

    .product-feature--reverse > .smart-use-card--visual {
        order: -1;
    }

    .product-feature-copy {
        padding-top: 0.4rem;
    }
}

@media (max-width: 768px) {
    html,
    body,
    .smart-shell,
    main,
    section,
    header {
        max-width: 100%;
        overflow-x: hidden;
    }

    .landing-hero-content,
    .landing-hero-content > *,
    .landing-hero-content p,
    #overview .relative.z-10,
    #overview .rounded-\[2rem\],
    #overview p,
    .editorial-split-title,
    .editorial-split-title__line {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .landing-hero-content p {
        width: min(100%, 20rem);
    }

    #overview p {
        width: min(100%, 17rem);
        margin-left: auto;
        margin-right: auto;
    }

    #overview .mb-6.flex {
        max-width: 17rem;
        line-height: 1.7;
    }

    .smart-shell::before {
        background-size: 44px 44px;
        opacity: 0.24;
    }

    .smart-kicker {
        gap: 0.55rem;
        padding: 0.65rem 0.9rem;
        font-size: 0.62rem;
        letter-spacing: 0.22em;
    }

    .smart-button {
        width: 100%;
    }

    .smart-panel,
    .smart-line-card,
    .smart-use-card,
    .smart-step,
    .smart-compare-card,
    .smart-surface-card {
        border-radius: 1.55rem;
    }

    .landing-nav-wrap {
        width: calc(100% - 0.85rem);
        margin-top: 0.4rem;
        padding: 0.55rem 0.8rem;
    }

    .landing-hero-stage {
        min-height: 100svh;
        padding-top: 6.6rem;
        padding-bottom: 4.5rem;
    }

    .landing-hero-content {
        gap: 1.4rem !important;
    }

    .landing-hero-content .smart-eye-brow {
        margin-bottom: 1.2rem !important;
        max-width: 100%;
        white-space: normal;
        line-height: 1.5;
    }

    .landing-hero-content p {
        font-size: 0.98rem;
        line-height: 1.75;
        color: rgba(255, 255, 255, 0.82) !important;
        text-shadow: 0 12px 28px rgba(0, 0, 0, 0.72);
    }

    .landing-hero-actions--side {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.35rem;
    }

    .landing-hero-shell {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .landing-hero-copy {
        line-height: 1.75;
    }

    .landing-hero-title {
        line-height: 0.98;
        letter-spacing: -0.045em;
        padding-block: 0.04em 0.08em;
    }

    .landing-hero-title > span {
        font-size: clamp(2rem, 9.1vw, 3.25rem) !important;
        line-height: 1;
        padding-block: 0.02em 0.06em;
    }

    .landing-intro-shell {
        text-align: left;
    }

    .landing-intro-shell .smart-kicker {
        margin-left: 0;
        margin-right: 0;
    }

    .landing-intro-shell h2 {
        font-size: clamp(2.15rem, 10vw, 3.2rem) !important;
        line-height: 1.02 !important;
        letter-spacing: 0 !important;
    }

    .landing-intro-shell p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .system-stack {
        margin-top: 2rem;
    }

    .system-stack-row {
        grid-template-columns: 3rem 1fr;
        gap: 0.4rem 0.9rem;
        min-height: 0;
        padding: 1.05rem 0;
    }

    .system-stack-title {
        font-size: 1.25rem;
    }

    .system-stack-copy {
        grid-column: 2;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .editorial-split-title {
        gap: 0.05em;
        line-height: 0.98;
        letter-spacing: -0.095em;
        padding-block: 0.08em 0.14em;
    }

    .editorial-split-title__line {
        font-size: clamp(1.55rem, 7.6vw, 2.95rem);
    }

    .editorial-split-title--medium .editorial-split-title__line {
        font-size: clamp(1.72rem, 8vw, 3.1rem);
    }

    .editorial-split-title--narrow {
        max-width: min(100%, 15.5rem);
        gap: 0.12em;
        line-height: 1.04;
        letter-spacing: -0.075em;
    }

    .editorial-split-title--narrow .editorial-split-title__line {
        font-size: clamp(1.34rem, 6.7vw, 2.45rem);
        line-height: 1.02;
        padding-block: 0.04em 0.1em;
    }

    .editorial-split-title__line--outline {
        -webkit-text-stroke: 1.45px rgba(255, 255, 255, 0.84);
    }

    .editorial-split-title__line--offset-left,
    .editorial-split-title__line--offset-right {
        transform: none;
    }

    .hero-mode-strip {
        padding: 0.7rem;
        border-radius: 1.4rem;
    }

    .hero-mode-card,
    .landing-highlight,
    .product-feature {
        border-radius: 1.3rem;
    }

    .landing-highlight-media,
    .smart-use-media {
        border-radius: 0.95rem;
    }

    .product-stage {
        margin-top: 2.4rem;
    }

    .product-feature {
        padding: 0.7rem;
        gap: 1rem;
    }

    .product-feature-title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
        line-height: 1.02;
        letter-spacing: 0;
    }

    .product-feature-copy {
        padding: 0.65rem 0.2rem 0.35rem;
    }

    .product-feature-copy p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .product-feature-points {
        gap: 0.75rem;
        margin-top: 1.15rem;
    }

    .product-feature-points li {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .smart-use-media {
        aspect-ratio: 16 / 11;
    }

    .smart-use-body {
        padding: 1rem;
    }

    .cta-stage .grid {
        gap: 1.5rem !important;
    }

    .cta-stage {
        border-radius: 1.6rem;
    }
}
