/* Warehouse Management landing page */
.warehouse-page {
    --warehouse: #2563eb;
    --warehouse-dark: #174fc6;
    --warehouse-soft: #eaf2ff;
}

.warehouse-page .eyebrow { color: var(--warehouse-dark); background: rgba(15,159,131,.08); border-color: rgba(15,159,131,.13); }
.warehouse-page .eyebrow span { background: var(--warehouse); box-shadow: 0 0 0 5px rgba(15,159,131,.1); }
.warehouse-page .hero h1 em { color: var(--warehouse); }
.warehouse-page .hero {
    background:
        radial-gradient(circle at 13% 23%, rgba(15,159,131,.13), transparent 29%),
        linear-gradient(135deg,#fbfefd 0%,#f0f8f6 58%,#e7f4f1 100%);
}
.warehouse-page .hero::before { border-color: rgba(15,159,131,.13); box-shadow: 0 0 0 95px rgba(15,159,131,.025),0 0 0 190px rgba(15,159,131,.015); }
.warehouse-page .hero::after { background-image: linear-gradient(rgba(15,120,99,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(15,120,99,.1) 1px,transparent 1px); }
.warehouse-page .text-link span { color: var(--warehouse); }
.warehouse-page .hero-metrics strong { color: var(--navy); }
.warehouse-page .trust-strip i { color: var(--warehouse); }

.warehouse-visual { min-height: 535px; position: relative; display: grid; place-items: center; direction: ltr; }
.warehouse-glow { width: 500px; height: 500px; position: absolute; background: radial-gradient(circle,rgba(15,159,131,.2),transparent 68%); filter: blur(16px); }
.warehouse-scene {
    width: 88%;
    height: 455px;
    padding: 18px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: white;
    background:
        linear-gradient(180deg,rgba(4,27,39,.04),rgba(4,27,39,.45)),
        linear-gradient(135deg,#153d4a,#0d2638);
    border: 8px solid rgba(255,255,255,.94);
    border-radius: 29px;
    box-shadow: 0 38px 85px rgba(20,70,70,.2);
    transform: rotate(-1.3deg);
}
.warehouse-photo { padding: 0; direction: ltr; }
.warehouse-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(7,23,44,.72)); pointer-events: none; }
.warehouse-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.warehouse-photo figcaption { position: absolute; right: 20px; left: 20px; bottom: 16px; z-index: 2; display: flex; align-items: center; justify-content: space-between; color: white; direction: rtl; }
.warehouse-photo figcaption span { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; }.warehouse-photo figcaption i { color: #8bb5ff; }
.warehouse-photo figcaption small { color: rgba(255,255,255,.58); font-size: 6px; letter-spacing: 1.5px; direction: ltr; }
.scene-top,.scene-bottom { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; font-size: 8px; }
.scene-top span { display: flex; align-items: center; gap: 7px; font-weight: 800; }.scene-top i { color: #55efb6; font-size: 6px; box-shadow: 0 0 12px #55efb6; border-radius: 50%; }.scene-top b { color: rgba(255,255,255,.4); font-size: 7px; letter-spacing: 1.3px; }
.aisle { height: 340px; margin: 18px -8px 12px; display: grid; grid-template-columns: 1fr .5fr 1fr; perspective: 700px; }
.rack { padding: 11px; display: grid; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,1fr); gap: 8px; background: repeating-linear-gradient(90deg,#405b69 0 4px,transparent 4px calc(50% - 2px),#405b69 calc(50% - 2px) calc(50% + 2px),transparent calc(50% + 2px) calc(100% - 4px),#405b69 calc(100% - 4px)),repeating-linear-gradient(0deg,#405b69 0 4px,transparent 4px calc(33.33% - 2px),#405b69 calc(33.33% - 2px) calc(33.33% + 2px),transparent calc(33.33% + 2px)); }
.rack-left { transform: rotateY(12deg); transform-origin: right; }.rack-right { transform: rotateY(-12deg); transform-origin: left; }
.rack i { display: block; align-self: end; height: 72%; background: linear-gradient(145deg,#d59d59,#9b6033); border-radius: 4px 4px 1px 1px; box-shadow: inset -7px -7px 12px rgba(0,0,0,.13); }
.rack i:nth-child(3n+2) { background: linear-gradient(145deg,#b5c7d5,#728a9e); }.rack i:nth-child(4n) { height: 48%; background: linear-gradient(145deg,#57bba5,#267d6d); }
.aisle-path { position: relative; overflow: hidden; background: linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.12),rgba(255,255,255,.025)); clip-path: polygon(25% 0,75% 0,100% 100%,0 100%); }
.aisle-path > span { width: 1px; height: 100%; display: block; margin: auto; background: repeating-linear-gradient(to bottom,rgba(85,239,182,.6) 0 10px,transparent 10px 21px); }
.aisle-path b { width: 44px; height: 44px; position: absolute; left: 50%; bottom: 30px; display: grid; place-items: center; color: #092b36; background: #55efb6; border-radius: 11px; transform: translateX(-50%); box-shadow: 0 10px 25px rgba(85,239,182,.25); }
.scene-bottom { color: rgba(255,255,255,.5); }.scene-bottom span { display: flex; align-items: center; gap: 6px; }.scene-bottom i { color: #55efb6; }

.inventory-panel { width: 230px; padding: 15px; position: absolute; right: -6px; bottom: 5px; z-index: 3; color: var(--ink); background: rgba(255,255,255,.95); border: 1px solid white; border-radius: 16px; box-shadow: 0 22px 50px rgba(15,66,66,.2); backdrop-filter: blur(12px); }
.inventory-head { display: flex; align-items: center; justify-content: space-between; font-size: 8px; font-weight: 800; }.inventory-head em { padding: 2px 7px; color: #157360; background: #ddf7f0; border-radius: 12px; font-size: 6px; font-style: normal; letter-spacing: 1px; }
.inventory-score { margin: 13px 0 8px; display: flex; align-items: baseline; gap: 8px; }.inventory-score strong { color: var(--navy); font-size: 23px; }.inventory-score span { color: var(--muted); font-size: 7px; }
.inventory-bars { height: 47px; display: flex; align-items: flex-end; gap: 5px; }.inventory-bars i { width: 100%; height: var(--h); display: block; background: linear-gradient(to top,var(--warehouse),#5ee2c5); border-radius: 3px 3px 1px 1px; }
.warehouse-alert { right: 185px; bottom: 75px; }.warehouse-alert > i { color: var(--warehouse); background: var(--warehouse-soft); }
.warehouse-speed { left: 0; top: 45px; }.warehouse-speed > i { color: #dd7a23; background: #fff0df; }

.warehouse-page .kicker { color: var(--warehouse-dark); }
.warehouse-page .benefit-icon,.warehouse-page .feature-list > article > i { color: var(--warehouse-dark); background: var(--warehouse-soft); }
.warehouse-dark-card { background: linear-gradient(145deg,#092d35,#0e5b53); }
.warehouse-dark-card .benefit-icon { color: #75f1d2; background: rgba(117,241,210,.1); }
.warehouse-dark-card > .warehouse-benefit-image { width: 100%; height: 190px; position: absolute; right: 0; left: 0; bottom: 0; z-index: 0; object-fit: cover; opacity: .36; mask-image: linear-gradient(to bottom,transparent,black 38%); }
.stock-map { margin-top: 24px; padding-top: 18px; position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.1); }
.stock-map span { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.53); font-size: 8px; }.stock-map b { color: #75f1d2; }
.warehouse-page .layout-pills span { color: #10705e; background: var(--warehouse-soft); }

.warehouse-workflow { background: linear-gradient(125deg,#071f2a,#0b403c); }
.warehouse-workflow::before { background-image: linear-gradient(rgba(85,239,182,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(85,239,182,.1) 1px,transparent 1px); }
.warehouse-workflow .kicker-light { color: #75f1d2; }
.warehouse-workflow .algorithm-steps b { color: #75f1d2; background: rgba(117,241,210,.09); }
.warehouse-flow-card { padding: 20px; color: var(--ink); background: #f5f8f7; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; box-shadow: 0 35px 80px rgba(0,0,0,.28); direction: ltr; }
.warehouse-flow-image { height: 165px; margin-bottom: 14px; position: relative; overflow: hidden; background: #0b203d; border-radius: 13px; }
.warehouse-flow-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 38%,rgba(7,23,44,.7)); }
.warehouse-flow-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.warehouse-flow-image span { padding: 5px 9px; position: absolute; left: 11px; bottom: 10px; z-index: 2; color: white; background: rgba(7,23,44,.65); border: 1px solid rgba(96,165,250,.28); border-radius: 20px; font-size: 6px; font-weight: 800; letter-spacing: 1.2px; backdrop-filter: blur(8px); }.warehouse-flow-image span i { margin-right: 5px; color: #8bb5ff; }
.flow-card-head { padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }.flow-card-head em { display: flex; align-items: center; gap: 6px; color: #198267; font-size: 7px; font-style: normal; }.flow-card-head em i { width: 6px; height: 6px; background: #37c89f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(55,200,159,.12); }
.flow-order { margin: 17px 0; padding: 15px; display: grid; grid-template-columns: 1fr auto; background: white; border: 1px solid var(--line); border-radius: 11px; }.flow-order small { color: var(--muted); font-size: 7px; }.flow-order strong { grid-column: 1; margin-top: 3px; font-size: 11px; }.flow-order span { grid-row: 1/3; grid-column: 2; align-self: center; padding: 5px 9px; color: #176e5d; background: #e3f7f1; border-radius: 15px; font-size: 7px; font-weight: 800; }
.flow-timeline { padding: 5px 12px 5px 20px; }
.flow-timeline > div { min-height: 62px; display: flex; align-items: flex-start; gap: 12px; position: relative; }
.flow-timeline > div:not(:last-child)::after { content: ""; width: 1px; height: 33px; position: absolute; left: 14px; top: 31px; background: #d6dee1; }
.flow-timeline > div > i { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; color: #94a1a5; background: #e9eeef; border-radius: 9px; font-size: 8px; }
.flow-timeline .done > i { color: #168167; background: #def5ee; }.flow-timeline .active > i { color: white; background: var(--warehouse); box-shadow: 0 8px 20px rgba(15,159,131,.22); }
.flow-timeline span { display: flex; flex-direction: column; }.flow-timeline b { font-size: 10px; }.flow-timeline small { color: var(--muted); font-size: 7px; }
.picker-card { padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; color: white; background: linear-gradient(120deg,#0d6558,#149f84); border-radius: 11px; }.picker-card span { display: flex; align-items: center; gap: 8px; font-size: 8px; }.picker-card strong { font-size: 8px; }

.warehouse-results { background: linear-gradient(125deg,#092d35,#106f62); }
.warehouse-results .quote-mark,.warehouse-results .result-stats strong { color: #75f1d2; }

@media (max-width: 980px) {
    .warehouse-visual { width: min(620px,100%); margin: auto; }
    .warehouse-flow-card { width: min(620px,100%); margin: auto; }
}

@media (max-width: 760px) {
    .warehouse-visual { min-height: 500px; }
    .warehouse-scene { width: 90%; height: 430px; }
    .inventory-panel { right: 0; bottom: 0; }
    .warehouse-alert { right: 175px; bottom: 70px; }
    .warehouse-speed { left: 0; }
}

@media (max-width: 520px) {
    .warehouse-visual { min-height: 445px; }
    .warehouse-scene { width: 100%; height: 385px; padding: 13px; border-width: 5px; border-radius: 22px; transform: none; }
    .aisle { height: 285px; margin-top: 14px; }
    .inventory-panel { width: calc(100% - 24px); right: 12px; bottom: 0; }
    .inventory-bars { display: none; }.inventory-score { margin-bottom: 0; }
    .warehouse-alert,.warehouse-speed { display: none; }
    .warehouse-photo figcaption small { display: none; }
    .warehouse-flow-card { padding: 14px; }
}

/* Homepage blue/navy visual alignment */
.warehouse-page .hero {
    background:
        radial-gradient(circle at 13% 23%, rgba(37,99,235,.13), transparent 29%),
        linear-gradient(135deg,#fbfdff 0%,#f1f6fd 58%,#e9f1fc 100%);
}
.warehouse-page .hero::before { border-color: rgba(37,99,235,.13); box-shadow: 0 0 0 95px rgba(37,99,235,.025),0 0 0 190px rgba(37,99,235,.015); }
.warehouse-page .hero::after { background-image: linear-gradient(rgba(37,99,235,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.1) 1px,transparent 1px); }
.warehouse-glow { background: radial-gradient(circle,rgba(37,99,235,.2),transparent 68%); }
.warehouse-scene { background: linear-gradient(180deg,rgba(7,23,44,.04),rgba(7,23,44,.45)),linear-gradient(135deg,#173c68,#0b203d); box-shadow: 0 38px 85px rgba(20,53,98,.2); }
.scene-top i,.scene-bottom i { color: #8bb5ff; }
.aisle-path > span { background: repeating-linear-gradient(to bottom,rgba(139,181,255,.68) 0 10px,transparent 10px 21px); }
.aisle-path b { color: #0b203d; background: #8bb5ff; box-shadow: 0 10px 25px rgba(37,99,235,.25); }
.rack i:nth-child(4n) { background: linear-gradient(145deg,#70a1ff,#3777ec); }
.inventory-head em { color: #2457a8; background: #eaf2ff; }
.inventory-bars i { background: linear-gradient(to top,#2563eb,#70a1ff); }
.warehouse-alert > i { color: #2563eb; background: #eaf2ff; }
.warehouse-dark-card { background: linear-gradient(145deg,#0b203d,#123e75); }
.warehouse-dark-card .benefit-icon { color: #8bb5ff; background: rgba(96,165,250,.12); }
.stock-map b { color: #8bb5ff; }
.warehouse-workflow { background: linear-gradient(125deg,#07172c,#123e75); }
.warehouse-workflow::before { background-image: linear-gradient(rgba(96,165,250,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(96,165,250,.1) 1px,transparent 1px); }
.warehouse-workflow .kicker-light,.warehouse-workflow .algorithm-steps b { color: #8bb5ff; }
.warehouse-workflow .algorithm-steps b { background: rgba(96,165,250,.1); }
.flow-card-head em { color: #2457a8; }.flow-card-head em i { background: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.flow-order span { color: #2457a8; background: #eaf2ff; }
.flow-timeline .done > i { color: #2563eb; background: #eaf2ff; }
.flow-timeline .active > i { background: #2563eb; box-shadow: 0 8px 20px rgba(37,99,235,.22); }
.picker-card { background: linear-gradient(120deg,#174fc6,#2563eb); }
.warehouse-results { background: linear-gradient(125deg,#0b203d,#123e75); }
.warehouse-results .quote-mark,.warehouse-results .result-stats strong { color: #8bb5ff; }
