/*
Theme Name: AdvantageX Child
Template: astra
Description: AdvantageX premium B2B consulting theme
Version: 2.0.0
*/

/* ==========================================================================
   0. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  --ax-blue: #0066CC;
  --ax-red: #E31937;
  --ax-navy: #0A1628;
  --ax-navy-mid: #1a2942;
  --ax-gray-100: #F7F9FC;
  --ax-gray-200: #EEF1F6;
  --ax-gray-300: #D1D5DB;
  --ax-gray-400: #9CA3AF;
  --ax-gray-500: #6B7280;
  --ax-gray-600: #4B5563;
  --ax-warm-bg: #F5F3F0;
  --ax-blue-bg: #EBF4FF;
  --ax-white: #FFFFFF;
  --ax-text: #1A1A1A;
  --ax-text-light: #6B7280;
  --ax-text-muted: #9CA3AF;
  --ax-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --ax-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --ax-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --ax-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --ax-radius: 12px;
  --ax-radius-lg: 20px;
  --ax-radius-sm: 8px;
  --ax-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ax-container: 1200px;
  --ax-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ax-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ax-text);
  background: var(--ax-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ax-blue);
  text-decoration: none;
  transition: color var(--ax-transition);
}

a:hover {
  color: var(--ax-navy);
}

/* ==========================================================================
   2. ASTRA OVERRIDES
   ========================================================================== */

.ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.entry-content {
  margin: 0 !important;
}

.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-html {
  margin: 0 !important;
  max-width: 100% !important;
}

.site-content .ast-container {
  max-width: 100% !important;
}

#content .ast-container {
  padding: 0 !important;
}

.ast-separate-container .ast-article-single {
  padding: 0 !important;
  background: transparent !important;
}

.ast-separate-container .entry-content {
  padding: 0 !important;
}

.ast-single-post .entry-header,
.page .entry-header {
  display: none !important;
}

/* Astra header restyle */
.main-header-bar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.main-header-bar .main-header-bar-navigation .menu-item > a {
  font-family: var(--ax-font) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--ax-navy) !important;
  letter-spacing: 0.01em;
  transition: color var(--ax-transition) !important;
}

.main-header-bar .main-header-bar-navigation .menu-item > a:hover {
  color: var(--ax-red) !important;
}

.main-header-bar .main-header-bar-navigation .current-menu-item > a {
  color: var(--ax-red) !important;
}

/* Astra footer override */
.site-footer {
  display: none !important;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.ax-h1, h1.ax-h1 {
  font-family: var(--ax-font);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ax-navy);
}

.ax-h2, h2.ax-h2 {
  font-family: var(--ax-font);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ax-navy);
}

.ax-h3, h3.ax-h3 {
  font-family: var(--ax-font);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ax-navy);
}

.ax-h4, h4.ax-h4 {
  font-family: var(--ax-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ax-navy);
}

.ax-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ax-blue);
  display: block;
  margin-bottom: 16px;
}

.ax-subtitle {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--ax-text-light);
  max-width: 640px;
}

.ax-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ax-text-light);
}

.ax-text-white { color: var(--ax-white) !important; }
.ax-text-red { color: var(--ax-red); }
.ax-text-blue { color: var(--ax-blue); }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.ax-container {
  max-width: var(--ax-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ax-container--narrow {
  max-width: 800px;
}

.ax-container--wide {
  max-width: 1400px;
}

.ax-section {
  padding: 120px 0;
  position: relative;
}

.ax-section--sm {
  padding: 80px 0;
}

.ax-section--light {
  background: var(--ax-gray-100);
}

.ax-section--dark {
  background: var(--ax-navy);
  color: var(--ax-white);
}

.ax-section--dark .ax-h2,
.ax-section--dark .ax-h3,
.ax-section--dark .ax-h4 {
  color: var(--ax-white);
}

.ax-section--dark .ax-subtitle,
.ax-section--dark .ax-body,
.ax-section--dark .ax-label {
  color: rgba(255, 255, 255, 0.7);
}

.ax-section--blue {
  background: var(--ax-blue-bg);
}

.ax-section--warm {
  background: var(--ax-warm-bg);
}

.ax-grid {
  display: grid;
  gap: 32px;
}

.ax-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.ax-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ax-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ax-flex {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ax-flex--between {
  justify-content: space-between;
}

.ax-flex--center {
  justify-content: center;
}

.ax-flex--wrap {
  flex-wrap: wrap;
}

.ax-text-center { text-align: center; }
.ax-mb-16 { margin-bottom: 16px; }
.ax-mb-24 { margin-bottom: 24px; }
.ax-mb-32 { margin-bottom: 32px; }
.ax-mb-40 { margin-bottom: 40px; }
.ax-mb-48 { margin-bottom: 48px; }
.ax-mb-64 { margin-bottom: 64px; }
.ax-mb-80 { margin-bottom: 80px; }
.ax-mt-auto { margin-top: auto; }
.ax-mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   5. HERO SECTIONS
   ========================================================================== */

.ax-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}

.ax-hero--light {
  background: var(--ax-white);
}

.ax-hero--gradient {
  background: linear-gradient(135deg, var(--ax-navy) 0%, var(--ax-navy-mid) 50%, #1e3a5f 100%);
  color: var(--ax-white);
}

.ax-hero--gradient .ax-h1 {
  color: var(--ax-white);
}

.ax-hero--gradient .ax-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Animated mesh gradient background */
.ax-hero--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(227, 25, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
  animation: ax-mesh 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ax-mesh {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.6; transform: scale(1.15) rotate(2deg); }
}

/* Subtle grid overlay */
.ax-hero--gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ax-hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.ax-hero__content .ax-h1 {
  margin-bottom: 28px;
}

.ax-hero__content .ax-subtitle {
  margin-bottom: 40px;
}

.ax-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ax-hero__visual {
  position: relative;
  z-index: 2;
}

.ax-hero__visual img {
  border-radius: var(--ax-radius-lg);
  box-shadow: var(--ax-shadow-xl);
}

/* Floating accent shape behind hero image */
.ax-hero__visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: linear-gradient(135deg, rgba(0,102,204,0.12) 0%, rgba(227,25,55,0.08) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: ax-blob 10s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes ax-blob {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* Page-level hero (shorter, for subpages) */
.ax-hero--page {
  min-height: auto;
  padding: 160px 0 80px;
}

.ax-hero--page .ax-h1 {
  font-size: clamp(36px, 5vw, 56px);
}

/* ==========================================================================
   6. CARDS
   ========================================================================== */

.ax-card {
  background: var(--ax-white);
  border-radius: var(--ax-radius);
  padding: 40px;
  position: relative;
  transition: all var(--ax-transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ax-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ax-shadow-lg);
  border-color: transparent;
}

.ax-card--accent-top {
  border-top: 3px solid transparent;
}

.ax-card--accent-top:hover {
  border-top-color: var(--ax-red);
}

.ax-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--ax-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  background: var(--ax-blue-bg);
  color: var(--ax-blue);
  flex-shrink: 0;
}

.ax-card__icon--red {
  background: rgba(227, 25, 55, 0.08);
  color: var(--ax-red);
}

.ax-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ax-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ax-card__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ax-text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.ax-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ax-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--ax-transition);
}

.ax-card__link:hover {
  gap: 12px;
  color: var(--ax-red);
}

.ax-card__link::after {
  content: '→';
  transition: transform var(--ax-transition);
}

.ax-card__link:hover::after {
  transform: translateX(4px);
}

/* Metric card (for stats) */
.ax-card--metric {
  text-align: center;
  padding: 48px 32px;
  border: none;
  background: transparent;
}

.ax-card--metric:hover {
  transform: none;
  box-shadow: none;
}

.ax-card--metric .ax-card__number {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  color: var(--ax-red);
  margin-bottom: 12px;
  display: block;
}

.ax-card--metric .ax-card__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ax-text-light);
}

/* Industry card with hover reveal */
.ax-card--industry {
  padding: 48px 36px;
  overflow: hidden;
}

.ax-card--industry .ax-card__stat {
  font-size: 15px;
  font-weight: 700;
  color: var(--ax-red);
  margin-bottom: 8px;
  display: block;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--ax-font);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--ax-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ax-transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.ax-btn--primary {
  background: var(--ax-red);
  color: var(--ax-white);
  border-color: var(--ax-red);
}

.ax-btn--primary:hover {
  background: #c8152f;
  border-color: #c8152f;
  color: var(--ax-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 25, 55, 0.3);
}

.ax-btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.ax-btn--primary:hover::after {
  transform: translateX(100%);
}

.ax-btn--outline {
  background: transparent;
  color: var(--ax-navy);
  border-color: var(--ax-gray-300);
}

.ax-btn--outline:hover {
  border-color: var(--ax-navy);
  color: var(--ax-navy);
  transform: translateY(-2px);
}

.ax-btn--white {
  background: var(--ax-white);
  color: var(--ax-navy);
  border-color: var(--ax-white);
}

.ax-btn--white:hover {
  background: var(--ax-gray-100);
  color: var(--ax-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ax-btn--ghost {
  background: transparent;
  color: var(--ax-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.ax-btn--ghost:hover {
  border-color: var(--ax-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ax-white);
}

.ax-btn--sm {
  padding: 10px 24px;
  font-size: 14px;
}

.ax-btn--lg {
  padding: 20px 48px;
  font-size: 18px;
  border-radius: var(--ax-radius);
}

/* ==========================================================================
   8. TAB SYSTEM
   ========================================================================== */

.ax-tabs {
  position: relative;
}

.ax-tabs__nav {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--ax-gray-100);
  border-radius: 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 48px;
}

.ax-tabs__nav::-webkit-scrollbar {
  display: none;
}

.ax-tabs__nav--minimal {
  background: transparent;
  border-bottom: 2px solid var(--ax-gray-200);
  border-radius: 0;
  padding: 0;
  gap: 0;
}

.ax-tab-btn {
  flex-shrink: 0;
  padding: 14px 28px;
  font-family: var(--ax-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--ax-text-light);
  background: transparent;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all var(--ax-transition);
  white-space: nowrap;
}

.ax-tab-btn:hover {
  color: var(--ax-navy);
}

.ax-tab-btn.active {
  background: var(--ax-white);
  color: var(--ax-navy);
  box-shadow: var(--ax-shadow-sm);
}

.ax-tabs__nav--minimal .ax-tab-btn {
  border-radius: 0;
  padding: 14px 24px;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}

.ax-tabs__nav--minimal .ax-tab-btn.active {
  background: transparent;
  box-shadow: none;
  border-bottom-color: var(--ax-red);
  color: var(--ax-red);
}

.ax-tab-panel {
  display: none;
  animation: ax-fadeIn 0.4s ease;
}

.ax-tab-panel.active {
  display: block;
}

@keyframes ax-fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   9. CAROUSEL / TESTIMONIALS
   ========================================================================== */

.ax-carousel {
  position: relative;
  overflow: hidden;
}

.ax-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ax-carousel__slide {
  flex: 0 0 100%;
  padding: 0 20px;
}

.ax-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.ax-carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--ax-white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ax-transition);
}

.ax-carousel__btn:hover {
  border-color: var(--ax-white);
  background: rgba(255, 255, 255, 0.1);
}

.ax-carousel__dots {
  display: flex;
  gap: 8px;
}

.ax-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--ax-transition);
  padding: 0;
}

.ax-carousel__dot.active {
  background: var(--ax-white);
  width: 24px;
  border-radius: 4px;
}

/* Quote styling */
.ax-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ax-quote__text {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ax-white);
  margin-bottom: 32px;
  font-style: italic;
  position: relative;
}

.ax-quote__text::before {
  content: '"';
  font-size: 80px;
  font-style: normal;
  font-weight: 800;
  color: var(--ax-red);
  line-height: 0;
  position: relative;
  top: 20px;
  margin-right: 4px;
}

.ax-quote__author {
  font-size: 16px;
  font-weight: 600;
  color: var(--ax-white);
  margin-bottom: 4px;
}

.ax-quote__role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.ax-quote__metric {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  background: rgba(227, 25, 55, 0.15);
  border: 1px solid rgba(227, 25, 55, 0.3);
  border-radius: 60px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ax-red);
}

/* ==========================================================================
   10. USE CASE COMPONENTS
   ========================================================================== */

.ax-filter-bar {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--ax-gray-100);
  border-radius: 60px;
  margin-bottom: 32px;
}

.ax-filter-btn {
  padding: 12px 24px;
  font-family: var(--ax-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--ax-text-light);
  background: transparent;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all var(--ax-transition);
}

.ax-filter-btn.active {
  background: var(--ax-white);
  color: var(--ax-navy);
  box-shadow: var(--ax-shadow-sm);
}

.ax-filter-btn:hover {
  color: var(--ax-navy);
}

/* Sub-filter chips */
.ax-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.ax-chip {
  padding: 8px 20px;
  font-family: var(--ax-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ax-text-light);
  background: var(--ax-white);
  border: 1px solid var(--ax-gray-200);
  border-radius: 60px;
  cursor: pointer;
  transition: all var(--ax-transition);
}

.ax-chip.active,
.ax-chip:hover {
  background: var(--ax-navy);
  color: var(--ax-white);
  border-color: var(--ax-navy);
}

/* Use case card */
.ax-usecase {
  background: var(--ax-white);
  border-radius: var(--ax-radius);
  padding: 36px;
  border: 1px solid var(--ax-gray-200);
  transition: all var(--ax-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ax-usecase:hover {
  border-color: var(--ax-blue);
  box-shadow: var(--ax-shadow-md);
  transform: translateY(-2px);
}

.ax-usecase__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ax-usecase__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--ax-blue-bg);
  color: var(--ax-blue);
}

.ax-usecase__tag--red {
  background: rgba(227, 25, 55, 0.08);
  color: var(--ax-red);
}

.ax-usecase__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ax-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.ax-usecase__section {
  margin-bottom: 16px;
}

.ax-usecase__section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ax-text-muted);
  margin-bottom: 6px;
}

.ax-usecase__section-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ax-text-light);
}

.ax-usecase__result {
  font-size: 17px;
  font-weight: 700;
  color: var(--ax-navy);
  padding: 12px 0;
  border-top: 1px solid var(--ax-gray-200);
  margin-top: auto;
}

.ax-usecase__result strong {
  color: var(--ax-red);
}

.ax-usecase__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ax-usecase__tech span {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--ax-gray-100);
  border-radius: 4px;
  color: var(--ax-gray-600);
  font-weight: 500;
}

/* Use case grid with animation */
.ax-usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ax-usecase-grid .ax-usecase {
  animation: ax-fadeIn 0.4s ease both;
}

/* ==========================================================================
   11. STAT COUNTERS
   ========================================================================== */

.ax-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.ax-stat {
  text-align: center;
}

.ax-stat__number {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  color: var(--ax-red);
  display: block;
  margin-bottom: 8px;
}

.ax-stat__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ax-text-light);
}

.ax-section--dark .ax-stat__label {
  color: rgba(255, 255, 255, 0.6);
}

.ax-section--dark .ax-stat__number {
  color: var(--ax-white);
}

/* ==========================================================================
   12. CTA SECTIONS
   ========================================================================== */

.ax-cta {
  background: linear-gradient(135deg, var(--ax-blue) 0%, #0052A3 100%);
  border-radius: var(--ax-radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ax-cta::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -100px;
  right: -50px;
}

.ax-cta::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -80px;
  left: -40px;
}

.ax-cta > * {
  position: relative;
  z-index: 1;
}

.ax-cta__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--ax-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.ax-cta__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   13. TECH BADGES
   ========================================================================== */

.ax-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ax-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--ax-transition);
}

.ax-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ax-white);
  transform: translateY(-2px);
}

/* Light variant */
.ax-badge--light {
  background: var(--ax-gray-100);
  border-color: var(--ax-gray-200);
  color: var(--ax-gray-600);
}

.ax-badge--light:hover {
  background: var(--ax-navy);
  border-color: var(--ax-navy);
  color: var(--ax-white);
}

/* ==========================================================================
   14. VALUES / FEATURES LIST
   ========================================================================== */

.ax-value {
  padding: 32px 0;
  border-bottom: 1px solid var(--ax-gray-200);
}

.ax-value:last-child {
  border-bottom: none;
}

.ax-value__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ax-navy);
  margin-bottom: 8px;
}

.ax-value__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ax-text-light);
  max-width: 640px;
}

/* ==========================================================================
   15. SERVICE TAB CONTENT
   ========================================================================== */

.ax-service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ax-service-content__text {
  max-width: 560px;
}

.ax-service-content__visual {
  position: relative;
}

.ax-service-content__visual img {
  border-radius: var(--ax-radius);
  box-shadow: var(--ax-shadow-lg);
}

.ax-problem {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ax-text);
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--ax-red);
}

.ax-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.ax-checklist li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ax-text-light);
  padding: 8px 0 8px 32px;
  position: relative;
}

.ax-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  background: var(--ax-blue-bg);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230066CC' d='M6.5 11.5L3 8l1-1 2.5 2.5L11 5l1 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.ax-deliverables {
  padding: 24px;
  background: var(--ax-gray-100);
  border-radius: var(--ax-radius-sm);
  margin-bottom: 24px;
}

.ax-deliverables__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ax-text-muted);
  margin-bottom: 12px;
}

.ax-deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ax-deliverables li {
  font-size: 15px;
  color: var(--ax-text);
  padding: 4px 0;
  font-weight: 500;
}

.ax-timeline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ax-blue);
  margin-top: 8px;
}

/* ==========================================================================
   16. STICKY NAV
   ========================================================================== */

.ax-sticky-nav {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ax-gray-200);
  padding: 0;
  transition: all var(--ax-transition);
}

.ax-sticky-nav__inner {
  max-width: var(--ax-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.ax-sticky-nav__inner::-webkit-scrollbar {
  display: none;
}

.ax-sticky-link {
  flex-shrink: 0;
  padding: 16px 20px;
  font-family: var(--ax-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--ax-text-light);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all var(--ax-transition);
  white-space: nowrap;
}

.ax-sticky-link:hover,
.ax-sticky-link.active {
  color: var(--ax-red);
  border-bottom-color: var(--ax-red);
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.ax-footer {
  background: var(--ax-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.ax-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.ax-footer__brand {
  max-width: 320px;
}

.ax-footer__logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--ax-white);
  margin-bottom: 16px;
  display: block;
}

.ax-footer__desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.ax-footer__heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ax-white);
  margin-bottom: 20px;
}

.ax-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ax-footer__links li {
  margin-bottom: 12px;
}

.ax-footer__links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--ax-transition);
}

.ax-footer__links a:hover {
  color: var(--ax-white);
}

.ax-footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.ax-footer__legal {
  display: flex;
  gap: 24px;
}

.ax-footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.ax-footer__legal a:hover {
  color: var(--ax-white);
}

/* ==========================================================================
   18. LEADERSHIP / TEAM
   ========================================================================== */

.ax-person {
  text-align: center;
}

.ax-person__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--ax-white);
  box-shadow: var(--ax-shadow-md);
}

.ax-person__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ax-navy);
  margin-bottom: 4px;
}

.ax-person__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ax-red);
  margin-bottom: 12px;
}

.ax-person__bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ax-text-light);
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================================================
   19. JOB LISTINGS
   ========================================================================== */

.ax-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: var(--ax-white);
  border: 1px solid var(--ax-gray-200);
  border-radius: var(--ax-radius);
  transition: all var(--ax-transition);
  gap: 24px;
}

.ax-job:hover {
  border-color: var(--ax-blue);
  box-shadow: var(--ax-shadow-md);
  transform: translateY(-2px);
}

.ax-job + .ax-job {
  margin-top: 12px;
}

.ax-job__info {
  flex: 1;
}

.ax-job__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ax-navy);
  margin-bottom: 4px;
}

.ax-job__meta {
  font-size: 14px;
  color: var(--ax-text-light);
  display: flex;
  gap: 16px;
}

.ax-job__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   20. CONTACT / LET'S TALK
   ========================================================================== */

.ax-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ax-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ax-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ax-contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ax-radius-sm);
  background: var(--ax-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ax-contact-item__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ax-text-muted);
  margin-bottom: 4px;
}

.ax-contact-item__value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ax-navy);
}

.ax-contact-item__value a {
  color: var(--ax-navy);
}

.ax-contact-item__value a:hover {
  color: var(--ax-red);
}

/* ==========================================================================
   21. SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.ax-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ax-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ax-reveal--left {
  transform: translateX(-32px);
}

.ax-reveal--left.visible {
  transform: translateX(0);
}

.ax-reveal--right {
  transform: translateX(32px);
}

.ax-reveal--right.visible {
  transform: translateX(0);
}

.ax-reveal--scale {
  transform: scale(0.95);
}

.ax-reveal--scale.visible {
  transform: scale(1);
}

/* Staggered children */
.ax-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ax-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.ax-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.ax-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.ax-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.ax-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.ax-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.ax-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll progress bar */
.ax-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ax-red), var(--ax-blue));
  z-index: 9999;
  transition: width 0.1s linear;
  width: 0%;
}

/* ==========================================================================
   22. SECTION DIVIDERS & DECORATIVE
   ========================================================================== */

.ax-divider {
  width: 60px;
  height: 4px;
  background: var(--ax-red);
  border-radius: 2px;
  margin-bottom: 32px;
}

.ax-divider--center {
  margin-left: auto;
  margin-right: auto;
}

.ax-section-header {
  margin-bottom: 64px;
}

.ax-section-header--center {
  text-align: center;
}

.ax-section-header--center .ax-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gradient text */
.ax-gradient-text {
  background: linear-gradient(135deg, var(--ax-red) 0%, var(--ax-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   23. TABLE-STYLE USE CASES (Department/Process tabs)
   ========================================================================== */

.ax-table-usecase {
  background: var(--ax-white);
  border-radius: var(--ax-radius);
  border: 1px solid var(--ax-gray-200);
  overflow: hidden;
  margin-bottom: 16px;
  transition: all var(--ax-transition);
}

.ax-table-usecase:hover {
  border-color: var(--ax-blue);
  box-shadow: var(--ax-shadow-sm);
}

.ax-table-usecase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  cursor: pointer;
  transition: background var(--ax-transition);
}

.ax-table-usecase__header:hover {
  background: var(--ax-gray-100);
}

.ax-table-usecase__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ax-navy);
}

.ax-table-usecase__toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ax-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ax-text-light);
  transition: all var(--ax-transition);
}

.ax-table-usecase.open .ax-table-usecase__toggle {
  transform: rotate(180deg);
  background: var(--ax-blue-bg);
  color: var(--ax-blue);
}

.ax-table-usecase__body {
  display: none;
  padding: 0 32px 24px;
  animation: ax-fadeIn 0.3s ease;
}

.ax-table-usecase.open .ax-table-usecase__body {
  display: block;
}

.ax-table-usecase__row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--ax-gray-200);
  font-size: 15px;
  line-height: 1.6;
}

.ax-table-usecase__row-title {
  font-weight: 600;
  color: var(--ax-navy);
}

.ax-table-usecase__row-scenario {
  color: var(--ax-text-light);
}

.ax-table-usecase__row-approach {
  color: var(--ax-text-light);
}

/* ==========================================================================
   24. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .ax-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ax-hero--split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ax-service-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ax-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .ax-contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ax-stats {
    gap: 48px;
  }

  .ax-usecase-grid {
    grid-template-columns: 1fr;
  }

  .ax-table-usecase__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .ax-section {
    padding: 80px 0;
  }

  .ax-section--sm {
    padding: 56px 0;
  }

  .ax-grid--2,
  .ax-grid--3,
  .ax-grid--4 {
    grid-template-columns: 1fr;
  }

  .ax-hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .ax-hero--page {
    padding: 120px 0 60px;
  }

  .ax-hero__content .ax-h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .ax-stats {
    flex-direction: column;
    gap: 32px;
  }

  .ax-cta {
    padding: 48px 24px;
    border-radius: var(--ax-radius);
  }

  .ax-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ax-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .ax-tabs__nav {
    justify-content: flex-start;
  }

  .ax-filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ax-card {
    padding: 28px;
  }

  .ax-job {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ax-carousel__slide {
    padding: 0;
  }

  .ax-quote__text {
    font-size: 20px;
  }

  .ax-section-header {
    margin-bottom: 40px;
  }

  .ax-hero--split .ax-hero__visual {
    order: -1;
  }

  .ax-sticky-nav {
    top: 60px;
  }
}

@media (max-width: 480px) {
  .ax-container {
    padding: 0 16px;
  }

  .ax-btn {
    width: 100%;
    justify-content: center;
  }

  .ax-btn--sm {
    width: auto;
  }

  .ax-tab-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   25. PRINT STYLES
   ========================================================================== */

@media print {
  .ax-sticky-nav,
  .ax-progress,
  .ax-carousel__controls,
  .ax-btn {
    display: none !important;
  }

  .ax-section {
    padding: 32px 0;
  }

  .ax-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
