/* TASSC Hero widget: copy on the left, animated shield with live system cards on the right. */
.tassc-hero {
  --tassc-hero-bg: #0e0f33;
  --tassc-hero-accent: #71c7d9;
  --tassc-hero-accent-soft: #a6dde8;
  --tassc-hero-header: 84px;
  --tassc-hero-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  min-height: max(100vh, 760px);
  min-height: max(100svh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: var(--tassc-hero-bg);
  padding: calc(var(--tassc-hero-header) + 30px) 0 150px;
  isolation: isolate;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.tassc-hero *, .tassc-hero *::before, .tassc-hero *::after { box-sizing: border-box; }
.tassc-hero svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tassc-hero__slides { position: absolute; inset: 0; z-index: -3; will-change: transform; }
.tassc-hero__slide {
  position: absolute; inset: -4%; background: #15174a center / cover no-repeat;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.6s ease-in-out, transform 7s linear;
}
.tassc-hero__slide.is-active { opacity: 1; transform: scale(1); }
.tassc-hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% 45%, rgba(46,49,146,.22), transparent 60%),
    linear-gradient(90deg, rgba(14,15,51,.82) 0%, rgba(14,15,51,.6) 42%, rgba(14,15,51,.28) 70%, rgba(14,15,51,.4) 100%),
    linear-gradient(0deg, rgba(14,15,51,.8) 0%, transparent 35%);
}
.tassc-hero__net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.tassc-hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.tassc-hero__glow--a { width: 520px; height: 520px; right: 4%; top: 12%; background: radial-gradient(circle, rgba(113,199,217,.28), transparent 70%); animation: tasscGlowDrift 12s ease-in-out infinite alternate; }
.tassc-hero__glow--b { width: 420px; height: 420px; left: -120px; bottom: -80px; background: radial-gradient(circle, rgba(46,49,146,.55), transparent 70%); animation: tasscGlowDrift 14s ease-in-out infinite alternate-reverse; }
@keyframes tasscGlowDrift { to { transform: translate(-40px, 30px) scale(1.1); } }

.tassc-hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1410px; margin: 0 auto; padding: 0 30px;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center;
}
.tassc-hero__inner--text { grid-template-columns: 1fr; }
.tassc-hero__content { display: grid; min-width: 0; }

.tassc-hero__badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px 8px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: rgba(226,228,245,.9); background: rgba(255,255,255,.06); border: 1px solid rgba(113,199,217,.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tassc-hero__badge-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tassc-hero-accent); }
.tassc-hero__badge-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--tassc-hero-accent); animation: tasscLivePulse 1.8s ease-out infinite; }
@keyframes tasscLivePulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

.tassc-hero__texts { display: grid; }
.tassc-hero__text { grid-area: 1 / 1; pointer-events: none; }
.tassc-hero__text.is-active { pointer-events: auto; }
.tassc-hero__text > * { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .7s var(--tassc-hero-ease), transform .9s var(--tassc-hero-ease), filter .7s; }
.tassc-hero__line { display: block; opacity: 0; transform: translateY(40px); transition: opacity .8s var(--tassc-hero-ease), transform 1s var(--tassc-hero-ease); }
.tassc-hero__text.is-active > *, .tassc-hero__text.is-active .tassc-hero__line { opacity: 1; transform: none; filter: none; }
.tassc-hero__text.is-active > :nth-child(1) { transition-delay: .15s; }
.tassc-hero__text.is-active .tassc-hero__line:nth-child(1) { transition-delay: .3s; }
.tassc-hero__text.is-active .tassc-hero__line:nth-child(2) { transition-delay: .45s; }
.tassc-hero__text.is-active > :nth-child(2) { transition-delay: .6s; }
.tassc-hero .tassc-hero__title { margin: 0 0 22px; color: #fff; font-family: "Sora", "Plus Jakarta Sans", system-ui, sans-serif; font-size: clamp(36px, 4.3vw, 62px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
.tassc-hero__title em { font-style: normal; background: linear-gradient(90deg, var(--tassc-hero-accent), var(--tassc-hero-accent-soft) 60%, var(--tassc-hero-accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tasscShine 6s linear infinite; }
@keyframes tasscShine { to { background-position: -200% 0; } }
.tassc-hero__text.is-active > :nth-child(3) { transition-delay: .7s; }
.tassc-hero__desc { margin: 0; font-size: 17px; color: rgba(226,228,245,.82); max-width: 540px; }
.tassc-hero__desc + .tassc-hero__desc { margin-top: 14px; }

.tassc-hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.tassc-hero__ctas, .tassc-hero__tags, .tassc-hero__pager, .tassc-hero__badge, .tassc-hero__visual { transition: opacity .9s var(--tassc-hero-ease), transform .9s var(--tassc-hero-ease); }
.tassc-hero__badge { transition-delay: .05s; }
.tassc-hero__ctas { transition-delay: .75s; }
.tassc-hero__tags { transition-delay: .9s; }
.tassc-hero__pager { transition-delay: 1.05s; }
.tassc-hero__visual { transition-delay: .35s; transition-duration: 1.2s; }
.tassc-hero:not(.is-ready) .tassc-hero__ctas, .tassc-hero:not(.is-ready) .tassc-hero__tags, .tassc-hero:not(.is-ready) .tassc-hero__pager, .tassc-hero:not(.is-ready) .tassc-hero__badge { opacity: 0; transform: translateY(20px); }
.tassc-hero:not(.is-ready) .tassc-hero__visual { opacity: 0; transform: scale(.9); }

.tassc-hero a.tassc-hero__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 32px; border-radius: 999px; background-color: #2e3192; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; isolation: isolate;
  box-shadow: 0 12px 30px -10px rgba(46,49,146,.65);
  transition: transform .35s var(--tassc-hero-ease), box-shadow .35s var(--tassc-hero-ease);
}
.tassc-hero a.tassc-hero__btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #2e3192, #71c7d9);
  transform: translateX(-101%); transition: transform .5s var(--tassc-hero-ease);
}
.tassc-hero a.tassc-hero__btn:hover { box-shadow: 0 18px 40px -12px rgba(46,49,146,.75); color: #fff; }
.tassc-hero a.tassc-hero__btn:hover::before { transform: translateX(0); }
.tassc-hero a.tassc-hero__btn i { transition: transform .35s var(--tassc-hero-ease); }
.tassc-hero a.tassc-hero__btn:hover i { transform: translateX(4px); }

.tassc-hero a.tassc-hero__btn2 {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 32px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.04); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background .35s var(--tassc-hero-ease), color .35s var(--tassc-hero-ease), border-color .35s var(--tassc-hero-ease);
}
.tassc-hero a.tassc-hero__btn2:hover { background: #fff; border-color: #fff; color: #15174a; }

.tassc-hero .tassc-hero__play {
  display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 15px; color: #fff; text-decoration: none;
}
.tassc-hero .tassc-hero__play:hover, .tassc-hero .tassc-hero__play:focus { background: none; color: #fff; }
.tassc-hero__play-icon {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.6); font-size: 18px; transition: background .3s, color .3s, transform .35s var(--tassc-hero-ease);
}
.tassc-hero__play-icon svg { fill: currentColor; stroke: none; margin-left: 3px; }
.tassc-hero__play-icon::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(113,199,217,.7); animation: tasscRipple 2.2s ease-out infinite; }
.tassc-hero__play:hover .tassc-hero__play-icon { background: #fff; color: #15174a; transform: scale(1.06); }
@keyframes tasscRipple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.tassc-hero__tags { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tassc-hero__tags li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.65;
  color: rgba(226,228,245,.85); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .3s, border-color .3s, color .3s, transform .35s var(--tassc-hero-ease);
}
.tassc-hero__tags li i, .tassc-hero__tags li svg { font-size: 15px; color: var(--tassc-hero-accent); }
.tassc-hero__tags li:hover { background: rgba(113,199,217,.12); border-color: rgba(113,199,217,.45); color: #fff; transform: translateY(-3px); }

/* Shield visual */
.tassc-hero__visual { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; perspective: 1200px; }
.tassc-hv__stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.tassc-hv__ring { position: absolute; border-radius: 50%; inset: var(--i); border: 1px solid rgba(113,199,217,.35); }
.tassc-hv__ring--1 { --i: 4%; border-style: dashed; animation: tasscSpin 60s linear infinite; }
.tassc-hv__ring--2 { --i: 15%; border-color: rgba(113,199,217,.45); animation: tasscSpin 40s linear infinite reverse; }
.tassc-hv__ring--3 { --i: 26%; border-color: rgba(46,49,146,.7); background: radial-gradient(circle, rgba(46,49,146,.35), rgba(14,15,51,.1) 70%); }
.tassc-hv__ring--1::before, .tassc-hv__ring--2::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--tassc-hero-accent); box-shadow: 0 0 14px 3px rgba(113,199,217,.8);
}
.tassc-hv__ring--2::before { top: auto; bottom: -4px; width: 8px; height: 8px; background: #fff; }
@keyframes tasscSpin { to { transform: rotate(360deg); } }
.tassc-hv__core { position: absolute; inset: 30%; display: grid; place-items: center; transform: translateZ(60px); }
.tassc-hero svg.tassc-hv__shield { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 22px rgba(113,199,217,.45)); }
.tassc-hv__image { width: 100%; height: 100%; object-fit: contain; }
.tassc-hero svg .tassc-hv__shield-path { fill: none; stroke-width: 9; stroke-dasharray: 760; stroke-dashoffset: 760; }
.tassc-hero svg .tassc-hv__shield-inner { fill: rgba(14,15,51,.55); stroke: rgba(113,199,217,.25); stroke-width: 1.5; }
.tassc-hero svg .tassc-hv__key { stroke: none; transform-origin: 100px 120px; animation: tasscKeyPulse 2.6s ease-in-out infinite; }
.tassc-hero.is-ready svg .tassc-hv__shield-path { animation: tasscDrawShield 2.2s .5s var(--tassc-hero-ease) forwards; }
@keyframes tasscDrawShield { to { stroke-dashoffset: 0; } }
@keyframes tasscKeyPulse { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.tassc-hv__scan { position: absolute; inset: 26%; border-radius: 50%; overflow: hidden; transform: translateZ(30px); pointer-events: none; }
.tassc-hv__scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(113,199,217,.22) 85%, rgba(113,199,217,.65) 100%);
  animation: tasscScan 3.6s ease-in-out infinite;
}
@keyframes tasscScan { from { top: -40%; } to { top: 100%; } }

.tassc-hv-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(21,23,74,.55); border: 1px solid rgba(113,199,217,.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  transform: translateZ(var(--z, 90px)); animation: tasscChipFloat 6s ease-in-out infinite; animation-delay: var(--d, 0s);
  transition: border-color .3s, background .3s;
}
.tassc-hv-chip:hover { border-color: rgba(113,199,217,.7); background: rgba(46,49,146,.6); }
.tassc-hv-chip strong { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.tassc-hv-chip small { display: block; font-size: 12px; color: rgba(226,228,245,.7); }
.tassc-hv-chip__icon { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(120deg, #2e3192 0%, #71c7d9 100%); }
.tassc-hv-chip__live { width: 8px; height: 8px; border-radius: 50%; background: var(--tassc-hero-accent); margin-left: 4px; box-shadow: 0 0 0 0 rgba(113,199,217,.7); animation: tasscLiveDot 1.8s infinite; }
@keyframes tasscLiveDot { 70% { box-shadow: 0 0 0 8px rgba(113,199,217,0); } 100% { box-shadow: 0 0 0 0 rgba(113,199,217,0); } }
@keyframes tasscChipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.tassc-hv-chip--1 { top: 9%; left: -4%; --d: 0s; }
.tassc-hv-chip--2 { top: 22%; right: -6%; --d: -1.5s; --z: 120px; }
.tassc-hv-chip--3 { bottom: 20%; left: -8%; --d: -3s; --z: 110px; }
.tassc-hv-chip--4 { bottom: 6%; right: 0; --d: -4.5s; }
.tassc-hv-status {
  position: absolute; left: 50%; bottom: -2%; transform: translate(-50%, 0) translateZ(70px); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1.65;
  background: linear-gradient(90deg, rgba(46,49,146,.85), rgba(113,199,217,.85));
}
.tassc-hv-status i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tasscLiveDot 1.8s infinite; }

/* Slide pager */
.tassc-hero__pager { display: flex; gap: 14px; max-width: 560px; margin-top: 44px; }
.tassc-hero .tassc-hero__pager button {
  flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; text-align: left;
  padding: 14px 0 0; border: 0; border-radius: 0; background: none; font: inherit; cursor: pointer; color: rgba(226,228,245,.5); transition: color .3s;
}
.tassc-hero__pager span { font-family: "Sora", "Plus Jakarta Sans", system-ui, sans-serif; font-size: 13px; font-weight: 700; }
.tassc-hero__pager em { font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tassc-hero__pager i { grid-column: 1 / -1; grid-row: 1; align-self: start; margin-top: -14px; position: relative; display: block; height: 2px; background: rgba(255,255,255,.18); overflow: hidden; border-radius: 2px; }
.tassc-hero__pager i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2e3192, var(--tassc-hero-accent)); transform: scaleX(0); transform-origin: left; }
.tassc-hero .tassc-hero__pager button:hover { color: rgba(255,255,255,.8); background: none; }
.tassc-hero .tassc-hero__pager button.is-active { color: #fff; }
.tassc-hero__pager button.is-active i::after { animation: tasscPagerFill var(--slide-dur, 6s) linear forwards; }
.tassc-hero.is-paused .tassc-hero__pager button.is-active i::after { animation-play-state: paused; }
.tassc-hero.is-static .tassc-hero__pager button.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes tasscPagerFill { to { transform: scaleX(1); } }

.tassc-hero__cue { position: absolute; right: max(30px, calc((100vw - 1410px) / 2 + 30px)); bottom: 104px; z-index: 3; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; display: none; }
.tassc-hero__cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: tasscCue 1.8s ease-in-out infinite; }
@keyframes tasscCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1081px) and (min-height: 760px) { .tassc-hero__cue { display: block; } }

@media (max-width: 1080px) {
  .tassc-hero { --tassc-hero-header: 76px; padding-top: calc(var(--tassc-hero-header) + 40px); }
  .tassc-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .tassc-hero__visual { width: min(100%, 440px); }
}
@media (max-width: 1024px) {
  .tassc-hero__inner { padding: 0 24px; }
}
@media (max-width: 767px) {
  .tassc-hero__inner { padding: 0 16px; }
}
@media (max-width: 560px) {
  .tassc-hero { padding-bottom: 130px; }
  .tassc-hero__inner { padding: 0 16px; }
  .tassc-hero__desc { font-size: 15.5px; }
  .tassc-hero__ctas { gap: 18px; margin-top: 28px; }
  .tassc-hero a.tassc-hero__btn, .tassc-hero a.tassc-hero__btn2 { height: 54px; padding: 0 24px; }
  .tassc-hero__tags { margin-top: 28px; }
  .tassc-hero__tags li { padding: 6px 10px; font-size: 12px; }
  .tassc-hero__visual { width: min(100%, 330px); }
  .tassc-hv-chip { padding: 8px 10px 8px 8px; gap: 8px; border-radius: 12px; }
  .tassc-hv-chip__icon { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
  .tassc-hv-chip strong { font-size: 12px; }
  .tassc-hv-chip small { font-size: 10.5px; }
  .tassc-hv-chip--1 { left: -2%; } .tassc-hv-chip--2 { right: -2%; } .tassc-hv-chip--3 { left: -2%; } .tassc-hv-chip--4 { right: -2%; }
  .tassc-hv-chip__live { display: none; }
  .tassc-hero__pager { gap: 10px; }
  .tassc-hero__pager em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tassc-hero *, .tassc-hero *::before, .tassc-hero *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
