/* ==========================================================
   NEXT-STEP CTA BAND
   Sits between #implantUseCases and #visual-journey.
   Standalone stylesheet — nothing here touches styles.css.

   NOTE: .ctb__arch holds the screen blend and must stay a
   direct child of .ctb (which carries isolation:isolate).
   Nested deeper, Chromium promotes it to its own compositing
   layer and drops the blend, rendering the black frame plate
   as a solid black box.
========================================================== */

.ctb{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    padding:clamp(54px,8.5vh,104px) 0;
    background:#000;
    border-block:1px solid rgba(255,255,255,.09);
}


/* ── slow conic sweep ── */
.ctb__beam{
    position:absolute;
    top:50%; left:50%;
    width:200vmax; height:200vmax;
    transform:translate(-50%,-50%);
    transform-origin:50% 50%;
    z-index:0;
    pointer-events:none;
    background:conic-gradient(from 0deg,
        transparent 0deg, rgba(81,199,223,.12) 22deg, transparent 58deg,
        transparent 190deg, rgba(81,199,223,.06) 214deg, transparent 250deg, transparent 360deg);
    animation:ctbSpin 40s linear infinite;
}
@keyframes ctbSpin{
    from{transform:translate(-50%,-50%) rotate(0)}
    to{transform:translate(-50%,-50%) rotate(360deg)}
}


/* ── drifting hairline grid, masked at the edges ── */
.ctb__grid{
    position:absolute; inset:-40px; z-index:0; pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.034) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.034) 1px,transparent 1px);
    background-size:62px 62px;
    animation:ctbPan 32s linear infinite;
    -webkit-mask-image:radial-gradient(78% 68% at 50% 50%,#000,transparent 86%);
            mask-image:radial-gradient(78% 68% at 50% 50%,#000,transparent 86%);
}
@keyframes ctbPan{from{transform:translate3d(0,0,0)}to{transform:translate3d(-62px,-62px,0)}}

.ctb__veil{
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background:radial-gradient(72% 62% at 46% 50%,transparent,rgba(0,0,0,.8) 88%);
}


/* ══ THE ARCH — direct child of .ctb, see note above ══ */
.ctb__arch {
    position: absolute;
    z-index: 1;
    right: calc(50% - min(620px, 46vw) + clamp(10px, 3vw, 60px));
    top: 60%;
    width: clamp(210px, 21vw, 398px);
    aspect-ratio: 3 / 3;
    transform: translateY(-39%);
    /* background: radial-gradient(72% 58% at 50% 40%, rgba(81, 199, 223, .15), rgba(4, 4, 5, .92) 76%); */
    /* box-shadow: 0 40px 90px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .07); */
    /* overflow: hidden; */
    pointer-events: none;
}
/* ripples travelling out of the alcove */
.ctb__halo{
    position:absolute;
    top:38%; left:50%;
    width:120%; aspect-ratio:1;
    border-radius:50%;
    transform:translate(-50%,-50%);
    border:1px solid rgba(81,199,223,.3);
    animation:ctbRipple 5.4s ease-out infinite;
}
.ctb__halo--2{animation-delay:1.8s}
.ctb__halo--3{animation-delay:3.6s}
@keyframes ctbRipple{
    0%{transform:translate(-50%,-50%) scale(.4);opacity:0}
    20%{opacity:.8}
    100%{transform:translate(-50%,-50%) scale(1.05);opacity:0}
}

/* the implant. black plate → transparent via screen */
.ctb__glyph{
    position:absolute; inset:0; z-index:2;
    mix-blend-mode:screen;
    animation:ctbFloat 11s ease-in-out infinite;
}
.ctb__glyph img{position:absolute; inset:4% 7%; width:86%; height:92%; object-fit:contain}
.ctb__glyph img:first-child{
    filter:brightness(.86) contrast(3.2) sepia(1) hue-rotate(162deg) saturate(5.5) brightness(1.3) blur(30px);
    animation:ctbPulse 6.4s ease-in-out infinite;
}
.ctb__glyph img:last-child{
    filter:brightness(.94) contrast(2.3) sepia(.34) hue-rotate(160deg) saturate(2) brightness(1.06);
}
@keyframes ctbFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-15px)}}
@keyframes ctbPulse{0%,100%{opacity:.5}50%{opacity:.95}}

.ctb__floor{
    position:absolute; left:50%; bottom:6%;
    width:64%; height:15px;
    transform:translateX(-50%);
    background:radial-gradient(ellipse at center,rgba(81,199,223,.32),transparent 72%);
    filter:blur(5px);
}


/* ══ CONTENT ══ */
.ctb__wrap{
    position:relative; z-index:3;
    max-width:1240px; margin:0 auto;
    padding-inline:clamp(20px,5vw,64px);
}
.ctb__copy{max-width:min(62ch,58%)}

.ctb__eyebrow{
    display:inline-flex; align-items:center; gap:9px;
    margin-bottom:20px;
    font-size:10px; font-weight:700; letter-spacing:.26em; text-transform:uppercase;
    color:rgba(81,199,223,.9);
}
.ctb__eyebrow::before{
    content:""; width:6px; height:6px; border-radius:50%; background:#51c7df;
    box-shadow:0 0 0 0 rgba(81,199,223,.55);
    animation:ctbPing 2.6s ease-out infinite;
}
@keyframes ctbPing{
    0%{box-shadow:0 0 0 0 rgba(81,199,223,.55)}
    70%{box-shadow:0 0 0 12px rgba(81,199,223,0)}
    100%{box-shadow:0 0 0 0 rgba(81,199,223,0)}
}

.ctb__title{
    margin:0 0 16px;
    max-width:17ch;
    font-size:clamp(28px,4.6vw,58px);
    font-weight:400; line-height:1.03; letter-spacing:-.032em;
    color:#f5f5f2;
}
.ctb__title em{
    font-style:normal;
    background:linear-gradient(96deg,#8fe8f8,#51c7df 52%,#2c7f92);
    -webkit-background-clip:text; background-clip:text; color:transparent;
}

.ctb__text{
    margin:0 0 30px; max-width:48ch;
    font-size:14.5px; line-height:1.72; color:rgba(245,245,242,.58);
}

.ctb__acts{display:flex; flex-wrap:wrap; gap:12px; align-items:center}

.ctb__btn{
    position:relative;
    display:inline-flex; align-items:center; gap:12px;
    height:54px; padding:0 14px 0 28px;
    border-radius:999px;
    background:#f5f5f2; color:#0b0b0c;
    font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
    text-decoration:none;
    transition:transform .3s cubic-bezier(.22,1,.36,1), background .3s ease;
}
.ctb__btn i{
    width:30px; height:30px; border-radius:50%;
    background:#0b0b0c; color:#51c7df;
    display:grid; place-items:center; font-style:normal; font-size:14px;
    transition:transform .35s cubic-bezier(.22,1,.36,1);
}
.ctb__btn:hover{transform:translateY(-3px); background:#51c7df}
.ctb__btn:hover i{transform:translateX(3px)}
.ctb__btn::after{
    content:""; position:absolute; inset:0; border-radius:999px;
    border:1px solid rgba(245,245,242,.5);
    animation:ctbHalo 3.2s ease-out infinite;
    pointer-events:none;
}
@keyframes ctbHalo{
    0%{transform:scale(1);opacity:.5}
    70%,100%{transform:scale(1.16);opacity:0}
}

.ctb__ghost{
    display:inline-flex; align-items:center; gap:10px;
    height:54px; padding:0 26px; border-radius:999px;
    border:1px solid rgba(255,255,255,.18);
    color:#f5f5f2; font-size:12.5px; font-weight:600; letter-spacing:.06em;
    text-decoration:none;
    transition:border-color .3s ease, background .3s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
.ctb__ghost svg{width:17px; height:17px; fill:currentColor}
.ctb__ghost:hover{
    border-color:rgba(81,199,223,.6); background:rgba(81,199,223,.08); transform:translateY(-3px);
}

.ctb__call{
    margin-left:6px;
    font-size:13.5px; color:rgba(245,245,242,.5); text-decoration:none;
    transition:color .25s ease;
}
.ctb__call b{color:#f5f5f2; font-weight:600}
.ctb__call:hover{color:#51c7df}

.ctb__notes{
    display:flex; flex-wrap:wrap; gap:10px 26px;
    margin:32px 0 0; padding:20px 0 0;
    border-top:1px solid rgba(255,255,255,.09);
    list-style:none; padding-inline-start:0;
    max-width:50ch;
}
.ctb__notes li{
    display:flex; align-items:center; gap:9px;
    font-size:11.5px; color:rgba(245,245,242,.45);
}
.ctb__notes li::before{
    content:""; width:5px; height:5px; border-radius:50%; background:rgba(81,199,223,.75);
}


/* ══ RESPONSIVE ══ */
@media (max-width:1000px){
    .ctb__copy{max-width:none}
    .ctb__arch{
        position:relative; right:auto; top:auto;
        transform:none;
        width:clamp(170px,38vw,230px);
        margin:0 auto clamp(22px,4vh,36px);
    }
    .ctb__wrap{display:flex; flex-direction:column}
    .ctb__notes{max-width:none}
}
@media (max-width:560px){
    .ctb__btn, .ctb__ghost{width:100%; justify-content:space-between}
    .ctb__ghost{justify-content:center}
    .ctb__call{margin:4px 0 0}
    .ctb__grid{background-size:44px 44px}
    .ctb__glyph img:first-child{
        filter:brightness(.86) contrast(3.2) sepia(1) hue-rotate(162deg) saturate(5.5) brightness(1.3) blur(16px);
    }
         .ctb__arch {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: clamp(380px, 38vw, 230px);
        margin: 0 auto clamp(22px, 4vh, 36px);
    }
    img.pdr-clinic-video__media {
    width: 360px;
}
}
@media (prefers-reduced-motion:reduce){
    .ctb__beam, .ctb__grid, .ctb__glyph, .ctb__glyph img:first-child,
    .ctb__halo, .ctb__eyebrow::before, .ctb__btn::after{
        animation:none !important;
    }
}