/* Axencia.co — IntelGuard Tools · World-Class Premium */

.ax-tl-page.ax-tl-worldclass {
  --tl-teal: #22d3ee;
  --tl-indigo: #818cf8;
  --tl-violet: #6366f1;
  --tl-glass: rgba(8, 14, 36, 0.78);
  --tl-border: rgba(129, 140, 248, 0.28);
}

/* ── Hero enhancements ── */
.ax-tl-worldclass .ig-hero {
  min-height: auto;
  padding: calc(var(--nav-height, 72px) + 72px) 24px 56px;
}

.ax-tl-hero-grid {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 15%, transparent 72%);
  animation: tlGridDrift 52s linear infinite;
}

@keyframes tlGridDrift {
  to { transform: translate3d(56px, 56px, 0); }
}

.ax-tl-hero-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 520px;
  max-height: 520px;
  left: 50%;
  top: 15%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 68%);
  filter: blur(70px);
  animation: tlGlowPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tlGlowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.95; transform: translateX(-50%) scale(1.08); }
}

.ax-tl-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px !important;
}

.ax-tl-worldclass .ig-hero-tag.ax-tl-tag::before {
  display: none;
}

.ax-tl-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: tlLivePulse 2s ease-in-out infinite;
}

@keyframes tlLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ax-tl-worldclass .ig-hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ax-tl-worldclass .ig-stat-num {
  font-family: "JetBrains Mono", monospace;
}

.ax-tl-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 8px;
}

.ax-tl-quick-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ax-tl-quick-link:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
  color: #eef2ff;
}

/* Category ticker */
.ax-tl-ticker-wrap {
  overflow: hidden;
  margin: 40px 0 0;
  padding: 14px 0;
  border-top: 1px solid rgba(129, 140, 248, 0.12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ax-tl-ticker {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: tlTicker 38s linear infinite;
}

.ax-tl-ticker:hover {
  animation-play-state: paused;
}

@keyframes tlTicker {
  to { transform: translateX(-50%); }
}

.ax-tl-ticker-item {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  white-space: nowrap;
}

.ax-tl-ticker-item::before {
  content: "◆";
  margin-right: 10px;
  color: rgba(129, 140, 248, 0.55);
  font-size: 0.55rem;
}

/* ── Scroll reveal ── */
.ax-tl-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.ax-tl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section polish ── */
.ax-tl-worldclass .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.ax-tl-worldclass .section-header h2 {
  letter-spacing: -0.02em;
}

.ax-tl-worldclass .ig-pillar,
.ax-tl-worldclass .ig-spot-card,
.ax-tl-worldclass .ig-tool-card,
.ax-tl-worldclass .ig-mini-stat {
  backdrop-filter: blur(12px);
}

.ax-tl-worldclass .ig-pillar:hover,
.ax-tl-worldclass .ig-spot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(99, 102, 241, 0.08);
}

.ax-tl-spot-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: rgba(129, 140, 248, 0.45);
  font-weight: 600;
}

.ax-tl-worldclass .ig-spot-card {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease;
}

/* Catalog panel premium */
.ax-tl-worldclass .ig-filter-panel {
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ax-tl-worldclass .ig-catalog-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.ax-tl-worldclass .ig-catalog-header p {
  margin-left: auto;
  margin-right: auto;
}

.ax-tl-worldclass .ig-mini-stat strong {
  font-family: "JetBrains Mono", monospace;
}

/* Live strip */
.ax-tl-live-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 0;
  padding: 14px 24px;
  max-width: 720px;
  border-radius: 100px;
  background: rgba(8, 14, 36, 0.65);
  border: 1px solid rgba(129, 140, 248, 0.2);
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.95);
  transition: opacity 0.35s ease;
}

.ax-tl-live-strip span:last-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

/* Banner / CTA */
.ax-tl-worldclass .ig-axencia-banner {
  position: relative;
  background: linear-gradient(155deg, rgba(12, 18, 42, 0.92), rgba(6, 10, 28, 0.88));
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.ax-tl-worldclass .ig-axencia-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99, 102, 241, 0.1), transparent 70%);
  pointer-events: none;
}

.ax-tl-worldclass .ig-axencia-banner h3,
.ax-tl-worldclass .ig-axencia-banner p,
.ax-tl-worldclass .ig-axencia-banner .btn {
  position: relative;
  z-index: 1;
}

.ax-tl-cta {
  padding: 72px 0;
}

.ax-tl-cta .cta-box {
  position: relative;
  text-align: center;
  padding: 56px 40px;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(12, 18, 42, 0.92), rgba(6, 10, 28, 0.88));
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.ax-tl-cta .cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34, 211, 238, 0.08), transparent 70%);
  pointer-events: none;
}

.ax-tl-cta .cta-box h2,
.ax-tl-cta .cta-box p,
.ax-tl-cta .cta-box .btn {
  position: relative;
  z-index: 1;
}

.ax-tl-cta .cta-box p {
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 24px;
}

/* Modal polish */
.ax-tl-worldclass .ig-modal-box {
  background: linear-gradient(155deg, rgba(12, 18, 42, 0.98), rgba(6, 10, 28, 0.95));
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  .ax-tl-live-strip {
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .ax-tl-cta .cta-box {
    padding: 32px 20px;
    margin: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-tl-hero-grid,
  .ax-tl-hero-glow,
  .ax-tl-tag-dot,
  .ax-tl-ticker {
    animation: none;
  }

  .ax-tl-reveal {
    opacity: 1;
    transform: none;
  }
}
