/* 1.2.7 — isolated final journey CTA. Intentionally uses new class names to avoid legacy CTA collisions. */
#aghd-home .aghd-journey-cta{
    position:relative;
    padding:44px 0 68px!important;
    margin:0!important;
    background:linear-gradient(180deg,#fff 0%,#fff 100%)!important;
}
#aghd-home .aghd-journey-cta__card{
    position:relative;
    isolation:isolate;
    display:grid!important;
    grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)!important;
    align-items:center!important;
    gap:34px!important;
    min-height:250px!important;
    padding:34px 38px!important;
    border-radius:32px!important;
    overflow:hidden!important;
    color:#fff!important;
    background:
      radial-gradient(circle at 82% 28%,rgba(151,75,255,.22),transparent 31%),
      radial-gradient(circle at 18% 78%,rgba(211,69,228,.11),transparent 34%),
      linear-gradient(125deg,rgba(9,7,25,.98),rgba(14,9,34,.97) 48%,rgba(20,11,45,.98))!important;
    border:1px solid rgba(189,135,255,.20)!important;
    box-shadow:0 26px 70px rgba(28,12,59,.14),inset 0 1px 0 rgba(255,255,255,.06)!important;
    backdrop-filter:blur(24px)!important;
    -webkit-backdrop-filter:blur(24px)!important;
}
#aghd-home .aghd-journey-cta__card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
      linear-gradient(rgba(196,140,255,.035) 1px,transparent 1px),
      linear-gradient(90deg,rgba(196,140,255,.035) 1px,transparent 1px);
    background-size:32px 32px;
    mask-image:linear-gradient(90deg,transparent 0%,#000 30%,#000 100%);
}
#aghd-home .aghd-journey-cta__card::after{
    content:"";
    position:absolute;
    left:-110px;
    bottom:-175px;
    width:290px;
    height:290px;
    border:1px solid rgba(188,113,255,.16);
    border-radius:50%;
    box-shadow:0 0 0 42px rgba(188,113,255,.028),0 0 0 84px rgba(188,113,255,.018);
    pointer-events:none;
}
#aghd-home .aghd-journey-cta__copy{position:relative;z-index:3;max-width:700px!important}
#aghd-home .aghd-journey-cta__eyebrow{
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    margin:0 0 12px!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    background:rgba(173,91,255,.12)!important;
    border:1px solid rgba(206,164,255,.14)!important;
    color:#dcbcff!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
}
#aghd-home .aghd-journey-cta__eyebrow i{font-style:normal;color:#c363ff}
#aghd-home .aghd-journey-cta__title{
    margin:0 0 10px!important;
    color:#fff!important;
    font-size:clamp(28px,2.5vw,39px)!important;
    line-height:1.48!important;
    font-weight:900!important;
    letter-spacing:-.45px!important;
    text-shadow:none!important;
}
#aghd-home .aghd-journey-cta__text{
    margin:0!important;
    max-width:620px!important;
    color:#cfc7db!important;
    font-size:14px!important;
    line-height:2!important;
    font-weight:500!important;
}
#aghd-home .aghd-journey-cta__actions{display:flex!important;align-items:center!important;gap:11px!important;margin-top:22px!important}
#aghd-home .aghd-journey-cta__primary,
#aghd-home .aghd-journey-cta__secondary{
    min-height:48px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    padding:0 19px!important;
    border-radius:14px!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:800!important;
    white-space:nowrap!important;
    transition:transform .28s ease,box-shadow .28s ease,background .28s ease,border-color .28s ease!important;
}
#aghd-home .aghd-journey-cta__primary{
    color:#fff!important;
    background:linear-gradient(135deg,#9348ff,#b34cff 52%,#d04fce)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 14px 32px rgba(151,64,255,.23)!important;
}
#aghd-home .aghd-journey-cta__primary:hover{transform:translateY(-2px)!important;box-shadow:0 19px 38px rgba(151,64,255,.31)!important}
#aghd-home .aghd-journey-cta__secondary{color:#ddd4e8!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.10)!important}
#aghd-home .aghd-journey-cta__secondary:hover{color:#fff!important;background:rgba(181,104,255,.08)!important;border-color:rgba(192,136,255,.30)!important;transform:translateY(-2px)!important}
#aghd-home .aghd-journey-cta__arrow{display:inline-block;width:15px;height:15px;background:#fff;-webkit-mask:url('../images/hero-arrow.png') center/contain no-repeat;mask:url('../images/hero-arrow.png') center/contain no-repeat;transform:rotate(180deg)}

#aghd-home .aghd-journey-cta__visual{
    position:relative!important;
    width:300px!important;
    height:184px!important;
    justify-self:center!important;
    display:grid!important;
    place-items:center!important;
}
#aghd-home .aghd-journey-cta__art-card{
    position:relative!important;
    width:210px!important;
    height:150px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:28px!important;
    background:linear-gradient(145deg,rgba(123,67,218,.13),rgba(255,255,255,.025))!important;
    border:1px solid rgba(203,161,255,.12)!important;
    box-shadow:0 24px 52px rgba(78,31,138,.24),inset 0 1px 0 rgba(255,255,255,.06)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    animation:aghdJourneyFloat 4.8s ease-in-out infinite;
}
#aghd-home .aghd-journey-cta__art-card img{display:block!important;width:190px!important;height:135px!important;object-fit:contain!important;filter:drop-shadow(0 22px 26px rgba(82,37,147,.32))!important}
#aghd-home .aghd-journey-cta__halo{position:absolute!important;left:50%!important;top:50%!important;border-radius:50%!important;border:1px solid rgba(198,139,255,.14)!important;transform:translate(-50%,-50%) rotate(-12deg)!important;pointer-events:none!important}
#aghd-home .aghd-journey-cta__halo--one{width:285px!important;height:120px!important;animation:aghdJourneyOrbit 13s linear infinite!important}
#aghd-home .aghd-journey-cta__halo--two{width:225px!important;height:88px!important;transform:translate(-50%,-50%) rotate(20deg)!important;opacity:.7!important;animation:aghdJourneyOrbitTwo 16s linear infinite reverse!important}
#aghd-home .aghd-journey-cta__spark{position:absolute!important;z-index:3!important;display:block!important;color:#dba9ff!important;filter:drop-shadow(0 7px 12px rgba(142,72,217,.35))!important;animation:aghdJourneyParticle 3.5s ease-in-out infinite!important}
#aghd-home .aghd-journey-cta__spark--1{left:14px!important;top:29px!important;font-size:18px!important}
#aghd-home .aghd-journey-cta__spark--2{right:18px!important;top:23px!important;width:14px!important;height:14px!important;border-radius:50%!important;background:#a84dff!important;animation-delay:.7s!important}
#aghd-home .aghd-journey-cta__spark--3{right:42px!important;bottom:22px!important;width:9px!important;height:9px!important;border-radius:3px!important;background:#d884ff!important;transform:rotate(45deg)!important;animation-delay:1.3s!important}
@keyframes aghdJourneyFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes aghdJourneyParticle{0%,100%{translate:0 0;opacity:.65}50%{translate:0 -8px;opacity:1}}
@keyframes aghdJourneyOrbit{to{transform:translate(-50%,-50%) rotate(348deg)}}
@keyframes aghdJourneyOrbitTwo{to{transform:translate(-50%,-50%) rotate(-340deg)}}

@media(max-width:992px){
  #aghd-home .aghd-journey-cta{padding:38px 0 58px!important}
  #aghd-home .aghd-journey-cta__card{grid-template-columns:minmax(0,1fr) 240px!important;gap:22px!important;padding:30px 28px!important}
  #aghd-home .aghd-journey-cta__visual{width:230px!important;height:160px!important;transform:scale(.9)!important}
}
@media(max-width:700px){
  #aghd-home .aghd-journey-cta{padding:28px 0 44px!important}
  #aghd-home .aghd-journey-cta__card{grid-template-columns:1fr!important;gap:13px!important;min-height:0!important;padding:22px 18px 20px!important;border-radius:26px!important;text-align:center!important}
  #aghd-home .aghd-journey-cta__visual{order:-1!important;width:205px!important;height:112px!important;transform:scale(.88)!important;transform-origin:center bottom!important;margin:-10px auto -3px!important}
  #aghd-home .aghd-journey-cta__art-card{width:190px!important;height:128px!important}
  #aghd-home .aghd-journey-cta__art-card img{width:170px!important;height:118px!important}
  #aghd-home .aghd-journey-cta__copy{display:flex!important;flex-direction:column!important;align-items:center!important}
  #aghd-home .aghd-journey-cta__title{font-size:22px!important;line-height:1.5!important;margin-bottom:7px!important}
  #aghd-home .aghd-journey-cta__text{font-size:12.5px!important;line-height:1.9!important;max-width:430px!important}
  #aghd-home .aghd-journey-cta__actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:16px!important}
  #aghd-home .aghd-journey-cta__primary,#aghd-home .aghd-journey-cta__secondary{width:100%!important;min-height:44px!important;padding:0 10px!important;font-size:11.5px!important;border-radius:13px!important}
  #aghd-home .aghd-journey-cta__card::after{display:none!important}
}
@media(max-width:420px){
  #aghd-home .aghd-journey-cta__actions{grid-template-columns:1fr!important}
  #aghd-home .aghd-journey-cta__visual{width:185px!important}
}


/* 1.2.8 Hero instructor repair: background based instructor markup */
#aghd-home .aghd-instructor-stage{
    position:relative!important;
    z-index:4!important;
    width:min(460px,100%)!important;
    height:520px!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    overflow:visible!important;
}
#aghd-home .aghd-instructor-figure{
    width:100%!important;
    height:100%!important;
    min-height:420px!important;
    background-repeat:no-repeat!important;
    background-position:center bottom!important;
    background-size:contain!important;
    position:relative!important;
    z-index:4!important;
}
#aghd-home .aghd-orbit-system{
    z-index:2!important;
}
#aghd-home .aghd-orbit{
    animation:aghdGalaxyOrbit 14s linear infinite!important;
    transform-origin:center!important;
}
#aghd-home .aghd-orbit--ai{animation-delay:-5s!important}
#aghd-home .aghd-orbit--ps{animation-delay:-10s!important}
@keyframes aghdGalaxyOrbit{
    from{rotate:0deg;translate:0}
    to{rotate:360deg;translate:0}
}
#aghd-home .aghd-instructor-stage{
    animation:aghdInstructorEnter128 1.8s cubic-bezier(.16,.82,.24,1) both!important;
}
@keyframes aghdInstructorEnter128{
    from{opacity:0;transform:translate3d(180px,25px,0) scale(.96);filter:blur(8px)}
    70%{opacity:1;transform:translate3d(-8px,0,0) scale(1.01);filter:blur(0)}
    to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@media(max-width:820px){
    #aghd-home .aghd-instructor-stage{
        height:330px!important;
        width:100%!important;
        transform:none!important;
    }
    #aghd-home .aghd-instructor-figure{
        min-height:300px!important;
        background-position:center bottom!important;
    }
}
