/* Axencia.co — CyberShield Enterprise · World-Class Premium */

.ax-cs-page.ax-cs-worldclass {
  --cs-teal: #06b6d4;
  --cs-blue: #3b82f6;
  --cs-cyan: #00d4ff;
  --cs-glass: rgba(8, 16, 42, 0.78);
  --cs-border: rgba(59, 130, 246, 0.28);
}

/* ── Hero FX ── */
.ax-cs-worldclass .cs-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: calc(var(--nav-height, 72px) + 72px) 24px 56px;
}

.ax-cs-hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ax-cs-hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 15%, transparent 72%);
  animation: csGridDrift 52s linear infinite;
}

@keyframes csGridDrift {
  to { transform: translate3d(56px, 56px, 0); }
}

.ax-cs-hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 560px;
  max-height: 560px;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 68%);
  filter: blur(70px);
  animation: csGlowPulse 8s ease-in-out infinite;
}

@keyframes csGlowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.95; transform: translateX(-50%) scale(1.08); }
}

.ax-cs-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ax-cs-worldclass .cs-logo-animated {
  margin-left: auto;
  margin-right: auto;
}

.ax-cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px !important;
}

.ax-cs-worldclass .cs-hero-tag.ax-cs-tag::before {
  display: none;
}

.ax-cs-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: csLivePulse 2s ease-in-out infinite;
}

@keyframes csLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ax-cs-worldclass .cs-stat-num {
  font-family: "JetBrains Mono", monospace;
}

.ax-cs-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 8px;
}

.ax-cs-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: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ax-cs-quick-link:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
  color: #e8e8ed;
}

/* Threat ticker */
.ax-cs-ticker-wrap {
  overflow: hidden;
  margin: 40px auto 0;
  max-width: 100%;
  padding: 14px 0;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ax-cs-ticker {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: csTicker 40s linear infinite;
}

.ax-cs-ticker:hover {
  animation-play-state: paused;
}

@keyframes csTicker {
  to { transform: translateX(-50%); }
}

.ax-cs-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-cs-ticker-item::before {
  content: "◆";
  margin-right: 10px;
  color: rgba(6, 182, 212, 0.55);
  font-size: 0.55rem;
}

/* ── Scroll reveal ── */
.ax-cs-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-cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section polish ── */
.ax-cs-worldclass .section-header {
  text-align: center;
}

.ax-cs-worldclass .cs-why-card,
.ax-cs-worldclass .cs-platform-card,
.ax-cs-worldclass .cs-api-item,
.ax-cs-worldclass .cs-feature,
.ax-cs-worldclass .globe-feature {
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}

.ax-cs-worldclass .cs-why-card:hover,
.ax-cs-worldclass .cs-platform-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(59, 130, 246, 0.08);
}

.ax-cs-platform-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: rgba(96, 165, 250, 0.45);
  font-weight: 600;
}

.ax-cs-worldclass .cs-platform-card {
  position: relative;
}

.ax-cs-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 48px auto 0;
  max-width: 900px;
}

.ax-cs-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
  background: rgba(8, 16, 36, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.ax-cs-trust-item svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

/* API badges */
.ax-cs-worldclass .cs-api-item {
  border-color: rgba(59, 130, 246, 0.18);
}

.ax-cs-worldclass .cs-api-badge {
  font-family: "JetBrains Mono", monospace;
}

/* Live strip */
.ax-cs-live-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 48px auto 0;
  padding: 14px 24px;
  max-width: 760px;
  border-radius: 100px;
  background: rgba(8, 16, 36, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 0.88rem;
  color: rgba(148, 163, 184, 0.95);
  transition: opacity 0.35s ease;
}

.ax-cs-live-strip span:last-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

/* Summary / CTA */
.ax-cs-worldclass .cs-summary-box {
  position: relative;
  background: linear-gradient(155deg, rgba(12, 20, 42, 0.92), rgba(6, 12, 28, 0.88));
  border: 1px solid rgba(59, 130, 246, 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-cs-worldclass .cs-summary-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 212, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.ax-cs-worldclass .cs-summary-box h2,
.ax-cs-worldclass .cs-summary-box p,
.ax-cs-worldclass .cs-summary-box .btn {
  position: relative;
  z-index: 1;
}

.ax-cs-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .ax-cs-live-strip {
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .ax-cs-trust-row {
    gap: 10px;
  }

  .ax-cs-trust-item {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-cs-hero-grid,
  .ax-cs-hero-glow,
  .ax-cs-tag-dot,
  .ax-cs-ticker {
    animation: none;
  }

  .ax-cs-reveal {
    opacity: 1;
    transform: none;
  }
}
