/* Growth builder on /services/: light controls on the left, a dark "device" with the live funnel on the right. */
.gb { --power: 0; margin-top: 8px; font-family: "Geist", system-ui, sans-serif; color: #0b0b12; }
.gb *, .gb *::before, .gb *::after { box-sizing: border-box; }
.gb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px; align-items: start; }

/* ---------- Controls ---------- */
.gb-step { margin: 0 0 12px; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #7a8095; }
.gb-step:not(:first-child) { margin-top: 28px; }
.gb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-pill {
  padding: 10px 16px; border-radius: 999px; border: 1px solid #d8d8e4; background: #fff;
  font: 600 14px/1.2 "Geist", system-ui, sans-serif; color: #2a2d3b; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.gb-pill:hover { border-color: #0b0b12; }
.gb-pill[aria-pressed="true"] { background: #0b0b12; border-color: #0b0b12; color: #fff; }
.gb-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.gb-group { display: grid; gap: 8px; align-content: start; }
.gb-group:first-child { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gb-group:first-child .gb-group__label { grid-column: 1 / -1; }
.gb-group__label { font: 600 13px/1.2 "Geist", system-ui, sans-serif; color: #4f46e5; }
.gb-mod {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px;
  padding: 12px 14px; border-radius: 16px; border: 1px solid #e7e7ef; background: #fff; text-align: left; cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 18, 40, .04);
  transition: border-color .2s, box-shadow .25s, transform .2s;
}
.gb-mod:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, .35); box-shadow: 0 14px 30px -18px rgba(79, 70, 229, .45); }
.gb-mod__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f3f3f8; color: #4a4f63; transition: background .25s, color .25s; }
.gb-mod__ico svg, .gb-rec svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gb-mod__txt { display: grid; gap: 3px; min-width: 0; }
.gb-mod__txt b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #0b0b12 !important; }
.gb-mod__txt small { font-size: 12.5px; line-height: 1.35; color: #7a8095 !important; }
.gb-mod__sw { flex: none; margin-left: auto; width: 34px; height: 20px; border-radius: 20px; background: #e4e4ee; position: relative; transition: background .25s; }
.gb-mod__sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.gb-mod[aria-pressed="true"] { border-color: transparent; box-shadow: 0 0 0 1.5px #7c3aed, 0 16px 34px -18px rgba(124, 58, 237, .6); }
.gb-mod[aria-pressed="true"] .gb-mod__ico { background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; }
.gb-mod[aria-pressed="true"] .gb-mod__sw { background: linear-gradient(90deg, #7c3aed, #2563eb); }
.gb-mod[aria-pressed="true"] .gb-mod__sw i { transform: translateX(14px); }
.gb-mod.is-weak::after {
  content: attr(data-weak); position: absolute; top: 8px; right: 10px; padding: 2px 6px; border-radius: 6px;
  font: 500 10px/1.4 "Geist Mono", monospace; text-transform: uppercase; color: #b45309; background: #fef3c7;
}
.gb-mod.is-weak .gb-mod__sw { margin-top: 14px; }
.gb-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.gb-rec, .gb-reset {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 "Geist", system-ui, sans-serif;
}
.gb-rec { border: 0; color: #fff; background: linear-gradient(100deg, #7c3aed, #4f46e5 50%, #2563eb); box-shadow: 0 12px 30px -12px rgba(79, 70, 229, .7); }
.gb-rec svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.gb-rec:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.gb-reset { border: 1px solid #d8d8e4; background: #fff; color: #2a2d3b; }

/* ---------- Device ---------- */
.gb-right { position: sticky; top: 96px; }
.gb-device {
  position: relative; padding: 24px; border-radius: 28px; color: #e9ebf5;
  background: linear-gradient(160deg, #161a33 0%, #0b0b14 70%);
  box-shadow: 0 40px 80px -30px rgba(30, 27, 75, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.gb-device::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(196, 181, 253, .8), rgba(255, 255, 255, .05) 40%, rgba(103, 232, 249, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.gb-device::after {
  content: ""; position: absolute; left: 50%; bottom: -40px; width: 70%; height: 120px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 58, 237, calc(.25 + var(--power) * .45)), transparent); filter: blur(20px);
}
.gb-head { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.3 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #9aa3c7; }
.gb-level { color: #c4b5fd; text-align: right; }
.gb-power { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.gb-power b {
  font: 600 64px/1 "Geist", system-ui, sans-serif; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff 25%, #c4b5fd 60%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.gb-power span { font-size: 28px; font-weight: 600; color: #9aa3c7; }
.gb-bar { height: 8px; margin-top: 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.gb-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #7c3aed, #2563eb 60%, #22d3ee); box-shadow: 0 0 16px rgba(124, 58, 237, .8); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.gb-map-label { margin-top: 18px; font: 500 12px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #9aa3c7; }
.gb-map { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.gb-analytics { fill: none; stroke: rgba(255, 255, 255, .08); stroke-dasharray: 4 6; transition: stroke .3s; }
.gb-analytics.is-on { stroke: rgba(103, 232, 249, .55); animation: gb-dash 6s linear infinite; }
.gb-link { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2; transition: stroke .3s; }
.gb-link.is-on { stroke: #a78bfa; stroke-dasharray: 6 8; animation: gb-dash 1.2s linear infinite; filter: drop-shadow(0 0 4px rgba(167, 139, 250, .8)); }
.gb-node rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .12); transition: fill .3s, stroke .3s; }
.gb-node path { fill: none; stroke: #6b7394; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scale(.9); transition: stroke .3s; }
.gb-node text { fill: #6b7394; font: 600 10.5px "Geist", system-ui, sans-serif; text-anchor: middle; transition: fill .3s; }
.gb-node__halo { fill: #7c3aed; opacity: 0; transition: opacity .3s; }
.gb-node.is-on rect { fill: #4f46e5; stroke: rgba(255, 255, 255, .35); }
.gb-node.is-on path { stroke: #fff; }
.gb-node.is-on text { fill: #e9ebf5; }
.gb-node.is-on .gb-node__halo { opacity: .25; }
.gb-sales > circle:not(.gb-node__halo) { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .15); transition: fill .3s; }
.gb-sales.is-on > circle:not(.gb-node__halo) { fill: #10b981; stroke: rgba(255, 255, 255, .4); }
.gb-sales .gb-node__halo { fill: #10b981; opacity: calc(var(--glow, 0) * .45); }
.gb-sales path { stroke: #6b7394; transform: none; }
.gb-sales.is-on path { stroke: #fff; }
.gb-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.gb-kpis div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.gb-kpis b { display: block; font-size: 20px; color: #fff !important; font-variant-numeric: tabular-nums; }
.gb-kpis small { font: 500 11px/1.3 "Geist Mono", monospace; color: #9aa3c7 !important; }
.gb-tips { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; min-height: 48px; }
.gb-tip { position: relative; padding: 9px 12px 9px 34px; border-radius: 12px; font-size: 13px; line-height: 1.4; color: #dfe3f2 !important; background: rgba(255, 255, 255, .05); animation: gb-in .35s ease both; }
.gb-tip::before { position: absolute; left: 12px; top: 9px; font-weight: 700; }
.gb-tip--plus::before { content: "+"; color: #34d399; }
.gb-tip--warn::before { content: "!"; color: #fbbf24; }
.gb-tip--info::before { content: "i"; color: #93c5fd; font-family: "Geist Mono", monospace; }
.gb-tip--warn { background: rgba(251, 191, 36, .1); }
.gb-cta {
  width: 100%; margin-top: 16px; padding: 16px 20px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 16px/1.2 "Geist", system-ui, sans-serif; color: #0b0b12; background: #fff;
  box-shadow: 0 14px 34px -14px rgba(255, 255, 255, .5); transition: transform .15s, box-shadow .2s;
}
.gb-cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(167, 139, 250, .7); }
.gb-cta:disabled { opacity: .4; cursor: not-allowed; }
.gb-note { margin: 10px 0 0; font-size: 12px; text-align: center; color: #9aa3c7 !important; }

@keyframes gb-dash { to { stroke-dashoffset: -28; } }
@keyframes gb-in { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Services list and FAQ below the builder ---------- */
.gb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gb-stage { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #e7e7ef; box-shadow: 0 1px 2px rgba(16, 18, 40, .04), 0 12px 32px -18px rgba(16, 18, 40, .18); }
.gb-stage h3 { margin: 0 0 4px; font-size: 22px !important; }
.gb-stage > p { margin: 0 0 14px; color: #7a8095 !important; font-size: 14px; }
.gb-stage__num { font: 500 12px "Geist Mono", monospace; letter-spacing: .08em; color: #7c3aed; text-transform: uppercase; }
.gb-svc { padding: 14px 0; border-top: 1px solid #ececf3; }
.gb-svc h4 { margin: 0 0 4px; font-size: 16px !important; }
.gb-svc h4 a { color: #0b0b12; text-decoration: none; }
.gb-svc h4 a:hover { color: #4f46e5; }
.gb-svc p { margin: 0; font-size: 14px; line-height: 1.55; }
.gb-faq details { border-bottom: 1px solid #e7e7ef; padding: 18px 0; }
.gb-faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; color: #0b0b12; padding-right: 32px; position: relative; }
.gb-faq summary::-webkit-details-marker { display: none; }
.gb-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: #7c3aed; transition: transform .2s; }
.gb-faq details[open] summary::after { transform: rotate(45deg); }
.gb-faq details p { margin: 10px 0 0; line-height: 1.65; }
.gb-hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #e7e7ef; font: 500 12px "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #4a4f63; }
.gb-hero-kicker i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(120deg, #7c3aed, #2563eb); }

/* Phones and tablets: the device sits below the controls, so a sticky dock keeps the power in view. */
.gb-dock { display: none; }
@media (max-width: 1100px) {
  .gb-grid { grid-template-columns: 1fr; }
  .gb-right { position: static; }
  .gb-dock {
    position: sticky; bottom: 12px; z-index: 5; margin-top: 18px;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
    padding: 12px 14px; border-radius: 18px; color: #e9ebf5;
    background: rgba(14, 14, 28, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -16px rgba(30, 27, 75, .6);
  }
  .gb-dock > span:first-child { grid-column: 1 / 3; font: 500 11px "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #9aa3c7; }
  .gb-dock b { grid-row: 1 / 3; grid-column: 3; font-size: 26px; font-weight: 600; color: #fff !important; }
  .gb-dock b i { font-style: normal; }
  .gb-dock__bar { grid-column: 1 / 3; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
  .gb-dock__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c3aed, #2563eb, #22d3ee); transition: width .4s; }
  .gb-dock__go { grid-column: 1 / -1; justify-self: start; padding: 0; border: 0; background: none; color: #c4b5fd; font: 600 13px "Geist", system-ui, sans-serif; cursor: pointer; }
}
@media (max-width: 640px) {
  .gb-mods { grid-template-columns: 1fr; }
  .gb-group:first-child { grid-template-columns: 1fr; }
  .gb-list { grid-template-columns: 1fr; }
  .gb-device { padding: 18px; border-radius: 22px; }
  .gb-power b { font-size: 52px; }
  .gb-pill { padding: 9px 13px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .gb *, .gb *::before, .gb *::after { animation: none !important; transition: none !important; }
}

/* Link card to the AI services page under the funnel stages. */
.ais-promo { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 22px; text-decoration: none !important; color: #c9cde0; background: radial-gradient(120% 140% at 100% 0%, rgba(124, 58, 237, .45), transparent 60%), #0d0e1a; box-shadow: 0 30px 60px -36px rgba(30, 27, 75, .6); transition: transform .25s; }
.ais-promo:hover { transform: translateY(-2px); color: #c9cde0; }
.ais-promo__k { flex: none; padding: 5px 12px; border-radius: 999px; font: 600 11px "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(100deg, #7c3aed, #2563eb); }
.ais-promo__b { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ais-promo__b b { color: #fff !important; font-size: 19px; }
.ais-promo__b span { color: #c9cde0 !important; }
.ais-promo__a { flex: none; font-weight: 600; color: #fff; }
@media (max-width: 640px) { .ais-promo { flex-wrap: wrap; } .ais-promo__a { flex-basis: 100%; } }
