/* Axencia.co — Hero v2 World-Class Premium (landing) */

.ax-hero-v2--worldclass {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.ax-hero-v2--worldclass .ax-hero-v2__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 42% at 15% 18%, rgba(59, 130, 246, 0.16), transparent 58%),
    radial-gradient(ellipse 44% 38% at 85% 72%, rgba(6, 182, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 36% 30% at 55% 45%, rgba(99, 102, 241, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.ax-hero-wc-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(1px);
}

.ax-hero-wc-orb--1 {
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  top: 8%;
  left: -4%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 68%);
  animation: axHeroWcOrb1 16s ease-in-out infinite;
}

.ax-hero-wc-orb--2 {
  width: clamp(140px, 18vw, 260px);
  height: clamp(140px, 18vw, 260px);
  top: 42%;
  right: -2%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16) 0%, transparent 68%);
  animation: axHeroWcOrb2 20s ease-in-out infinite;
}

.ax-hero-wc-orb--3 {
  width: clamp(100px, 12vw, 180px);
  height: clamp(100px, 12vw, 180px);
  bottom: 12%;
  left: 38%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.14) 0%, transparent 70%);
  animation: axHeroWcOrb3 14s ease-in-out infinite;
}

@keyframes axHeroWcOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, 12px) scale(1.06); }
}

@keyframes axHeroWcOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-14px, -10px) scale(1.08); }
}

@keyframes axHeroWcOrb3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(10px, -8px); opacity: 1; }
}

.ax-hero-v2--worldclass .ax-hero-v2__vignette {
  background:
    radial-gradient(ellipse 90% 60% at 72% 38%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 15%, rgba(3, 7, 18, 0.92) 100%),
    linear-gradient(180deg, transparent 72%, rgba(3, 7, 18, 0.85) 100%);
}

.ax-hero-v2--worldclass .ax-hero-v2__container {
  max-width: 1180px;
}

/* Badge */
.ax-hero-v2--worldclass .ax-hero-v2__badge {
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ax-hero-v2--worldclass .ax-hero-v2__badge .ax-hero-v2__dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.85);
  flex-shrink: 0;
}

/* Tag */
.ax-hero-v2--worldclass .ax-hero-v2__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Title */
.ax-hero-v2--worldclass .ax-hero-v2__title {
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.ax-hero-wc-gradient {
  display: block;
  margin-top: 6px;
  background: linear-gradient(
    105deg,
    #f8fafc 0%,
    #93c5fd 28%,
    #22d3ee 52%,
    #818cf8 72%,
    #f8fafc 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: axHeroWcTitleFlow 14s linear infinite;
}

@keyframes axHeroWcTitleFlow {
  from { background-position: 0% center; }
  to { background-position: 220% center; }
}

.ax-hero-v2--worldclass .ax-hero-v2__desc {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: #94a3b8;
  max-width: 500px;
}

/* Ticker chips */
.ax-hero-v2--worldclass .ax-hero-v2__ticker {
  margin-top: 24px;
}

.ax-hero-v2--worldclass .ax-hero-v2__ticker-track span.ax-hero-wc-chip {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.ax-hero-v2--worldclass .ax-hero-v2__ticker-track span.ax-hero-wc-sep {
  color: rgba(100, 116, 139, 0.5);
  font-size: 0.7rem;
}

/* Buttons */
.ax-hero-v2--worldclass .ax-hero-v2__btn {
  position: relative;
  overflow: hidden;
  gap: 8px;
  border-radius: 14px;
  padding: 15px 28px;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.ax-hero-v2--worldclass .ax-hero-v2__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.ax-hero-v2--worldclass .ax-hero-v2__btn:hover svg {
  transform: translateX(2px);
}

.ax-hero-v2--worldclass .ax-hero-v2__btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 45%, #06b6d4 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 32px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ax-hero-v2--worldclass .ax-hero-v2__btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.ax-hero-v2--worldclass .ax-hero-v2__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 44px rgba(37, 99, 235, 0.5),
    0 0 40px rgba(6, 182, 212, 0.2);
}

.ax-hero-v2--worldclass .ax-hero-v2__btn--primary:hover::after {
  transform: translateX(120%);
}

.ax-hero-v2--worldclass .ax-hero-v2__btn--ghost {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ax-hero-v2--worldclass .ax-hero-v2__btn--ghost:hover {
  background: rgba(30, 58, 95, 0.55);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), 0 0 32px rgba(59, 130, 246, 0.12);
}

/* Trust — enterprise premium strip */
.ax-hero-v2--worldclass .ax-hero-wc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  position: relative;
}

.ax-hero-v2--worldclass .ax-hero-wc-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.35), rgba(168, 85, 247, 0.25), transparent);
  opacity: 0.85;
}

.ax-hero-v2--worldclass .ax-hero-wc-trust-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(8, 12, 24, 0.92));
  border: 1px solid rgba(71, 85, 105, 0.55);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  overflow: hidden;
  transition:
    border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.ax-hero-wc-trust-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ax-hero-wc-trust-pill[data-trust="delivery"] .ax-hero-wc-trust-glow {
  background: radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.18), transparent 65%);
}

.ax-hero-wc-trust-pill[data-trust="leads"] .ax-hero-wc-trust-glow {
  background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.2), transparent 65%);
}

.ax-hero-wc-trust-pill[data-trust="milestones"] .ax-hero-wc-trust-glow {
  background: radial-gradient(circle at 20% 50%, rgba(74, 222, 128, 0.18), transparent 65%);
}

.ax-hero-wc-trust-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.ax-hero-v2--worldclass .ax-hero-wc-trust-pill:hover {
  transform: translateY(-2px);
}

.ax-hero-v2--worldclass .ax-hero-wc-trust-pill:hover .ax-hero-wc-trust-glow {
  opacity: 1;
}

.ax-hero-v2--worldclass .ax-hero-wc-trust-pill[data-trust="delivery"]:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 0 24px rgba(34, 211, 238, 0.12);
}

.ax-hero-v2--worldclass .ax-hero-wc-trust-pill[data-trust="leads"]:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 0 24px rgba(168, 85, 247, 0.12);
}

.ax-hero-v2--worldclass .ax-hero-wc-trust-pill[data-trust="milestones"]:hover {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 0 24px rgba(74, 222, 128, 0.12);
}

.ax-hero-wc-trust-icon {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ax-hero-wc-trust-icon--delivery { fill: #22d3ee; filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55)); }
.ax-hero-wc-trust-icon--leads { fill: #c084fc; filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.55)); }
.ax-hero-wc-trust-icon--milestones { fill: #4ade80; filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.55)); }

.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-wc-trust-pill {
  animation: axHeroWcTrustIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-wc-trust-pill:nth-child(1) { animation-delay: 0.48s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-wc-trust-pill:nth-child(2) { animation-delay: 0.54s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-wc-trust-pill:nth-child(3) { animation-delay: 0.6s; }

html.ax-landing-unlocked .ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-wc-trust-pill {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@keyframes axHeroWcTrustIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .ax-hero-v2--worldclass .ax-hero-wc-trust {
    gap: 8px;
  }

  .ax-hero-v2--worldclass .ax-hero-wc-trust-pill {
    padding: 8px 12px 8px 10px;
    font-size: 0.56rem;
  }

  .ax-hero-wc-trust-label {
    white-space: normal;
    line-height: 1.3;
  }
}

/* Legacy trust pill selector kept for base pages */
.ax-hero-v2--worldclass .ax-hero-v2__trust-pill:not(.ax-hero-wc-trust-pill) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.64rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.5);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ax-hero-v2--worldclass .ax-hero-v2__trust-pill:not(.ax-hero-wc-trust-pill):hover {
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-2px);
}

/* Stage */
.ax-hero-v2--worldclass .ax-hero-v2__stage {
  border-radius: 24px;
  border-color: rgba(96, 165, 250, 0.22);
  background: linear-gradient(165deg, rgba(12, 18, 36, 0.82) 0%, rgba(6, 10, 22, 0.55) 100%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ax-hero-wc-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.55;
}

.ax-hero-wc-corner--tl {
  top: 12px;
  left: 12px;
  border-top: 2px solid rgba(96, 165, 250, 0.5);
  border-left: 2px solid rgba(96, 165, 250, 0.5);
  border-radius: 6px 0 0 0;
}

.ax-hero-wc-corner--br {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.45);
  border-right: 2px solid rgba(34, 211, 238, 0.45);
  border-radius: 0 0 6px 0;
}

/* Stats */
.ax-hero-v2--worldclass .ax-hero-v2__stats {
  gap: 18px;
  margin-top: clamp(40px, 5vw, 56px);
}

.ax-hero-v2--worldclass .ax-hero-v2__stat {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(10, 15, 30, 0.62);
  border: 1px solid rgba(71, 85, 105, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.ax-hero-v2--worldclass .ax-hero-v2__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #22d3ee, transparent);
  opacity: 0.7;
}

.ax-hero-v2--worldclass .ax-hero-v2__stat:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.ax-hero-v2--worldclass .ax-hero-v2__stat-num,
.ax-hero-v2--worldclass .ax-hero-v2__stat-suffix {
  background: linear-gradient(135deg, #e2e8f0, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll cue */
.ax-hero-wc-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: rgba(148, 163, 184, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ax-hero-wc-scroll:hover {
  color: #93c5fd;
}

.ax-hero-wc-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.6), transparent);
  animation: axHeroWcScrollLine 2s ease-in-out infinite;
}

@keyframes axHeroWcScrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Entrance */
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__copy > * {
  animation: axHeroWcReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.ax-landing-unlocked .ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__copy > * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__badge { animation-delay: 0.05s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__tag { animation-delay: 0.12s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__title { animation-delay: 0.2s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__desc { animation-delay: 0.28s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__ticker { animation-delay: 0.36s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__actions { animation-delay: 0.44s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__trust { animation-delay: 0.52s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__visual { animation-delay: 0.18s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__stats .ax-hero-v2__stat:nth-child(1) { animation-delay: 0.55s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__stats .ax-hero-v2__stat:nth-child(2) { animation-delay: 0.62s; }
.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__stats .ax-hero-v2__stat:nth-child(3) { animation-delay: 0.69s; }

.ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__visual {
  animation: axHeroWcRevealOpacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s backwards;
}

.ax-hero-v2--worldclass .ax-hero-v2__stats .ax-hero-v2__stat {
  animation: axHeroWcReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes axHeroWcReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes axHeroWcRevealOpacity {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .ax-hero-wc-gradient {
    display: inline;
    margin-top: 0;
  }

  .ax-hero-wc-scroll {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-hero-wc-gradient,
  .ax-hero-wc-orb,
  .ax-hero-wc-scroll-line,
  .ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__copy > *,
  .ax-hero-v2--worldclass.ax-hero-wc-ready .ax-hero-v2__visual,
  .ax-hero-v2--worldclass .ax-hero-v2__stats .ax-hero-v2__stat {
    animation: none !important;
  }
}
