/* Axencia.co — Customers & Industries · World-Class Premium */

.ax-ci-page.ax-ci-worldclass {
  --ci-teal: #00d4ff;
  --ci-blue: #3b82f6;
  --ci-glass: rgba(8, 18, 42, 0.78);
  --ci-border: rgba(59, 130, 246, 0.28);
}

/* ── Hero ── */
.ax-ci-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height, 72px) + 88px) 24px 56px;
  text-align: center;
  z-index: 1;
}

.ax-ci-hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ax-ci-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: ciGridDrift 52s linear infinite;
}

@keyframes ciGridDrift {
  to { transform: translate3d(56px, 56px, 0); }
}

.ax-ci-hero-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 520px;
  max-height: 520px;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 68%);
  filter: blur(70px);
  animation: ciGlowPulse 8s ease-in-out infinite;
}

@keyframes ciGlowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}

.ax-ci-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.ax-ci-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ax-ci-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: ciLivePulse 2s ease-in-out infinite;
}

@keyframes ciLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ax-ci-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 20px 0 16px;
  background: linear-gradient(135deg, #f0f9ff 0%, #93c5fd 45%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ax-ci-hero-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(148, 163, 184, 0.95);
  max-width: 680px;
  margin: 0 auto 28px;
}

.ax-ci-hud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 32px;
  max-width: 760px;
}

.ax-ci-hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(8, 16, 36, 0.72);
  border: 1px solid rgba(59, 130, 246, 0.22);
  backdrop-filter: blur(12px);
  min-width: 120px;
}

.ax-ci-hud-item strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  color: var(--ci-teal);
  font-weight: 600;
}

.ax-ci-hud-item span {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.85);
  letter-spacing: 0.04em;
}

/* ── Quick nav ── */
.ax-ci-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.ax-ci-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-ci-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;
}

/* ── Sector ticker ── */
.ax-ci-ticker-wrap {
  overflow: hidden;
  margin: 48px 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ax-ci-ticker {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ciTicker 42s linear infinite;
}

.ax-ci-ticker:hover {
  animation-play-state: paused;
}

@keyframes ciTicker {
  to { transform: translateX(-50%); }
}

.ax-ci-ticker-item {
  flex-shrink: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  white-space: nowrap;
}

.ax-ci-ticker-item::before {
  content: "◆";
  margin-right: 10px;
  color: rgba(0, 212, 255, 0.5);
  font-size: 0.55rem;
  vertical-align: middle;
}

/* ── Scroll reveal ── */
.ax-ci-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-ci-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section overrides ── */
.ax-ci-worldclass #industries.section {
  padding-top: 72px;
}

.ax-ci-worldclass .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.ax-ci-worldclass .section-header h2 {
  letter-spacing: -0.02em;
}

.ax-ci-worldclass .ci-card,
.ax-ci-worldclass .ci-it-card,
.ax-ci-worldclass .ci-metric,
.ax-ci-worldclass .ci-vision-card {
  backdrop-filter: blur(12px);
}

.ax-ci-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-block;
  margin-bottom: 0;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.28);
}

/* IT cards — numbered */
.ax-ci-it-grid .ci-it-card {
  position: relative;
  padding-top: 36px;
}

.ax-ci-it-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: rgba(0, 212, 255, 0.45);
  font-weight: 600;
}

/* CX metrics — animated */
.ax-ci-worldclass .ci-metric-num {
  font-family: "JetBrains Mono", monospace;
}

.ax-ci-worldclass .ci-cx-section {
  position: relative;
  overflow: hidden;
}

.ax-ci-cx-glow {
  position: absolute;
  width: 60%;
  height: 200px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.08), transparent 70%);
  pointer-events: none;
}

/* ── Stats bar (matches About page) ── */
.ax-ci-stats-section {
  padding: 8px 24px 56px;
  position: relative;
  z-index: 1;
}

.ax-ci-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.ax-ci-stat {
  text-align: center;
  padding: 28px 20px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(8, 18, 42, 0.88), rgba(15, 30, 70, 0.5));
  border: 1px solid var(--ci-border);
  backdrop-filter: blur(24px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.ax-ci-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
}

.ax-ci-stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #60a5fa;
  font-variant-numeric: tabular-nums;
}

.ax-ci-stat-suffix {
  font-size: 1.1rem;
  color: #93c5fd;
}

.ax-ci-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Vision cards premium ── */
.ax-ci-vision-premium {
  margin-bottom: 48px;
}

.ax-ci-vision-premium .ci-vision-card {
  padding: 32px 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(8, 18, 42, 0.9), rgba(12, 24, 52, 0.55));
  border: 1px solid var(--ci-border);
  position: relative;
  overflow: hidden;
}

.ax-ci-vision-premium .ci-vision-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ci-teal), transparent);
  opacity: 0.6;
}

.ax-ci-vision-label {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ci-teal);
  margin-bottom: 12px;
}

.ax-ci-vision-premium h3 {
  font-size: 1.2rem;
  color: #f0f9ff;
  margin-bottom: 10px;
}

.ax-ci-vision-premium p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.92);
}

/* ── Story + timeline (synced with About) ── */
.ax-ci-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: start;
}

.ax-ci-story-card {
  padding: 36px 32px;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(8, 18, 42, 0.9), rgba(15, 30, 70, 0.5));
  border: 1px solid var(--ci-border);
}

.ax-ci-story-card p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.9);
  margin: 0 0 18px;
}

.ax-ci-story-card p:last-child {
  margin-bottom: 0;
}

.ax-ci-timeline--sync {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  margin: 0;
}

.ax-ci-timeline--sync::before {
  display: none;
}

.ax-ci-timeline--sync .ax-ci-milestone {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-left: 2px solid rgba(59, 130, 246, 0.25);
  margin-left: 12px;
  padding-left: 24px;
  position: relative;
  grid-template-columns: unset;
}

.ax-ci-timeline--sync .ax-ci-milestone::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ci-teal);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.ax-ci-timeline--sync .ax-ci-milestone-dot {
  display: none;
}

.ax-ci-timeline--sync .ax-ci-milestone-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--ci-teal);
  min-width: 48px;
  margin-bottom: 0;
}

.ax-ci-timeline--sync .ax-ci-milestone strong {
  display: block;
  font-size: 0.95rem;
  color: #f0f9ff;
  margin-bottom: 4px;
}

.ax-ci-timeline--sync .ax-ci-milestone span {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.88);
  line-height: 1.5;
}

/* CX section header polish */
.ax-ci-worldclass .ci-cx-section .section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .ax-ci-stats { grid-template-columns: repeat(2, 1fr); }
  .ax-ci-story-grid { grid-template-columns: 1fr; }
}

.ax-ci-timeline-section {
  padding: 72px 0;
}

.ax-ci-timeline {
  display: grid;
  gap: 0;
  max-width: 640px;
  margin: 40px auto 0;
  position: relative;
}

.ax-ci-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.5), rgba(0, 212, 255, 0.2));
  border-radius: 2px;
}

.ax-ci-milestone {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 16px 0;
  align-items: start;
}

.ax-ci-milestone-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  margin-left: 13px;
  border-radius: 50%;
  background: var(--ci-teal);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
  position: relative;
  z-index: 1;
}

.ax-ci-milestone-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ci-teal);
  margin-bottom: 4px;
}

.ax-ci-milestone strong {
  display: block;
  font-size: 1.05rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.ax-ci-milestone span {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.55;
}

/* ── Live strip ── */
.ax-ci-live-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 48px auto 0;
  padding: 14px 24px;
  max-width: 720px;
  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-ci-live-strip span:last-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

/* ── CTA ── */
.ax-ci-cta .cta-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);
}

.ax-ci-cta .cta-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;
}

@media (max-width: 768px) {
  .customers-industries .ax-ci-hero .section-tag,
  .customers-industries .ax-ci-hero .ax-ci-tag {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ax-ci-hud-item {
    min-width: calc(50% - 8px);
    padding: 10px 14px;
  }

  .ax-ci-live-strip {
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .ax-ci-worldclass #industries.section {
    padding-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-ci-hero-grid,
  .ax-ci-hero-glow,
  .ax-ci-tag-dot,
  .ax-ci-ticker {
    animation: none;
  }

  .ax-ci-reveal {
    opacity: 1;
    transform: none;
  }
}
