/* Home page: Grok Bot characters, the animated network, and the light
   editorial sections, on the www.qovery.com design layer in bridge.css. */
/* Grok Bot characters, scalable: a coloured blob with two slanted eyes. */
.bot { --c: #fff; --s: 30px; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); background: var(--c); border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; }
.bot::before, .bot::after { content: ""; position: absolute; top: 33%; width: 11%; height: 27%; border-radius: 99px; background: #141414; transform: rotate(-16deg); }
.bot::before { left: 36%; } .bot::after { left: 56%; }
.bot.pill { height: calc(var(--s) * .72); border-radius: 99px; } .bot.pill::before, .bot.pill::after { top: 26%; height: 32%; }
.bot.sq { border-radius: 22%; transform: rotate(-12deg) scale(.92); }
.bot.drop { border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; transform: rotate(-10deg); }
.bot.cloud { border-radius: 40% 60% 45% 55% / 50% 40% 60% 50%; box-shadow: calc(var(--s) * -.13) calc(var(--s) * .1) 0 calc(var(--s) * -.03) var(--c), calc(var(--s) * .13) calc(var(--s) * -.1) 0 calc(var(--s) * -.03) var(--c); }
.bot.star { clip-path: polygon(50% 0, 63% 25%, 92% 15%, 80% 45%, 100% 62%, 70% 70%, 66% 100%, 45% 80%, 20% 95%, 25% 65%, 0 52%, 24% 38%, 15% 10%, 40% 22%); border-radius: 0; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: no-preference) { .bot.float { animation: bob 4s ease-in-out infinite; } }


/* ---------- B · Two desks: light Qovery editorial, Grok Bot chats as objects ---------- */
.vb { background: #fff; }
.vb h1, .vb h2 { font-family: var(--f-head); font-weight: 400; margin: 0; color: var(--w-ink); }
.vb-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.vb-brand { display: flex; align-items: center; gap: 12px; color: var(--w-ink); text-decoration: none; font: 500 15px var(--f-body); } .vb-brand img { height: 20px; } .vb-brand span { width: 1px; height: 18px; background: var(--w-border); }
.vb-links { display: flex; gap: 22px; align-items: center; } .vb-links a:not(.btn) { color: var(--w-tertiary); text-decoration: none; font-size: 14px; }
@media (max-width: 860px) { .vb-links a:not(.btn) { display: none; } }
.vb-hero { display: grid; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 72px; } @media (min-width: 1024px) { .vb-hero { grid-template-columns: 1fr 1.05fr; padding-top: 72px; } }
.vb-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--f-mono); color: var(--w-deep); background: var(--w-tint); border: 1px solid var(--w-tint-border); padding: 6px 12px 6px 8px; border-radius: 99px; } .vb-tag img { width: 18px; }
.vb-hero h1 { margin-top: 22px; font-size: 42px; line-height: 1.06; } @media (min-width: 1024px) { .vb-hero h1 { font-size: 64px; } }
.vb-hero h1 em { font-style: normal; color: var(--w-brand); background: linear-gradient(transparent 62%, #ffe58a 62%, #ffe58a 90%, transparent 90%); }
.vb-copy > p { font-size: 19px; line-height: 30px; color: var(--w-secondary); max-width: 540px; margin: 20px 0 0; }
.vb-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.vb-desks { position: relative; min-height: 560px; border-radius: 28px; background: radial-gradient(80% 80% at 50% 0%, #efe9ff, #f7f4ff 60%, #fff); border: 1px solid var(--w-tint-border); }
.vb-desk { position: absolute; width: 56%; z-index: 1; } .vb-desk.l { left: 4%; top: 5%; transform: rotate(-2.5deg); } .vb-desk.r { right: 4%; bottom: 5%; z-index: 2; transform: rotate(2deg); }
.vb-who { display: flex; align-items: center; gap: 8px; margin: 0 0 8px 6px; font-size: 13px; color: var(--w-tertiary); } .vb-who img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; } .vb-who b { color: var(--w-ink); font-weight: 500; }
.vb-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px; box-shadow: 0 24px 50px -12px rgba(28,22,47,.35); }
.vb-chat .gb-card { margin: 0; }
.vb-arc { position: absolute; left: 34%; top: 40%; width: 32%; z-index: 3; } .vb-arc path { fill: none; stroke: var(--w-brand); stroke-width: 2; stroke-dasharray: 3 6; }
.vb-packet { position: absolute; z-index: 3; left: 50%; top: 41%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--w-shadow-md); } .vb-packet img { width: 22px; }
.vb-st { position: absolute; } .vb-st.s1 { right: 8%; top: 6%; } .vb-st.s2 { left: 6%; bottom: 10%; } .vb-st.s3 { right: 30%; bottom: -16px; }
@media (max-width: 640px) { .vb-desks { min-height: 620px; } .vb-desk { width: 88%; } .vb-arc, .vb-packet { display: none; } }
.vb-strip { padding: 0; border-block: 1px solid var(--w-border); background: var(--w-muted); } .vb-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center; padding-block: 18px; font: 500 13px var(--f-mono); color: var(--w-tertiary); }
.vb-strip span::before { content: "✓ "; color: var(--w-brand); }
.vb-sec { padding: 96px 0; } .vb-sec h2 { font-size: 32px; line-height: 1.1; max-width: 720px; } @media (min-width: 1024px) { .vb-sec h2 { font-size: 44px; } }
.vb-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; counter-reset: s; } @media (min-width: 900px) { .vb-steps { grid-template-columns: repeat(3, 1fr); } }
.vb-steps li { padding: 28px; border: 1px solid var(--w-border); border-radius: 20px; background: #fff; box-shadow: var(--w-shadow-xs); }
.vb h3 { margin: 16px 0 6px; font: 500 18px var(--f-body); } .vb-steps p, .vb-cards p { margin: 0; color: var(--w-tertiary); line-height: 1.6; }
.vb-story { background: var(--w-tint); } .vb-story-in { display: grid; gap: 48px; align-items: center; } @media (min-width: 900px) { .vb-story-in { grid-template-columns: 1fr 1.3fr; } }
.vb-polaroids { display: flex; justify-content: center; } .vb-polaroids figure { margin: 0; background: #fff; padding: 10px 10px 14px; border-radius: 6px; box-shadow: 0 18px 40px -14px rgba(28,22,47,.35); width: 46%; }
.vb-polaroids figure:first-child { transform: rotate(-5deg); } .vb-polaroids figure:last-child { transform: rotate(4deg) translateY(24px); margin-left: -12px; }
.vb-polaroids img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; } .vb-polaroids figcaption { margin-top: 10px; text-align: center; font: 400 14px var(--f-mono); color: var(--w-tertiary); }
.vb-story p { font-size: 17px; line-height: 1.65; color: var(--w-secondary); margin: 18px 0 0; }
.vb-compare { display: grid; gap: 12px; margin-top: 26px; } @media (min-width: 640px) { .vb-compare { grid-template-columns: 1.4fr 1fr; } }
.vb-compare > div { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--w-border); font-size: 14px; } .vb-compare > div.on { border-color: var(--w-brand); box-shadow: 0 0 0 3px var(--w-brand-100); }
.vb-compare b { font: 500 12px var(--f-mono); color: var(--w-tertiary); text-transform: uppercase; } .vb-compare ol { margin: 8px 0 0; padding-left: 18px; color: var(--w-secondary); line-height: 1.7; }
.vb-cards { display: grid; gap: 16px; margin-top: 40px; } @media (min-width: 900px) { .vb-cards { grid-template-columns: repeat(4, 1fr); } }
.vb-cards > div { padding: 24px; border-radius: 16px; background: var(--w-muted); } .vb-cards h3 { margin-top: 0; }
.vb-cta { padding: 110px 0; text-align: center; background: radial-gradient(60% 90% at 50% 100%, #ddd0ff, #fff 70%); } .vb-cta h2 { font-size: 40px; } @media (min-width: 1024px) { .vb-cta h2 { font-size: 56px; } } .vb-cta p { color: var(--w-tertiary); margin: 12px 0 28px; }
.vb-foot { padding: 28px 20px; color: var(--w-tertiary); font-size: 13px; text-align: center; border-top: 1px solid var(--w-border); }

/* ---------- B1-B3: the network graph as the hero, on B's light page ---------- */
.net { --n-bg: #fff; --n-border: var(--w-border); --n-text: var(--w-ink); --n-dim: var(--w-tertiary); --n-line: var(--w-brand);
  position: relative; height: 440px; }
.net.dark { --n-bg: #131316; --n-border: rgba(255,255,255,.08); --n-text: #fff; --n-dim: #8b8b94; --n-line: #9b7aff; }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-lines path { fill: none; stroke: var(--n-line); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) { .net-lines path { animation: dash 2.4s linear infinite; } }
.net-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px;
  background: radial-gradient(circle, #fff, #f3eeff 70%); border: 1px solid var(--w-brand-100); box-shadow: 0 0 0 10px rgba(100,45,255,.06), 0 20px 50px -10px rgba(100,45,255,.45); z-index: 2; }
.net.dark .net-hub { background: radial-gradient(circle, #1b1230, #0d0b14 70%); border-color: rgba(155,122,255,.35); box-shadow: 0 0 0 10px rgba(100,45,255,.08), 0 0 70px rgba(100,45,255,.5); }
.net-hub img { width: 30px; } .net-hub b { font: 400 19px var(--f-head); color: var(--n-text); } .net-hub small { font: 400 10.5px var(--f-mono); color: var(--n-dim); }
.net-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 9px 13px 9px 9px; border-radius: 14px; background: var(--n-bg); border: 1px solid var(--n-border); box-shadow: 0 12px 28px -10px rgba(28,22,47,.25); }
.net-node .bot { --s: 32px; }
.net.light .net-node .bot[style*="#fff"] { --c: #1c162f !important; } .net.light .net-node .bot[style*="#fff"]::before, .net.light .net-node .bot[style*="#fff"]::after { background: #fff; }
.net-node b { display: block; font: 500 13.5px var(--f-mono); color: var(--n-text); white-space: nowrap; } .net-node small { display: block; font-size: 12px; color: var(--n-dim); white-space: nowrap; }
.net-node.sm { padding: 5px 12px 5px 5px; border-radius: 99px; } .net-node.sm .bot { --s: 22px; } .net-node.sm b { font-size: 12px; }
.net .n1 { left: 0; top: 14%; } .net .n2 { left: 2%; top: 70%; } .net .n3 { right: 0; top: 12%; } .net .n4 { right: 2%; top: 72%; }
.net .n5 { left: 30%; top: 0; } .net .n6 { right: 30%; bottom: 0; }
@media (prefers-reduced-motion: no-preference) { .net-node { animation: bob 5s ease-in-out infinite; } .net .n2, .net .n4 { animation-delay: -2.5s; } .net .n5, .net .n6 { animation-delay: -1.2s; } }
@media (max-width: 760px) {
  .net { height: 470px; } .net-lines, .net-node.sm { display: none; }
  .net-node { left: 50% !important; right: auto !important; transform: translateX(-50%); animation: none !important; }
  .net .n1 { top: 0; } .net .n2 { top: 16%; } .net .n3 { top: 72%; } .net .n4 { top: 88%; }
}

/* B2: centred copy, wide graph underneath */
.x2-hero { padding: 56px 0 24px; background: linear-gradient(#fff, var(--w-tint)); border-bottom: 1px solid var(--w-tint-border); }
.x2-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.x2-copy h1 { margin-top: 22px; font-size: 42px; line-height: 1.06; max-width: 980px; } @media (min-width: 1024px) { .x2-copy h1 { font-size: 66px; } }
.x2-copy h1 em { font-style: normal; color: var(--w-brand); background: linear-gradient(transparent 62%, #ffe58a 62%, #ffe58a 90%, transparent 90%); }
.x2-copy > p { font-size: 19px; line-height: 30px; color: var(--w-secondary); max-width: 620px; margin: 20px 0 0; }
.x2-copy .vb-actions { justify-content: center; }
.x2-hero .net { height: 400px; margin: 40px auto 0; max-width: 1080px; }
@media (min-width: 900px) { .x2-hero .net .n1 { left: 4%; } .x2-hero .net .n2 { left: 8%; } .x2-hero .net .n3 { right: 4%; } .x2-hero .net .n4 { right: 8%; } }

/* The conversation, further down the page */
.vb-conv { background: var(--w-tint); border-block: 1px solid var(--w-tint-border); }
.vb-conv-in { display: grid; gap: 40px; align-items: center; } @media (min-width: 1024px) { .vb-conv-in { grid-template-columns: .8fr 1.2fr; } }
.vb-conv-in > div > p { font-size: 17px; line-height: 1.65; color: var(--w-secondary); margin: 18px 0 0; }
.vb-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--w-secondary); } .vb-ticks li::before { content: "✓"; color: var(--w-brand); margin-right: 10px; font-weight: 600; }
.vb-conv .vb-desks { background: #fff; }
@media (min-width: 900px) { .x2-hero .net .n1 { left: 7%; } .x2-hero .net .n2 { left: 6%; } .x2-hero .net .n3 { right: 7%; } .x2-hero .net .n4 { right: 2%; } }
.net-hub { width: 140px; height: 140px; }

/* B2 motion: packets, bubbles and the scene caption */
.net-packet { position: absolute; left: -7px; top: -7px; z-index: 4; width: 14px; height: 14px; border-radius: 50%; background: var(--w-brand); box-shadow: 0 0 0 4px rgba(100,45,255,.18), 0 0 18px rgba(100,45,255,.6); pointer-events: none; }
.net-hub { transition: box-shadow .3s, transform .3s; }
.net-hub.scan { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 14px rgba(100,45,255,.12), 0 0 0 28px rgba(100,45,255,.05), 0 20px 60px -6px rgba(100,45,255,.6); }
.net-node { transition: box-shadow .3s, border-color .3s; }
.net-node.lit { border-color: var(--w-brand-300); box-shadow: 0 0 0 4px var(--w-brand-100), 0 12px 28px -10px rgba(100,45,255,.45); }
.net-lines path { transition: stroke-opacity .3s, stroke-width .3s; } .net-lines path.lit { stroke-opacity: 1; stroke-width: 2.5; }
.net-bubble { position: absolute; z-index: 5; max-width: 270px; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 12px 28px -10px rgba(28,22,47,.4); opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .35s, transform .35s; pointer-events: none; }
.net-bubble.below { transform: translateY(-6px) scale(.97); }
.net-bubble.in { opacity: 1; transform: none; }
.net-bubble.q { background: #1c162f; color: #fff; }
.net-bubble.human { background: #fff6cc; color: #5c4400; border: 1px solid #f5d48f; }
.net-bubble.human::before { content: "Asking the human · "; font-weight: 600; }
.net-caption { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 18px auto 8px; text-align: center; min-height: 64px; }
.net-caption p { margin: 0; font-size: 15px; color: var(--w-secondary); } .net-caption b { font-weight: 600; color: var(--w-ink); margin-right: 8px; }
.net-dots { display: flex; gap: 6px; } .net-dots i { width: 22px; height: 4px; border-radius: 99px; background: var(--w-brand-100); transition: background .3s; } .net-dots i.on { background: var(--w-brand); }
@media (max-width: 760px) { .net-bubble { max-width: 220px; font-size: 12.5px; } }
.net-packet { transition: opacity .3s; } .net-packet.done { opacity: 0; }
/* B2 on phones: the four Bots in the corners, the bridge in the middle */
@media (max-width: 760px) {
  .x2-hero .net { height: 430px; }
  .x2-hero .net-node { transform: none; padding: 7px 10px 7px 7px; }
  .x2-hero .net-node small { display: none; } .x2-hero .net-node b { font-size: 12px; } .x2-hero .net-node .bot { --s: 24px; }
  .x2-hero .net .n1 { left: 0 !important; top: 0; } .x2-hero .net .n3 { left: auto !important; right: 0 !important; top: 0; }
  .x2-hero .net .n2 { left: 0 !important; top: auto; bottom: 0; } .x2-hero .net .n4 { left: auto !important; right: 0 !important; top: auto; bottom: 0; }
  .x2-hero .net-hub { width: 120px; height: 120px; }
  .x2-hero .net-bubble { max-width: 200px; }
}
.net-hub small { white-space: nowrap; } @media (max-width: 760px) { .x2-hero .net-hub small { font-size: 9px; } }

/* B2: lines stay on phones (drawn by netmotion.js from each Bot to the bridge) */
@media (max-width: 760px) { .x2-hero .net-lines { display: block; } .x2-hero .net-node { animation: none; } }
@media (min-width: 761px) { .x2-hero .net-node { animation: none; } }
/* Home page (B2 made real) */
.vb-tag { font: 500 13px var(--f-body); }
.vb-lead { margin: 12px 0 0; color: var(--w-tertiary); font-size: 17px; }
.vb .vb-sec .vb-actions { margin-top: 28px; }
.net-hub img { width: 40px; height: 40px; }
.x2-hero { padding-top: 64px; }
.vb-polaroids figcaption { font: 400 14px var(--f-body); }
.vb-compare b { font: 600 13px var(--f-body); text-transform: none; color: var(--w-ink); }
@media (max-width: 640px) { .x2-copy h1 { font-size: 36px; } .x2-hero { padding-top: 40px; } }
.vb-desk.r { display: flex; flex-direction: column-reverse; } .vb-desk.r .vb-who { margin: 10px 0 0 6px; }
.vb-arc { display: none; } .vb-packet { left: 30%; top: 66%; }

.vb-story { background: #fff; }
/* Hub label: body font, wraps inside the circle; packets pass behind the hub */
.net-hub small { font: 400 12px/1.3 var(--f-body); color: var(--w-tertiary); white-space: normal; max-width: 96px; text-align: center; }
.net-packet { z-index: 1; }
@media (max-width: 760px) { .x2-hero .net-hub small { font-size: 11px; max-width: 84px; } .x2-hero .net-hub b { font-size: 17px; } .x2-hero .net-hub img { width: 32px; height: 32px; } }
