/* AlloXYZ Ultimate — Palette Saverr (bleu marine #0A192F · primary #1D4ED8) */

.ultimate-theme {
  --primary-dark: #0A192F;
  --primary-mid: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(10, 25, 47, 0.08);
  --gradient-1: linear-gradient(135deg, #2563EB, #1D4ED8 50%, #0A192F);
  --gradient-2: linear-gradient(135deg, #1D4ED8, #3B82F6);
  --gradient-3: linear-gradient(135deg, #3B82F6, #1D4ED8);
  --accent-blue: #3B82F6;
  --accent-purple: #1D4ED8;
  --accent-gold: #1D4ED8;
  --accent-cyan: #3B82F6;
  --text-white: #FFFFFF;
  --text-gray: #5A6B82;
  --brand: #1D4ED8;
  --bg: #FFFFFF;
  --bg-subtle: #F0F4FA;
  --bg-muted: #F0F4FA;
  --bg-card: #FFFFFF;
  --text-primary: #0A192F;
  --text-secondary: #5A6B82;
  --text-muted: #5A6B82;
  --border: rgba(10, 25, 47, 0.08);
  --border-strong: rgba(10, 25, 47, 0.14);
  --accent-glow: rgba(29, 78, 216, 0.2);
  --shadow-glow: 0 8px 40px rgba(29, 78, 216, 0.2);
  --shadow-sm: 0 4px 20px rgba(10, 25, 47, 0.06);
  --shadow-md: 0 12px 40px rgba(10, 25, 47, 0.1);
  --header-height: clamp(64px, 10vw, 76px);
  --header-height-scrolled: clamp(56px, 8vw, 64px);
}

.ultimate-theme body.ultimate-body {
  background: var(--bg);
  color: var(--text-primary);
}

.ultimate-theme .ambient-breath {
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(29, 78, 216, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 75% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
}

.ultimate-theme .ambient-particles { opacity: 0.15; }

/* Scroll progress */
.ux-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 10001;
  background: var(--gradient-1);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

/* Loader ring */
.ultimate-theme .welcome-curtain {
  background: var(--bg);
}

.ultimate-theme .welcome-curtain-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ultimate-theme .welcome-curtain-inner::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #1D4ED8;
  border-right-color: #3B82F6;
  animation: ux-loader-ring 1.2s linear infinite;
}

.ultimate-theme .welcome-curtain-logo {
  position: relative;
  z-index: 1;
  animation: ux-logo-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  clip-path: inset(0 100% 0 0);
}

@keyframes ux-loader-ring {
  to { transform: rotate(360deg); }
}

@keyframes ux-logo-reveal {
  to { clip-path: inset(0 0 0 0); }
}

/* Header */
.ux-header.header-shell {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ux-header .header-bar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
}

.ux-header.header-shell.is-scrolled .header-bar {
  box-shadow: var(--shadow-sm);
}

.ux-header .nav a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.25s;
}

.ux-header .nav a:hover { color: var(--brand); }

.ux-header .nav-indicator {
  background: var(--brand);
  height: 2px;
  bottom: 0;
}

.btn-header {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  border-radius: 10px;
  min-height: 40px;
  line-height: 1.2;
  font-weight: 600;
}

.header-actions .btn-ux-outline.btn-header {
  border-width: 1.5px;
}

.header-actions .btn-ux-gradient.btn-header {
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

@media (min-width: 993px) and (max-width: 1200px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    column-gap: 1rem;
  }

  .btn-header {
    padding: 0.5625rem 0.875rem;
    font-size: 0.8125rem;
    min-height: 38px;
  }

  .header-inner .nav > a {
    font-size: 0.875rem;
  }

  .header-inner .nav {
    gap: 1.25rem;
  }
}

.ultimate-theme .menu-toggle {
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.ultimate-theme .menu-toggle:hover {
  background: var(--bg-subtle);
}

@media (max-width: 992px) {
  .ultimate-theme .nav.open a {
    color: var(--text-primary);
  }

  .ultimate-theme .nav.open a:hover {
    color: var(--brand);
    background: rgba(29, 78, 216, 0.06);
  }
}

.ultimate-theme .site-main {
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn-ux-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-1);
  border: none;
  box-shadow: 0 4px 24px rgba(29, 78, 216, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  will-change: transform;
}

.btn-ux-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(29, 78, 216, 0.45);
}

.btn-ux-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--brand);
  background: transparent;
  border: 1.5px solid rgba(29, 78, 216, 0.3);
  transition: transform 0.25s, border-color 0.25s, background 0.25s, color 0.25s;
}

.btn-ux-outline:hover {
  transform: translateY(-2px);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-ux-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Hero */
.ux-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  overflow: hidden;
}

.ux-hero-clean {
  background: #ffffff;
  min-height: auto;
  padding: calc(var(--header-height) + 3rem) 0 3rem;
}

@media (max-width: 992px) {
  .ux-hero-clean {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .ux-hero-clean .ux-hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.4rem);
    line-height: 1.18;
  }
}

.ux-hero-clean .ux-hero-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.12;
}

#ux-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.ux-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ux-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: ux-morph 18s ease-in-out infinite;
}

.ux-blob-1 {
  width: 420px;
  height: 420px;
  top: -10%;
  left: -5%;
  background: rgba(29, 78, 216, 0.12);
}

.ux-blob-2 {
  width: 360px;
  height: 360px;
  bottom: 10%;
  right: -8%;
  background: rgba(37, 99, 235, 0.1);
  animation-delay: -6s;
}

.ux-blob-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 45%;
  background: rgba(59, 130, 246, 0.08);
  animation-delay: -12s;
}

@keyframes ux-morph {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 50%; }
  33% { transform: translate(30px, -20px) scale(1.08); border-radius: 58% 42% 62% 38%; }
  66% { transform: translate(-20px, 25px) scale(0.95); border-radius: 42% 58% 38% 62%; }
}

.ux-sound-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ux-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid transparent;
  background: radial-gradient(circle, transparent 60%, rgba(59, 130, 246, 0.08) 61%, transparent 62%);
  animation: ux-wave-pulse 4s ease-out infinite;
}

.ux-wave-1 { width: 300px; height: 300px; }
.ux-wave-2 { width: 500px; height: 500px; animation-delay: 1.3s; }
.ux-wave-3 { width: 700px; height: 700px; animation-delay: 2.6s; }

@keyframes ux-wave-pulse {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.ux-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.ux-badge-pop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 78, 216, 0.15);
  box-shadow: var(--shadow-sm);
  animation: ux-badge-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@keyframes ux-badge-pop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

.ux-hero-title {
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  min-height: 1.1em;
  color: var(--text-primary);
}

.ux-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--brand);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: ux-blink 0.8s step-end infinite;
}

@keyframes ux-blink {
  50% { opacity: 0; }
}

.ux-hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 32px;
}

.ux-hero-sub strong { color: var(--text-primary); }

.ux-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.ux-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.ux-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Marquee */
.ux-marquee-section {
  padding: 24px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-subtle);
  overflow: hidden;
}

.ux-marquee-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ux-marquee {
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ux-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ux-marquee 35s linear infinite;
}

.ux-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 1rem;
}

.ux-marquee-item::after {
  content: '·';
  margin-left: 48px;
  color: var(--border-strong);
}

@keyframes ux-marquee {
  to { transform: translateX(-50%); }
}

.ux-problem-marquee {
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.ux-marquee-cards .ux-marquee-track {
  gap: 24px;
  animation: ux-marquee 45s linear infinite;
}

.ux-problem-card {
  flex: 0 0 min(420px, 85vw);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.ux-problem-bad {
  border-color: rgba(220, 38, 38, 0.2);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.6), var(--bg-card));
}

.ux-problem-good {
  border-color: rgba(29, 78, 216, 0.2);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.7), var(--bg-card));
}

.ux-problem-card h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 16px 0 10px;
}

.ux-problem-card p {
  color: var(--text-gray);
  margin: 0 0 8px;
}

.ux-phone-good .ux-phone-status { color: #15803d; }
.ux-phone-bad .ux-phone-status { color: #b91c1c; }

/* Sections */
.ultimate-theme .section { padding-block: clamp(4rem, 8vw, 6rem); }

.ultimate-theme #temoignages,
.ultimate-theme #metiers,
.ultimate-theme #fonctionnalites,
.ultimate-theme #faq {
  background: var(--bg-subtle);
}

.ultimate-theme .section-label {
  background: rgba(29, 78, 216, 0.08);
  color: var(--brand);
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.ultimate-theme .section-title { color: var(--text-primary); }

.section-intro-center { text-align: center; }
.section-intro-center .section-desc { margin-inline: auto; }

/* Glass cards */
.ux-glass-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.ux-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(29, 78, 216, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.ux-glass-card:hover::before { opacity: 1; }

.ux-glass-card:hover {
  border-color: rgba(29, 78, 216, 0.15);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Split screen */
.ux-split-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  --split: 50%;
}

.ux-split-panel {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.ux-split-problem {
  z-index: 2;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), var(--bg-subtle));
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.ux-split-solution {
  z-index: 1;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.06), #fff);
  clip-path: inset(0 0 0 var(--split));
}

.ux-split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 4px;
  transform: translateX(-50%);
  z-index: 5;
  cursor: ew-resize;
  background: var(--gradient-1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.ux-split-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-glow);
}

.ux-phone {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.ux-phone-bad {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  animation: ux-shake 0.5s ease-in-out infinite;
}

.ux-phone-good {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  animation: ux-glow-pulse 2s ease-in-out infinite;
}

@keyframes ux-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes ux-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  50% { box-shadow: 0 0 24px rgba(34, 197, 94, 0.35); }
}

.ux-phone-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.ux-status-bad { color: #f87171; }
.ux-status-good { color: #4ade80; }

.ux-stat-bad strong { color: #f87171; font-size: 1.5rem; }
.ux-stat-good strong { color: #4ade80; font-size: 1.5rem; }

.ux-split-panel h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.ux-split-panel p { color: var(--text-gray); }

@media (max-width: 768px) {
  .ux-split-wrap {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .ux-split-panel {
    grid-column: unset;
    grid-row: unset;
    clip-path: none !important;
  }

  .ux-split-handle { display: none; }
}

/* Stats */
.ux-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.ux-stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.ux-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--brand);
  animation: ux-float 4s ease-in-out infinite;
}

.ux-stat-card strong.ux-counter {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.ux-stat-card span { color: var(--text-gray); font-size: 0.95rem; }

@keyframes ux-float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(6px); }
}

/* Testimonials stack */
.ux-testimonial-stack {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  min-height: 380px;
  perspective: 800px;
}

.ux-testimonial-card {
  position: absolute;
  inset: 0;
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(calc(var(--i) * 12px)) rotate(calc(var(--i) * -1.5deg)) scale(calc(1 - var(--i) * 0.03));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), z-index 0s, box-shadow 0.35s;
  z-index: calc(10 - var(--i));
}

.ux-testimonial-stack:hover .ux-testimonial-card {
  transform: translateY(calc(var(--i) * 28px)) rotate(calc(var(--i) * -3deg)) scale(calc(1 - var(--i) * 0.02));
}

.ux-testimonial-stack .ux-testimonial-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.03) !important;
  z-index: 20 !important;
  border-color: rgba(29, 78, 216, 0.2);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #F59E0B;
}

.testimonial-text {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ux-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--gradient-1);
  color: #fff;
}

.testimonial-author strong { display: block; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

.testimonial-metric {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.15);
}

@media (max-width: 640px) {
  .ux-testimonial-stack { min-height: 520px; }
}

.ux-testimonial-marquee {
  margin-top: 32px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ux-testimonial-marquee .ux-marquee-track {
  gap: 20px;
  animation: ux-marquee 55s linear infinite;
}

.ux-testimonial-slide {
  flex: 0 0 min(380px, 88vw);
  position: relative;
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transform: none;
  opacity: 1;
}

/* Process */
.ux-process { position: relative; }

.ux-process-line {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

.ux-process-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.1s linear;
}

.ux-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.ux-process-step {
  text-align: center;
  padding: 24px 16px;
}

.ux-process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--gradient-1);
  color: #fff;
  animation: ux-float 5s ease-in-out infinite;
}

.ux-process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ux-process-step p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .ux-process-line { display: none; }
  .ux-process-steps { grid-template-columns: 1fr; }
}

/* Grids */
.ultimate-theme .grid-4.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.ux-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ux-feature-tag {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: rgba(29, 78, 216, 0.08);
  animation: ux-badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sector-icon,
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--brand);
}

.ux-glass-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ux-glass-card p { color: var(--text-gray); font-size: 0.95rem; }

/* Pricing */
.ux-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.ux-billing-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s;
}

.ux-billing-label.is-active { color: var(--text-primary); font-weight: 600; }
.ux-billing-label em { color: var(--brand); font-style: normal; font-size: 0.8rem; }

.ux-toggle {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.ux-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ux-toggle.is-yearly .ux-toggle-knob { transform: translateX(24px); }

.ux-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.ux-pricing-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}

.ux-pricing-card.is-popular {
  transform: translateY(-12px);
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-glow);
}

.ux-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--gradient-1);
  color: #fff;
}

.ux-pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.ux-price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  transition: opacity 0.3s;
}

.ux-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ux-pricing-card .pricing-features {
  flex: 1;
  margin-bottom: 24px;
}

.ux-pricing-card .pricing-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.ux-pricing-card.visible .pricing-features li {
  animation: ux-fade-up 0.4s ease forwards;
}

.ux-pricing-card .pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.ux-pricing-card .pricing-features li:nth-child(1) { animation-delay: 0.1s; }
.ux-pricing-card .pricing-features li:nth-child(2) { animation-delay: 0.2s; }
.ux-pricing-card .pricing-features li:nth-child(3) { animation-delay: 0.3s; }
.ux-pricing-card .pricing-features li:nth-child(4) { animation-delay: 0.4s; }

/* FAQ */
.ux-faq { max-width: 760px; margin: 0 auto; }

.ux-faq .faq-item {
  margin-bottom: 12px;
  overflow: hidden;
}

.ux-faq .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.ux-faq .faq-toggle {
  flex-shrink: 0;
  transition: transform 0.35s;
  color: var(--brand);
}

.ux-faq .faq-item.active .faq-toggle { transform: rotate(45deg); }

.ux-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
  opacity: 0;
}

.ux-faq .faq-item.active .faq-answer { opacity: 1; }

.ux-faq .faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* CTA final */
.ux-cta-final { padding-block: clamp(5rem, 10vw, 8rem); }

.ux-cta-box {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ux-cta-box::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(29, 78, 216, 0.06), transparent 30%);
  animation: ux-loader-ring 8s linear infinite;
}

.ux-cta-box > * { position: relative; z-index: 1; }

.ux-cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.ux-cta-box p {
  color: var(--text-gray);
  max-width: 560px;
  margin: 0 auto 28px;
}

.ux-pulse-cta { animation: ux-pulse 3s ease-in-out infinite; }

@keyframes ux-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(29, 78, 216, 0.35); }
  50% { box-shadow: 0 12px 36px rgba(29, 78, 216, 0.45); transform: scale(1.02); }
}

/* Footer */
.ux-footer.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding-block: 48px 24px;
  color: var(--text-secondary);
}

.ux-footer-heading {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.ux-footer .footer-links a {
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.ux-footer .footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.3s;
}

.ux-footer .footer-links a:hover {
  color: var(--brand);
}

.ux-footer .footer-links a:hover::after { width: 100%; }

.ux-footer .footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.85rem;
}

.ux-footer p {
  color: var(--text-secondary);
}

/* Reveal */
.ux-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ux-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ux-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tilt */
.ux-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ux-marquee-track,
  .ux-blob,
  .ux-wave,
  .ux-phone-bad,
  .ux-phone-good,
  .ux-pulse-cta,
  .ux-stat-icon,
  .ux-process-num { animation: none !important; }

  .ux-reveal { opacity: 1; transform: none; }
  .ux-typewriter { white-space: normal !important; }
  .ux-cursor { display: none; }
}
