/* Vikbot — wms.css (Vikbot WMS page only) */

/* ---------- Hero: oversized headline + isometric warehouse ---------- */
.wms-hero { position: relative; padding: 40px 0 0; background: linear-gradient(180deg, #F3F4F2 0%, #F3F4F2 70%, var(--bg) 100%); overflow: hidden; }
.wms-hero .breadcrumb { margin-bottom: 26px; }
.wms-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wms-badge { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #15171C; color: #fff; flex: none; }
.wms-badge .icon { width: 20px; height: 20px; }
.wms-tags { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: rgb(255 255 255 / .7); font-size: 15px; color: var(--ink); }
.wms-tags i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.wms-rule { width: 44px; height: 1px; background: var(--line-2); }
.wms-tagline { font-size: 15px; color: var(--ink-2); }

.wms-title { margin: 22px 0 0; font-weight: 400; }
.wms-product { display: inline-block; margin-bottom: 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); }
.wms-giant { display: block; font-family: "IBM Plex Sans", var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .88;
  font-size: clamp(40px, 13.6vw, 196px); margin-left: -.04em;
  background: linear-gradient(100deg, #111317 0%, #111317 36%, #8A9099 48%, #111317 60%, #111317 100%); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: wms-sheen 7s ease-in-out infinite; }
@keyframes wms-sheen { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
.wms-accent { display: block; margin-top: 14px; font-family: "IBM Plex Sans", var(--font); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(28px, 4vw, 56px); color: var(--accent); }

.wms-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.wms-lead { margin: 22px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.wms-hero .hero-actions { justify-content: flex-start; margin-top: 30px; }
.wms-iso { position: relative; margin-top: -70px; }
.wms-iso img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgb(11 11 15 / .08)); }
.wms-key { position: absolute; right: 6%; bottom: 8%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); box-shadow: 0 10px 24px -16px rgb(11 11 15 / .3); }
.wms-key .sw { margin-left: 6px; }
.wms-key .sw:first-child { margin-left: 0; }
.sw { width: 12px; height: 12px; border-radius: 3px; flex: none; display: inline-block; }
.sw.items { background: #DCE6FB; box-shadow: inset 0 0 0 1px #8FA8EC; } .sw.empty { background: #DDF5E2; box-shadow: inset 0 0 0 1px #8ACB96; } .sw.full { background: #FADCDC; box-shadow: inset 0 0 0 1px #E28C8C; }

/* ---------- Impact stats ---------- */
.wms-impact { padding: 24px 0 72px; }
.wms-h2s { margin: 0 0 22px; font-family: "IBM Plex Sans", var(--font); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; }
.wms-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wms-stat { padding: 24px; border-radius: 18px; background: #F4F5F4; border: 1px solid var(--line); }
.wms-stat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.wms-stat b { font-family: "IBM Plex Sans", var(--font); font-weight: 400; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.wms-stat span { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: right; color: var(--ink); max-width: 120px; }
.wms-stat p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Part of Fusion Insight: hub ---------- */
.wms-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.wms-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; color: var(--ink); }
.wms-chip .icon { width: 15px; height: 15px; color: var(--accent-ink); }
.wms-split .h2 { margin-bottom: 16px; }
.wms-split .body { margin-bottom: 20px; }
.wms-split .check-list { margin-bottom: 24px; }
.wms-hub { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.wms-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.wms-flow { animation: wms-dash 1.4s linear infinite; }
@keyframes wms-dash { to { stroke-dashoffset: -24; } }
.wms-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: #15171C; color: #fff; box-shadow: 0 0 0 10px rgb(47 163 24 / .1), 0 24px 40px -18px rgb(11 11 15 / .5); }
.wms-core b { font-family: "IBM Plex Sans", var(--font); font-weight: 600; font-size: clamp(18px, 2vw, 24px); }
.wms-core span { font-size: 12px; color: #A4AAB4; letter-spacing: .08em; text-transform: uppercase; }
.wms-node { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; box-shadow: 0 12px 24px -16px rgb(11 11 15 / .3); transition: border-color .2s, translate .2s var(--ease); }
.wms-node:hover { border-color: var(--accent-line); translate: -50% calc(-50% - 2px); }
.wms-node .icon { width: 16px; height: 16px; color: var(--accent-ink); }
.wms-node.hl { background: var(--accent); border-color: var(--accent); color: #fff; }
.wms-node.hl .icon { color: #fff; }


/* ---------- Problem: dark split ---------- */
.wms-dark { background: var(--stage); color: #E8EAEE; }
.wms-dark .h2 { color: #fff; } .wms-dark .h2 .muted { color: #8C929C; } .wms-dark .eyebrow { color: #4ADE5A; }
.wms-problem { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.wms-problem-head { position: sticky; top: 110px; }
.wms-problem-head .h2 { margin: 14px 0 22px; }
.wms-quote { margin: 0; font-family: "IBM Plex Sans", var(--font); font-weight: 300; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.4; color: inherit; }
.wms-dark .wms-quote { color: #C9CED6; padding-left: 18px; border-left: 3px solid #D9774B; }
.wms-quote.center { text-align: center; max-width: 760px; margin: 48px auto 0; color: var(--ink); }
.wms-issues { list-style: none; margin: 0; padding: 0; }
.wms-issues li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid #262930; }
.wms-issues li:last-child { border-bottom: 1px solid #262930; }
.wms-issues li > span { font-family: var(--mono); font-size: 14px; color: #D9774B; padding-top: 4px; }
.wms-issues h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: #fff; }
.wms-issues p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #A4AAB4; }

/* ---------- How it works: big numbers ---------- */
.wms-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wms-steps li { position: relative; padding: 28px 26px 26px; border-radius: var(--r-card); background: linear-gradient(170deg, #F4FAF2, #FFFFFF 60%); border: 1px solid var(--accent-line); overflow: hidden; }
.wms-steps b { display: block; font-family: "IBM Plex Sans", var(--font); font-weight: 700; font-size: 72px; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #A8D79E; margin-bottom: 18px; }
.wms-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.wms-steps p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.wms-tag { display: inline-flex; padding: 5px 11px; border-radius: 8px; background: #fff; border: 1px solid var(--accent-line); font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }

/* ---------- Screens ---------- */
.wms-screens { padding-top: 0; }

/* ---------- Modules ---------- */
.wms-modules { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wms-modules article { position: relative; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); transition: background .25s; }
.wms-modules article:hover { background: #F7FBF6; }
.wms-modules .icon { width: 26px; height: 26px; color: var(--accent-ink); margin-bottom: 18px; }
.wms-modules h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.wms-modules p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.wms-code { position: absolute; top: 28px; right: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }

/* ---------- Comparison table ---------- */
.wms-table { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.wms-tr { display: grid; grid-template-columns: 1fr 1.3fr 1.5fr; }
.wms-tr > span { padding: 16px 22px; font-size: 15px; border-top: 1px solid var(--line); }
.wms-tr > span:first-child { font-weight: 600; color: var(--ink); }
.wms-tr > span:nth-child(2) { color: var(--ink-3); }
.wms-tr > span:nth-child(3) { color: var(--ink); background: #F5FAF3; position: relative; padding-left: 46px; }
.wms-tr > span:nth-child(3)::before { content: ""; position: absolute; left: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--accent)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.wms-tr.head > span { border-top: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); background: transparent; }
.wms-tr.head > span:nth-child(3) { color: var(--accent-ink); background: #F5FAF3; }
.wms-tr.head > span:nth-child(3)::before { display: none; }
.wms-tr.head > span:nth-child(3) { padding-left: 22px; }

/* ---------- FAQ split ---------- */
.wms-faq { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.wms-faq .h2 { margin: 14px 0 16px; }
.wms-faq .body { margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .wms-hero-grid, .wms-split, .wms-problem, .wms-faq { grid-template-columns: 1fr; gap: 36px; }
  .wms-iso { margin-top: 0; }
  .wms-stats { grid-template-columns: 1fr 1fr; }
  .wms-problem-head { position: static; }
  .wms-steps, .wms-modules { grid-template-columns: 1fr 1fr; }
  .wms-rule, .wms-tagline { display: none; }
}
@media (max-width: 640px) {
  .wms-giant { font-size: 14.6vw; }
  .wms-key { position: static; margin: 4px auto 0; display: flex; width: max-content; }
  .wms-stats, .wms-steps, .wms-modules { grid-template-columns: 1fr; }
  .wms-tr { grid-template-columns: 1fr; }
  .wms-tr > span { border-top: 0; padding: 6px 18px; } .wms-tr > span:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
  .wms-tr > span:nth-child(3) { padding-bottom: 14px; }
  .wms-tr.head { display: none; }
  .wms-tags { padding: 10px 16px; font-size: 13.5px; }
  .wms-node { font-size: 12px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .wms-giant, .wms-flow { animation: none; }
  .wms-giant { background-position: 0 0; }
}
