.fwtn-services {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  padding: clamp(4.6rem, 8.8vw, 8.6rem) 0;
}

.fwtn-services__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0a0a0a 0%, rgba(10,10,10,.45) 50%, #0a0a0a 100%),
    url("https://images.unsplash.com/photo-1593266896571-a38ef2a789c7?w=1600&q=80") center / cover no-repeat;
  opacity: .3;
}

.fwtn-services__orb {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(92vw, 800px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(76,43,124,.16);
  filter: blur(180px);
  animation: fwtnServicesOrb 10s ease-in-out infinite;
}

.fwtn-services__container {
  position: relative;
  z-index: 1;
  width: min(96vw, 1440px);
  margin: 0 auto;
}

.fwtn-services__head {
  text-align: center;
  margin-bottom: clamp(2.2rem, 6vw, 6rem);
}

.fwtn-services__eyebrow {
  display: inline-flex;
  padding: .62rem 1.15rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #6b3fa0;
  font-size: .875rem;
  font-weight: 500;
  backdrop-filter: blur(18px);
}

.fwtn-services__head h2 {
  margin: 1.3rem 0 0;
  font-size: clamp(2.1rem, 5.2vw, 3.75rem);
  line-height: 1.08;
}

.fwtn-services__head h2 span {
  display: block;
}

.fwtn-services__head h2 .is-accent {
  margin-top: .2rem;
  background: linear-gradient(90deg, #fff 0%, #6b3fa0 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fwtn-services__head p {
  margin: 1rem auto 0;
  max-width: 32ch;
  font-size: clamp(1.02rem, 1.9vw, 1.5rem);
  line-height: 1.35;
  color: rgba(255,255,255,.62);
  font-weight: 300;
}

.fwtn-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.fwtn-service-card {
  position: relative;
  border-radius: 32px;
  padding: clamp(1.2rem, 3vw, 2.75rem);
  min-height: 460px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 44%, rgba(76,43,124,.18) 100%),
    rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 100px rgba(0,0,0,.6), 0 8px 32px rgba(0,0,0,.4);
  backdrop-filter: blur(30px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  transform-style: preserve-3d;
}
.fwtn-service-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.03) 52%, rgba(76,43,124,.2) 100%);
  pointer-events:none;
  transition: opacity .45s ease, transform .6s ease;
  background-size: 180% 180%;
}
.fwtn-service-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background: linear-gradient(135deg, rgba(76,43,124,0), rgba(107,63,160,0), rgba(76,43,124,0));
  opacity:0;
  filter: blur(12px);
  transition: opacity .35s ease;
  z-index:-1;
}
.fwtn-service-card .fwtn-service-card__fx{
  display: none;
}

.fwtn-service-card::selection{
  background: rgba(107,63,160,.3);
}

.fwtn-service-card:hover {
  transform: translateY(-10px) rotateX(1.8deg) rotateY(-1.8deg);
  border-color: rgba(255,255,255,.24);
}
.fwtn-service-card:hover::before{
  transform: scale(1.015);
}
.fwtn-service-card:hover::after{
  opacity: 1;
  background: linear-gradient(135deg, rgba(76,43,124,.4), rgba(107,63,160,.28), rgba(76,43,124,.4));
}
.fwtn-service-card:hover{
  animation: fwtnCardFloat 4.8s ease-in-out infinite;
}
.fwtn-service-card:hover::before{
  animation: fwtnGlassFlow 6s ease-in-out infinite;
}

.fwtn-service-card > * {
  position: relative;
  z-index: 1;
}

.fwtn-service-card__icon-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom: 1.9rem;
  position: relative;
}

.fwtn-service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4c2b7c 0%, #6b3fa0 100%);
  box-shadow: 0 12px 40px rgba(107,63,160,.5);
  transition: transform .3s ease, filter .3s ease, box-shadow .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.fwtn-service-card__icon svg{
  width: 32px;
  height: 32px;
  stroke: currentColor;
}
.fwtn-service-card__accent{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  position: relative;
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e9dcff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(107,63,160,.28);
}
.fwtn-service-card__accent svg{
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: color .3s ease, filter .3s ease;
}
.fwtn-service-card:hover .fwtn-service-card__icon{
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 44px rgba(107,63,160,.7);
  filter: brightness(1.08);
}
.fwtn-service-card:hover .fwtn-service-card__accent{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.2);
  transform: rotate(8deg) scale(1.06);
  color: #fff;
}
.fwtn-service-card:hover .fwtn-service-card__accent svg{
  animation: fwtnSpin 1.2s linear infinite;
}

.fwtn-service-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  color: #fff;
  transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
}
.fwtn-service-card:hover h3{
  color: #fff;
  transform: translateX(2px);
  text-shadow: 0 0 18px rgba(255,255,255,.22), 0 0 24px rgba(107,63,160,.28);
}

.fwtn-service-card p {
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.58;
  font-size: 1.125rem;
  font-weight: 300;
}

.fwtn-service-card ul {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.fwtn-service-card li {
  padding: .45rem .85rem;
  border-radius: 9999px;
  font-size: .86rem;
  color: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
}

.fwtn-service-card a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.6rem;
  color: #6b3fa0;
  text-decoration: none;
  font-weight: 600;
  transition: color .25s ease, transform .25s ease;
}
.fwtn-service-card__arrow{
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.fwtn-service-card__arrow svg{
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.fwtn-service-card a .fwtn-service-card__arrow{
  transition: transform .25s ease;
}
.fwtn-service-card:hover a{
  color: #fff;
}
.fwtn-service-card:hover a .fwtn-service-card__arrow{
  transform: translate(2px,-1px);
}

.fwtn-services__bottom {
  text-align: center;
  margin-top: clamp(2rem, 4.5vw, 5rem);
}

.fwtn-services__bottom a {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  width: min(100%, 256px);
  padding: 0 2rem;
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.fwtn-services__bottom a:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.24);
}

@media (min-width: 1024px) {
  .fwtn-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .fwtn-service-card {
    min-height: 553px;
    padding: 2.75rem;
  }
}

@keyframes fwtnServicesOrb {
  0%,100% { transform: translateX(-50%) scale(1); opacity: .3; }
  50% { transform: translateX(-50%) scale(1.18); opacity: .5; }
}
@keyframes fwtnCardPulse {
  0%,100% { box-shadow: 0 24px 100px rgba(0,0,0,.6), 0 8px 32px rgba(0,0,0,.4); }
  50% { box-shadow: 0 26px 110px rgba(0,0,0,.66), 0 10px 36px rgba(76,43,124,.38); }
}
@keyframes fwtnSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fwtnCardFloat {
  0%,100% { transform: translateY(-10px) rotateX(1.8deg) rotateY(-1.8deg); box-shadow: 0 24px 100px rgba(0,0,0,.6), 0 8px 32px rgba(0,0,0,.4); }
  50% { transform: translateY(-14px) rotateX(1.2deg) rotateY(-1.2deg); box-shadow: 0 28px 114px rgba(0,0,0,.68), 0 12px 40px rgba(76,43,124,.32); }
}
@keyframes fwtnGlassFlow {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.fwtn-sr{
  opacity:0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fwtn-sr-2{ transition-delay: .14s; }
.fwtn-sr-3{ transition-delay: .28s; }
.fwtn-services-reveal.is-in .fwtn-sr{
  opacity:1;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .fwtn-services {
    padding: clamp(4.4rem, 12vw, 5.8rem) 0;
  }
  .fwtn-services__head {
    margin-bottom: clamp(1.9rem, 6vw, 2.6rem);
  }
  .fwtn-services__grid {
    gap: 1.2rem;
  }
  .fwtn-service-card {
    min-height: 0;
    border-radius: 22px;
    padding: 1.2rem 1.05rem;
  }
  .fwtn-services__bottom {
    margin-top: 1.8rem;
  }
  .fwtn-services__bottom a {
    min-height: 56px;
    border-radius: 16px;
    font-size: 0.96rem;
  }
}
