/* ==========================================================================
   MenuNova Landing — Visual Enhancements
   Extends landing.css / style.css without replacing any existing rules
   ========================================================================== */

/* --------------------------------------------------------------------------
   AMBIENT GLOW LAYERS (body-level static blobs)
   -------------------------------------------------------------------------- */
.ambient-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    will-change: transform;
    animation: blobDrift var(--duration, 20s) ease-in-out infinite alternate;
}

.ambient-blob--a {
    width: clamp(300px, 40vw, 600px);
    aspect-ratio: 1;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(255, 190, 88, 0.14), transparent 70%);
    --duration: 22s;
}

.ambient-blob--b {
    width: clamp(250px, 35vw, 520px);
    aspect-ratio: 1;
    bottom: 10%;
    right: -8%;
    background: radial-gradient(circle, rgba(184, 121, 79, 0.16), transparent 70%);
    --duration: 28s;
}

.ambient-blob--c {
    width: clamp(200px, 28vw, 420px);
    aspect-ratio: 1;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(134, 216, 255, 0.06), transparent 70%);
    --duration: 18s;
}

@keyframes blobDrift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(var(--tx, 20px), var(--ty, 15px)) scale(1.06); }
}
.ambient-blob--a { --tx: 18px; --ty: -12px; }
.ambient-blob--b { --tx: -22px; --ty: 16px; }
.ambient-blob--c { --tx: 14px;  --ty: -18px; }

/* --------------------------------------------------------------------------
   ENHANCED PARTICLE CANVAS
   -------------------------------------------------------------------------- */
.particles-canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   THREE.JS HERO CANVAS
   -------------------------------------------------------------------------- */
#hero-three-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* --------------------------------------------------------------------------
   FLOATING UI CARDS (hero visual area)
   -------------------------------------------------------------------------- */
.hero__floating-cards {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    perspective: 1400px;
}

.ui-card {
    position: absolute;
    width: 260px;
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 196, 120, 0.28);
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(10, 16, 32, 0.56) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transition: box-shadow 400ms ease, border-color 400ms ease;
    will-change: transform;
    animation: uiCardFloat var(--float-dur, 5s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

.ui-card:hover {
    border-color: rgba(255, 190, 88, 0.55);
    box-shadow:
        0 0 24px rgba(255, 190, 88, 0.18),
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ui-card--menu {
    top: 5%;
    left: 0;
    --float-dur: 5.2s;
    --float-delay: 0s;
    z-index: 3;
}

.ui-card--orders {
    top: 38%;
    right: 0;
    --float-dur: 6.1s;
    --float-delay: 0.4s;
    z-index: 2;
}

.ui-card--kitchen {
    bottom: 5%;
    left: 10%;
    --float-dur: 4.8s;
    --float-delay: 0.8s;
    z-index: 1;
}

.ui-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ui-card__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 220, 162, 0.9);
}

.ui-card__badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 190, 88, 0.18);
    color: var(--saffron, #ffbe58);
    border: 1px solid rgba(255, 190, 88, 0.28);
}

.ui-card__badge--live {
    background: rgba(76, 200, 100, 0.18);
    color: #4cc87a;
    border-color: rgba(76, 200, 100, 0.3);
    animation: livePulse 2s ease-in-out infinite;
}

.ui-card__badge--new {
    background: rgba(134, 216, 255, 0.18);
    color: var(--cool, #86d8ff);
    border-color: rgba(134, 216, 255, 0.3);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Menu card content */
.ui-card__menu-items { display: flex; flex-direction: column; gap: 8px; }
.ui-card__menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    font-size: 0.82rem;
}
.ui-card__menu-item-name { color: rgba(248, 250, 252, 0.9); }
.ui-card__menu-item-price { color: var(--saffron, #ffbe58); font-weight: 700; }

/* Order card content */
.ui-card__orders-list { display: flex; flex-direction: column; gap: 8px; }
.ui-card__order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ui-card__order-row:last-child { border-bottom: none; }
.ui-card__order-id { color: rgba(248, 250, 252, 0.85); font-weight: 600; }
.ui-card__order-status {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
}
.ui-card__order-status--pending  { background: rgba(255, 190, 88, 0.18); color: #ffbe58; }
.ui-card__order-status--preparing { background: rgba(134, 216, 255, 0.18); color: #86d8ff; }
.ui-card__order-status--done      { background: rgba(76, 200, 100, 0.18); color: #4cc87a; }

/* Kitchen card content */
.ui-card__kitchen-tickets { display: flex; flex-direction: column; gap: 8px; }
.ui-card__ticket {
    padding: 8px 10px;
    background: rgba(134, 216, 255, 0.06);
    border-left: 3px solid rgba(134, 216, 255, 0.5);
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
}
.ui-card__ticket-id { font-weight: 700; color: #86d8ff; margin-bottom: 2px; }
.ui-card__ticket-items { color: rgba(184, 192, 214, 0.9); font-size: 0.78rem; }

@keyframes uiCardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* --------------------------------------------------------------------------
   SECTION SCROLL REVEAL (extends existing .fade-in-scroll)
   -------------------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 700ms var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1)),
        transform 700ms var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1));
    transition-delay: var(--reveal-stagger, 0ms);
}

.scroll-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* stagger helpers */
.stagger-1  { --reveal-stagger: 50ms; }
.stagger-2  { --reveal-stagger: 120ms; }
.stagger-3  { --reveal-stagger: 190ms; }
.stagger-4  { --reveal-stagger: 260ms; }
.stagger-5  { --reveal-stagger: 330ms; }
.stagger-6  { --reveal-stagger: 400ms; }
.stagger-7  { --reveal-stagger: 470ms; }
.stagger-8  { --reveal-stagger: 540ms; }

/* --------------------------------------------------------------------------
   ANIMATED METRIC COUNTERS (stats strip)
   -------------------------------------------------------------------------- */
.stats-strip {
    padding: 5rem 0;
    position: relative;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 190, 88, 0.04) 0%,
        rgba(255, 123, 69, 0.07) 50%,
        rgba(255, 190, 88, 0.04) 100%);
    pointer-events: none;
}

.stats-strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.stat-counter {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 196, 120, 0.2);
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(12px);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.stat-counter:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 196, 120, 0.5);
    box-shadow: 0 16px 40px rgba(255, 123, 69, 0.2);
}

.stat-counter__value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffbe58, #ff7b45);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    min-height: 1.2em;
}

.stat-counter__suffix {
    font-size: 0.6em;
    vertical-align: super;
}

.stat-counter__label {
    font-size: 0.9rem;
    color: var(--text-muted, #b8c0d6);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   LIVE DASHBOARD DEMO SECTION
   -------------------------------------------------------------------------- */
.live-dashboard-section {
    padding: 6rem 0;
    position: relative;
}

.live-dashboard-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(860px, 86%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 198, 130, 0.3), rgba(255, 123, 69, 0.24), transparent);
}

.live-dashboard__panel {
    border-radius: 20px;
    border: 1px solid rgba(255, 196, 120, 0.22);
    background: linear-gradient(145deg,
        rgba(15, 23, 42, 0.72),
        rgba(10, 16, 32, 0.6));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 220, 162, 0.1);
    overflow: hidden;
}

/* Panel title bar */
.live-dashboard__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 196, 120, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.live-dashboard__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.live-dashboard__dot:nth-child(1) { background: #ff5f56; }
.live-dashboard__dot:nth-child(2) { background: #ffbd2e; }
.live-dashboard__dot:nth-child(3) { background: #27c93f; }

.live-dashboard__bar-title {
    margin-left: 8px;
    font-size: 0.82rem;
    color: rgba(184, 192, 214, 0.7);
    font-weight: 600;
}

/* Metrics row */
.live-dashboard__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(255, 196, 120, 0.1);
}

@media (max-width: 600px) {
    .live-dashboard__metrics { grid-template-columns: 1fr; }
}

.live-dashboard__metric {
    padding: 1.5rem 1.8rem;
    border-right: 1px solid rgba(255, 196, 120, 0.1);
    text-align: center;
}
.live-dashboard__metric:last-child { border-right: none; }

.live-dashboard__metric-label {
    font-size: 0.78rem;
    color: rgba(184, 192, 214, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.5rem;
}

.live-dashboard__metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffbe58, #ff7b45);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    transition: opacity 300ms ease;
}

/* Orders + chart row */
.live-dashboard__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .live-dashboard__body { grid-template-columns: 1fr; }
}

.live-dashboard__orders {
    padding: 1.5rem 1.8rem;
    border-right: 1px solid rgba(255, 196, 120, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .live-dashboard__orders { border-right: none; border-bottom: 1px solid rgba(255, 196, 120, 0.1); }
}

.live-dashboard__orders-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(184, 192, 214, 0.6);
    margin-bottom: 4px;
}

.ld-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.025);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.84rem;
    transition: background 400ms ease, border-color 400ms ease;
    animation: orderRowIn 400ms var(--ease-premium, cubic-bezier(0.22,1,0.36,1)) both;
}

@keyframes orderRowIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.ld-order-row__id { font-weight: 700; color: rgba(248, 250, 252, 0.9); }
.ld-order-row__items { color: rgba(184, 192, 214, 0.75); font-size: 0.78rem; }

.ld-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 600ms ease, color 600ms ease;
}
.ld-badge--pending   { background: rgba(255, 190, 88, 0.18); color: #ffbe58; }
.ld-badge--preparing { background: rgba(134, 216, 255, 0.18); color: #86d8ff; }
.ld-badge--completed { background: rgba(76, 200, 100, 0.18); color: #4cc87a; }

/* Analytics chart */
.live-dashboard__chart {
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
}

.live-dashboard__chart-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(184, 192, 214, 0.6);
    margin-bottom: 1.2rem;
}

.ld-chart-bars {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 120px;
    flex: 1;
}

.ld-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.ld-chart-bar__fill {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #ffbe58, #ff7b45);
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 800ms var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1));
    transition-delay: var(--bar-delay, 0ms);
}

.ld-chart-bar__label {
    font-size: 0.68rem;
    color: rgba(184, 192, 214, 0.6);
    text-align: center;
    line-height: 1.2;
}

.live-dashboard__chart.bars-grown .ld-chart-bar__fill {
    transform: scaleY(1);
}

/* --------------------------------------------------------------------------
   ORDER FLOW PIPELINE SECTION
   -------------------------------------------------------------------------- */
.pipeline-section {
    padding: 6rem 0;
    position: relative;
}

.pipeline-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(860px, 86%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 198, 130, 0.3), rgba(255, 123, 69, 0.24), transparent);
}

.pipeline__track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    margin-top: 3.5rem;
}

@media (max-width: 768px) {
    .pipeline__track {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
}

.pipeline__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 196, 120, 0.18);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(12px);
    position: relative;
    transition:
        transform 320ms var(--ease-premium, cubic-bezier(0.22,1,0.36,1)),
        border-color 320ms ease,
        box-shadow 320ms ease;
    cursor: default;
}

.pipeline__step:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 190, 88, 0.5);
    box-shadow:
        0 0 30px rgba(255, 190, 88, 0.15),
        0 16px 40px rgba(0, 0, 0, 0.25);
}

.pipeline__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 190, 88, 0.18), rgba(255, 123, 69, 0.12));
    border: 1px solid rgba(255, 190, 88, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    transition: box-shadow 320ms ease;
}

.pipeline__step:hover .pipeline__icon {
    box-shadow: 0 0 20px rgba(255, 190, 88, 0.35);
}

.pipeline__step-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.95);
    margin-bottom: 0.5rem;
}

.pipeline__step-desc {
    font-size: 0.84rem;
    color: var(--text-muted, #b8c0d6);
    line-height: 1.5;
}

/* Connector arrow */
.pipeline__connector {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    flex-shrink: 0;
    position: relative;
}

@media (max-width: 768px) {
    .pipeline__connector {
        padding: 0.5rem 0;
        justify-content: center;
        transform: rotate(90deg);
    }
}

.pipeline__connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 190, 88, 0.15), rgba(255, 123, 69, 0.5));
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.pipeline__connector-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 190, 88, 0.9), transparent);
    animation: flowPulse 2.4s ease-in-out infinite;
    animation-delay: var(--flow-delay, 0ms);
}

@keyframes flowPulse {
    0%   { left: -100%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.pipeline__connector-arrow {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid rgba(255, 123, 69, 0.6);
    margin-left: -1px;
}

/* --------------------------------------------------------------------------
   3D QR → ORDER → KITCHEN SECTION
   -------------------------------------------------------------------------- */
.qr-cinema-section {
    padding: 6rem 0;
    position: relative;
}

.qr-cinema-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(860px, 86%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 198, 130, 0.3), rgba(255, 123, 69, 0.24), transparent);
}

.qr-cinema__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3.5rem;
}

@media (max-width: 900px) {
    .qr-cinema__layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.qr-cinema__canvas-wrap {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 196, 120, 0.2);
    background: linear-gradient(145deg, rgba(10, 16, 32, 0.7), rgba(5, 8, 18, 0.6));
    backdrop-filter: blur(12px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 220, 162, 0.08);
}

#qr-cinema-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.qr-cinema__steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-cinema__step {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 196, 120, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(10px);
    transition: border-color 320ms ease, box-shadow 320ms ease;
}

.qr-cinema__step.is-active {
    border-color: rgba(255, 190, 88, 0.5);
    box-shadow: 0 0 24px rgba(255, 190, 88, 0.14);
    background: linear-gradient(145deg, rgba(255, 190, 88, 0.08), rgba(255, 123, 69, 0.03));
}

.qr-cinema__step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffbe58, #ff7b45);
    color: #21150c;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 123, 69, 0.35);
}

.qr-cinema__step-text h4 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.95);
}

.qr-cinema__step-text p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted, #b8c0d6);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECTION GLOW BACKGROUNDS (behind specific sections)
   -------------------------------------------------------------------------- */
.section-glow {
    position: relative;
}

.section-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255, 190, 88, 0.07), transparent),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(184, 121, 79, 0.06), transparent);
    z-index: 0;
}

.section-glow > * {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   ENHANCED HERO CARDS (parallax tilt on existing .hero__card)
   -------------------------------------------------------------------------- */
.hero__card {
    transition: box-shadow 400ms ease, border-color 400ms ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* --------------------------------------------------------------------------
   GLASSMORPHISM UPGRADE (optional class to reinforce glass panels)
   -------------------------------------------------------------------------- */
.glass-panel {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 196, 120, 0.2);
    border-radius: 20px;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .ui-card {
        width: 220px;
    }

    .ui-card--orders {
        right: -10px;
    }

    .ui-card--kitchen {
        left: 5%;
    }

    .stats-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline__track {
        gap: 1rem;
    }

    .qr-cinema__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-strip__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ui-card {
        width: 200px;
    }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION SUPPORT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .ambient-blob,
    .ui-card,
    .pipeline__connector-line::after,
    #hero-three-canvas,
    #qr-cinema-canvas {
        animation: none !important;
        transition: none !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
