/* How It's Different (white) | prefix: hd | section.hd in index.html */

.hd {
   --hd-cyan: #19d3ff;
   --hd-blue: #3b5bff;
   --hd-violet: #7c3aed;
   --hd-magenta: #d946ef;
   --hd-navy: #0a0d2b;
   --hd-ink: #0f1330;
   --hd-grad: linear-gradient(100deg, var(--hd-cyan), var(--hd-blue) 40%, var(--hd-violet) 72%, var(--hd-magenta));
   position: relative;
   isolation: isolate;
   overflow: hidden;
padding: 50px 0px 0px;
   background: #fff;
   font-family: 'Inter', 'Poppins', sans-serif;
   color: var(--hd-ink);
   background: #fff url(../images/hd.webp) center top no-repeat;
}

/* .hd::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background:
      radial-gradient(520px 380px at 4% 8%, rgba(25, 211, 255, .17), transparent 70%),
      radial-gradient(560px 420px at 98% 50%, rgba(124, 58, 237, .13), transparent 70%),
      radial-gradient(520px 380px at 45% 106%, rgba(217, 70, 239, .13), transparent 70%);
} */

.hd::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background-image: radial-gradient(rgba(59, 91, 255, .2) 1px, transparent 1.4px);
   background-size: 26px 26px;
   -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 70%);
   mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 70%);
}

.hd__wrap {
   max-width: 1120px;
   margin: 0 auto;
}

.hd__head {
   text-align: center;
}

.hd__title {
   margin: 0;
   font-size: clamp(44px, 7vw, 92px);
   font-weight: 800;
   letter-spacing: -.05em;
   line-height: 1;
}

.hd__title em {
   font-family: 'Instrument Serif', Georgia, serif;
   font-style: italic;
   font-weight: 400;
   font-size: 1.12em;
   letter-spacing: -.01em;
   padding: 0 .08em .06em 0;
   background: var(--hd-grad);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

.hd__divider {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 14px;
   margin-top: 30px;
}

.hd__divider span {
   width: 90px;
   height: 2px;
   border-radius: 2px;
   background: linear-gradient(90deg, transparent, var(--hd-violet));
}

.hd__divider span:last-child {
   transform: scaleX(-1);
}

.hd__divider i {
   font-style: normal;
   font-size: 18px;
   background: var(--hd-grad);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

/* ---------- stage: two plain tools merge into ExpertVerse ---------- */
.hd__stage {
   display: grid;
   grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1.55fr);
   align-items: center;
   margin-top: 76px;
}

.hd__old {
   display: grid;
   gap: 22px;
}

.hd__old-card {
   display: flex;
   align-items: center;
   gap: 18px;
   padding: 24px 26px;
   border: 1.5px dashed rgba(15, 19, 48, .22);
   border-radius: 24px;
   background: rgba(255, 255, 255, .75);
}

.hd__old-ic {
   flex: none;
   display: grid;
   place-items: center;
   width: 54px;
   height: 54px;
   border-radius: 16px;
   background: #eceef8;
   color: #7b82a8;
}

.hd__old-ic svg {
   width: 28px;
   height: 28px;
   fill: none;
   stroke: currentColor;
   stroke-width: 2.4;
   stroke-linecap: round;
   stroke-linejoin: round;
}

.hd__old-card p {
   margin: 0;
   font-size: clamp(17px, 1.8vw, 21px);
   font-weight: 700;
   letter-spacing: -.01em;
   line-height: 1.35;
   color: #6b7091;
}

/* connector */
.hd__join {
   width: 100%;
   height: 300px;
   overflow: visible;
}

.hd__join path {
   fill: none;
   stroke: url(#hdJoinG);
   stroke-width: 3;
   stroke-linecap: round;
   stroke-dasharray: 2 9;
   vector-effect: non-scaling-stroke;
}

/* the new, connected way */
.hd__new {
   position: relative;
   isolation: isolate;
   overflow: hidden;
   padding: 50px 46px;
   border: 1.5px solid transparent;
   border-radius: 34px;
   background:
      linear-gradient(160deg, #181d52, var(--hd-navy) 70%) padding-box,
      linear-gradient(140deg, var(--hd-cyan), var(--hd-violet) 55%, var(--hd-magenta)) border-box;
   box-shadow: 0 50px 100px -34px rgba(59, 91, 255, .7), 0 0 50px rgba(59, 91, 255, .25);
}

.hd__new-glow {
   position: absolute;
   top: -120px;
   right: -100px;
   z-index: -1;
   width: 360px;
   height: 360px;
   border-radius: 50%;
   background: radial-gradient(closest-side, rgba(124, 58, 237, .65), transparent);
   filter: blur(14px);
}

.hd__new-p {
   margin: 0;
   font-size: clamp(20px, 2.3vw, 30px);
   font-weight: 600;
   letter-spacing: -.02em;
   line-height: 1.5;
   color: #d9dcf5;
}

.hd__new-p strong {
   font-weight: 800;
   background: linear-gradient(100deg, #fff, #a5f3fc);
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

.hd__new-p mark {
   padding: 1px 10px 3px;
   border-radius: 10px;
   background: linear-gradient(100deg, rgba(25, 211, 255, .28), rgba(124, 58, 237, .4));
   box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
   font-weight: 800;
   color: #fff;
   white-space: nowrap;
}

.hd__demo {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 14px;
   margin: 56px 0 0;
   font-size: clamp(16px, 1.8vw, 20px);
   font-weight: 700;
   text-align: left;
   color: var(--hd-ink);
}

.hd__demo-ic {
   flex: none;
   display: grid;
   place-items: center;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: var(--hd-grad);
   box-shadow: 0 10px 24px -6px rgba(59, 91, 255, .6);
}

.hd__demo-ic svg {
   width: 18px;
   height: 18px;
   fill: #fff;
   margin-left: 2px;
}

@media (max-width: 900px) {
   .hd__stage {
      grid-template-columns: 1fr;
      margin-top: 54px;
   }

   .hd__join {
      display: none;
   }

   .hd__new {
      margin-top: 22px;
      padding: 38px 28px;
   }
}

@media (max-width: 575px) {
   .hd {
      padding: 80px 16px 80px;
   }

   .hd__old-card {
      padding: 18px;
   }

   .hd__new {
      border-radius: 26px;
   }
}
