.wl-intel,
.wl-intel *{box-sizing:border-box}

.wl-intel{
  --bg:#121214;
  --card:rgba(20,24,34,.60);
  --card-border:rgba(255,255,255,.10);
  --white:#fff;
  --muted:#9ca3af;
  --muted-2:#8d99a8;
  --blue:#39aae1;
  --line:#383838;
  position:relative;
  width:100%;
  overflow:hidden;
  background:var(--bg);
  color:var(--white);
  font-family:"Plus Jakarta Sans",Inter,Arial,sans-serif;
  isolation:isolate;
}

/* Load only the required font. Remove this import if it is already
   loaded globally by the WordPress/Elementor site. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

/* ---------- Heading ---------- */
.wl-intel__heading{
  position:relative;
  z-index:10;
  width:min(822px,calc(100% - 40px));
  margin:0 auto;
  padding-top:80px;
  text-align:center;
}

.wl-intel__heading h2{
  margin:0;
  font-size:46px;
  line-height:58px;
  letter-spacing:-1.25px;
  font-weight:700;
}

.wl-intel__heading p{
  width:677px;
  max-width:100%;
  margin:8px auto 0;
  color:#d8d8d8;
  font-size:18px;
  line-height:23px;
  font-weight:500;
}

/* ---------- Main 1920px Figma coordinate system ----------
   The visual is authored once at the Figma dimensions and scaled
   as a single layer. This avoids dozens of breakpoint coordinates.
   ---------- */
.wl-intel__stage{
  --diagram-scale:1;
  position:relative;
  width:100%;
  height:1180px;
  margin-top:-170px;
  overflow:hidden;
}

/* The top of this canvas is aligned to the section's top:
   heading is at y=80 and the diagram/cards use the original
   Figma y coordinates. */
.wl-intel__canvas{
  position:absolute;
  top:0;
  left:50%;
  width:1920px;
  height:1180px;
  transform:translateX(-50%) scale(var(--diagram-scale));
  transform-origin:top center;
}

/* ---------- Connector SVG ----------
   SVG is preferable to CSS border tricks here: curves stay crisp,
   require no JS coordinate calculations, and scale with the canvas. */
.wl-intel__connectors{
  position:absolute;
  inset:0;
  z-index:1;
  width:1920px;
  height:850px;
  pointer-events:none;
}

.wl-intel__connectors path{
  fill:none;
  stroke:var(--blue);
  stroke-width:1.5;
  stroke-dasharray:2 4;
  opacity:.9;
}

.wl-intel__connectors circle{
  fill:var(--blue);
}

/* ---------- Glass cards ---------- */
.wl-glass{
  position:absolute;
  z-index:3;
  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:16px;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  box-shadow:inset 0 1px rgba(255,255,255,.015);
}

/* Source documents: Figma x=352 y=221 w=227 h=222 */
.wl-source{
  left:352px;
  top:221px;
  width:227px;
  height:222px;
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* Multiple inputs: Figma x=352 y=475 w=227 h=254 */
.wl-inputs{
  left:352px;
  top:475px;
  width:227px;
  height:254px;
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* Smart capture: Figma x=623 y=362 w=226 h=226 */
.wl-capture{
  left:623px;
  top:362px;
  width:226px;
  height:226px;
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* Categorized entries: Figma x=1268 y=322 w=254.31 h=306 */
.wl-categorized{
  left:1268px;
  top:322px;
  width:254.31px;
  height:306px;
  padding:24px;
}

/* ---------- Card icon containers ---------- */
.wl-icon{
  display:grid;
  place-items:center;
  flex:none;
  background:rgba(30,35,48,.8);
  border:1px solid rgba(255,255,255,.05);
  border-radius:8px;
  color:var(--blue);
}

.wl-source .wl-icon{
  width:80px;height:80px;
  margin-bottom:16px;
  filter:drop-shadow(0 0 15px rgba(139,92,246,.30));
  background:transparent;
  border:0;
  border-radius:0;
}

.wl-capture .wl-icon{
  width:64px;height:64px;
  margin-bottom:16px;
  border-radius:12px;
  box-shadow:0 0 20px rgba(57,170,225,.20);
}

.wl-title{
  margin:0 0 8px;
  color:#fff;
  font-size:18px;
  line-height:28px;
  font-weight:600;
}

.wl-description{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:20px;
  font-weight:500;
}

.wl-source .wl-description{width:165px}
.wl-capture .wl-description{width:154px}

.wl-inputs .wl-title{margin-top:1px}
.wl-inputs .wl-description{width:131px}

/* Multiple input 2 × 2 icon grid */
.wl-input-icons{
  width:112px;
  height:112px;
  display:grid;
  grid-template-columns:48px 48px;
  grid-template-rows:48px 48px;
  gap:16px;
  margin-bottom:16px;
}

.wl-input-icon{
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.05);
  border-radius:8px;
  background:rgba(30,35,48,.8);
}

.wl-input-icon svg{width:24px;height:24px}

/* ---------- AI processing core ---------- */
.wl-ai{
  position:absolute;
  z-index:4;
  left:963.28px;
  top:371px;
  width:192px;
  height:192px;
}

.wl-ai__ring{
  position:absolute;
  inset:0;
  border:1px solid rgba(57,170,225,.20);
  border-radius:50%;
}

.wl-ai__ring--2{
  inset:16px;
  border-color:rgba(57,170,225,.40);
}

.wl-ai__core{
  position:absolute;
  inset:32px;
  display:grid;
  place-items:center;
  border:1px solid var(--blue);
  border-radius:50%;
  background:#161326;
  box-shadow:0 0 30px rgba(57,170,225,.30);
}

.wl-ai__core svg{
  width:36px;
  height:36px;
  color:var(--blue);
  filter:drop-shadow(0 0 8px rgba(57,170,225,.35));
}

.wl-ai-label{
  position:absolute;
  top:205px;
  left:-5px;
  width:202px;
  text-align:center;
}

.wl-ai-label h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:28px;
  font-weight:600;
}

.wl-ai-label p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:18px;
  font-weight:500;
}

/* ---------- Categorized entries ---------- */
.wl-entry-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.wl-entry{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:32px;
}

.wl-entry__left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.wl-entry__icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  flex:none;
  border:1px solid rgba(168,85,247,.30);
  border-radius:6px;
  background:rgba(30,35,48,.8);
  color:var(--blue);
}

.wl-entry:nth-child(2) .wl-entry__icon{border-color:rgba(34,197,94,.30);color:#22c55e}
.wl-entry:nth-child(3) .wl-entry__icon{border-color:rgba(239,68,68,.30);color:#ef4444}

.wl-entry__name{
  color:#d1d5db;
  font-size:14px;
  line-height:20px;
  font-weight:700;
}

.wl-entry__amount{
  color:#fff;
  font-size:14px;
  line-height:20px;
  font-weight:700;
  white-space:nowrap;
}

.wl-categorized__heading{
  margin:31px 0 0;
  text-align:center;
  color:#fff;
  font-size:18px;
  line-height:28px;
  font-weight:600;
}

.wl-categorized__copy{
  width:190px;
  margin:8px auto 0;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  line-height:20px;
  font-weight:500;
}

/* ---------- Bottom feature strip ---------- */
.wl-features{
  position:absolute;
  z-index:8;
  left:0;
  top:850px;
  width:1920px;
  height:250px;
  display:grid;
  grid-template-columns:repeat(5,264px);
  justify-content:center;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.wl-feature{
  position:relative;
  height:250px;
  padding:94px 30px 20px;
  border-right:1px solid var(--line);
  background-color: #12121400;
}

.wl-feature:first-child{border-left:1px solid var(--line)}
.wl-feature.is-active{
  background:#fffafa;
  color:#161719;
}

.wl-feature__icon{
  position:absolute;
  top:94px;
  left:30px;
  width:30px;
  height:30px;
  color:var(--muted-2);
}

.wl-feature.is-active .wl-feature__icon{color:#34373a}

.wl-feature__content{
  position:absolute;
  top:152px;
  left:30px;
  right:30px;
}

.wl-feature h3{
  margin:0 0 9px;
  color:#fff;
  font-size:16px;
  line-height:20px;
  font-weight:700;
}

.wl-feature.is-active h3{color:#191b1e}

.wl-feature p{
  margin:0;
  color:var(--muted-2);
  font-size:14px;
  line-height:18px;
  font-weight:500;
}

.wl-feature.is-active p{font-weight:500}

/* ---------- Hover / interaction ---------- */
.wl-feature{
  transition:background-color .25s ease;
}
.wl-feature:not(.is-active):hover{
  background:rgba(255,255,255,.025);
}
.wl-glass{
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
.wl-glass:hover{
  border-color:rgba(57,170,225,.25);
  box-shadow:inset 0 1px rgba(255,255,255,.03),0 10px 30px rgba(0,0,0,.10);
}

/* ---------- Entry animation ---------- */
.wl-intel__canvas{
  opacity:0;
}
.wl-intel.is-visible .wl-intel__canvas{
  opacity:1;
  transition:opacity .7s ease;
}

.wl-intel.is-visible .wl-source{
  animation:wl-card-in .65s cubic-bezier(.2,.8,.2,1) .05s both;
}
.wl-intel.is-visible .wl-inputs{
  animation:wl-card-in .65s cubic-bezier(.2,.8,.2,1) .15s both;
}
.wl-intel.is-visible .wl-capture{
  animation:wl-card-in .65s cubic-bezier(.2,.8,.2,1) .25s both;
}
.wl-intel.is-visible .wl-categorized{
  animation:wl-card-in .65s cubic-bezier(.2,.8,.2,1) .35s both;
}
.wl-intel.is-visible .wl-ai{
  animation:wl-ai-in .8s cubic-bezier(.2,.8,.2,1) .2s both;
}

@keyframes wl-card-in{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes wl-ai-in{
  from{opacity:0;transform:scale(.82)}
  to{opacity:1;transform:scale(1)}
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .wl-intel__heading{
    width:calc(100% - 32px);
    padding-top:56px;
  }

  .wl-intel__heading h2{
    font-size:34px;
    line-height:43px;
    letter-spacing:-.8px;
  }

  .wl-intel__heading p{
    font-size:15px;
    line-height:21px;
  }

  .wl-intel__stage{
    height:1320px;
    margin-top:30px;
    overflow:hidden;
  }

  /* On tablet/mobile the Figma canvas becomes a real layout.
     We do not shrink the 1920px desktop coordinate system. */
  .wl-intel__canvas{
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    height:1320px;
    transform:none !important;
    transform-origin:initial;
  }

  .wl-intel__connectors{
    display:none;
  }

  .wl-source,
  .wl-inputs,
  .wl-capture,
  .wl-categorized{
    left:50% !important;
    transform:translateX(-50%) !important;
    margin:0 !important;

    width: 70vw;  
  }

  .wl-source{
    top:18px !important;
  }

  .wl-inputs{
    top:275px !important;
  }

  .wl-capture{
    top:550px !important;
  }

  .wl-ai{
    left:50% !important;
    top:805px !important;
    transform:translateX(-50%) !important;
  }

  .wl-ai-label{
    top:205px;
  }

  .wl-categorized{
    top:1035px !important;
  }

  /* Feature navigation belongs AFTER the diagram, never over it. */
  .wl-features{
    position:absolute !important;
    z-index:8;
    top:1420px !important;
    left:0 !important;
    width:100% !important;
    height:250px !important;
    display:flex !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .wl-features::-webkit-scrollbar{
    display:none;
  }

  .wl-feature{
    flex:0 0 270px;
    width:270px;
    height:250px;
  }
}

@media (max-width:600px){
  .wl-intel__heading{
    width:calc(100% - 30px);
    padding-top:42px;
  }

  .wl-intel__heading h2{
    font-size:28px;
    line-height:35px;
    letter-spacing:-.7px;
  }

  .wl-intel__heading p{
    width:100%;
    font-size:13.5px;
    line-height:20px;
  }

  .wl-intel__heading br{
    display:none;
  }

  .wl-intel__stage{
    height:1565px;
    margin-top:30px;
    overflow:hidden;
  }

  .wl-intel__canvas{
    width:100%;
    height:1565px;
  }

  /* ---------- Main mobile flow ---------- */

  .wl-source,
  .wl-inputs,
  .wl-capture,
  .wl-categorized{
    width:min(280px,calc(100vw - 32px)) !important;
    left:50% !important;
  }

  .wl-source{
    top:12px !important;
    height:222px !important;
  }

  .wl-inputs{
    top:260px !important;
    height:254px !important;
  }

  .wl-capture{
    top:535px !important;
    height:226px !important;
  }

  .wl-ai{
    left:50% !important;
    top:785px !important;
    width:168px !important;
    height:168px !important;
  }

  .wl-ai__core{
    inset:29px;
  }

  .wl-ai-label{
    top:182px !important;
    left:50% !important;
    width:225px !important;
    transform:translateX(-50%) !important;
  }

  .wl-ai-label h3{
    font-size:18px;
    line-height:25px;
    margin-bottom:6px;
  }

  .wl-ai-label p{
    font-size:12.5px;
    line-height:17px;
  }

  .wl-categorized{
    top:1000px !important;
    height:306px !important;
  }

  /* CSS-only vertical connectors. */
  .wl-source::after,
  .wl-inputs::after,
  .wl-capture::after,
  .wl-ai::after{
    content:"";
    position:absolute;
    z-index:-1;
    left:50%;
    top:100%;
    width:1px;
    height:22px;
    transform:translateX(-50%);
    background:linear-gradient(
      to bottom,
      rgba(57,170,225,.9),
      rgba(57,170,225,.12)
    );
  }

  .wl-source::before,
  .wl-inputs::before,
  .wl-capture::before,
  .wl-ai::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:-25px;
    width:5px;
    height:5px;
    transform:translateX(-50%);
    border-radius:50%;
    background:var(--blue);
    box-shadow:0 0 9px rgba(57,170,225,.45);
  }

  /*
   * IMPORTANT:
   * Feature navigation is physically below the categorized card.
   * It is not positioned at the old desktop y=850 anymore.
   */
  .wl-features{
    position:absolute !important;
    top:1335px !important;
    left:0 !important;
    width:100% !important;
    height:205px !important;
    min-height:205px !important;
    margin:0 !important;
    display:flex !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .wl-features::-webkit-scrollbar{
    display:none;
  }

  .wl-feature{
    position:relative;
    flex:0 0 82vw !important;
    width:82vw !important;
    min-width:82vw !important;
    min-height:205px !important;
    height:205px !important;
    padding:65px 22px 20px !important;
  }

  .wl-feature__icon{
    top:22px !important;
    left:22px !important;
    width:27px !important;
    height:27px !important;
  }

  .wl-feature__content{
    top:62px !important;
    left:22px !important;
    right:22px !important;
  }

  .wl-feature h3{
    font-size:15px !important;
    line-height:20px !important;
  }

  .wl-feature p{
    font-size:12px !important;
    line-height:18px !important;
  }
}

@media (max-width:390px){
  .wl-intel__heading h2{
    font-size:25px;
    line-height:32px;
  }

  .wl-intel__heading p{
    font-size:13px;
  }

  .wl-intel__stage{
    height:1565px;
  }

  .wl-source,
  .wl-inputs,
  .wl-capture,
  .wl-categorized{
    width:calc(100vw - 32px) !important;
  }

  .wl-source{
    top:8px !important;
  }

  .wl-inputs{
    top:248px !important;
  }

  .wl-capture{
    top:528px !important;
  }

  .wl-ai{
    top:775px !important;
  }

  .wl-categorized{
    top:985px !important;
  }

  .wl-features{
    top:1320px !important;
  }

  .wl-feature{
    flex-basis:86vw !important;
    width:86vw !important;
    min-width:86vw !important;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .wl-intel__canvas,
  .wl-glass,
  .wl-ai{
    animation:none!important;
    transition:none!important;
  }
  .wl-intel.is-visible .wl-intel__canvas{opacity:1}
}