/* Retribution — Wexside-style theme v20 */
:root {
  --bg-deep: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9a9a9a;
  --accent-a: #ff5c1a;
  --accent-b: #ff7a3d;
  --accent-glow: rgba(255, 92, 26, 0.35);
  --danger: #e74c3c;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-display: "Manrope", system-ui, sans-serif;
}

body {
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 92, 26, 0.12), transparent 55%);
}

a:hover {
  color: var(--accent-b);
}

.page-bg .orb,
.page-bg .grid-glow {
  display: none;
}

/* —— Nav —— */
.nav-wex {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
}

.nav-wex .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  max-width: 1200px;
}

.nav-wex .nav-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex: 1;
}

.nav-wex .nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-wex .nav-links a:hover {
  color: var(--text);
}

.nav-actions-wex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-cabinet-wex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--accent-a);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-cabinet-wex:hover {
  background: var(--accent-b);
  color: #fff !important;
  transform: translateY(-1px);
}

/* —— Buttons —— */
.btn-primary {
  background: linear-gradient(180deg, #ff6b2e 0%, #e85510 100%);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.btn-ghost {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* —— Hero immersive —— */
.hero-wex {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-wex-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-wex-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.75) 55%, #0a0a0a 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 20%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.hero-wex--immersive {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-wex--immersive .hero-wex-inner {
  z-index: 2;
}

.hero-wex--immersive h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
}

.hero-wex--immersive .hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.btn-xl {
  padding: 0.95rem 2rem !important;
  font-size: 1rem !important;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
  text-decoration: none;
  animation: wex-bounce 2s ease infinite;
}

@keyframes wex-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.brand--wex .brand-text {
  display: none;
}

.nav-wex .nav-links a.is-active {
  color: #fff;
}

.wex-theme-toggle {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.wex-theme-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #333;
  transition: transform 0.2s ease;
}

.wex-section--dark {
  background: #0a0a0a;
}

.wex-showcase-card--img {
  background-image: linear-gradient(145deg, rgba(30, 20, 12, 0.92), rgba(10, 8, 6, 0.95)), var(--card-bg);
  background-size: cover;
  background-position: center;
}

.wex-showcase-label {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--accent-a);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.wex-showcase-quote {
  position: relative;
  font-size: 1rem !important;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9) !important;
}

.wex-showcase-author {
  position: relative;
  display: block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.wex-showcase-card--big-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.wex-showcase-card--big-text h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Split FAQ + mockup */
.wex-split {
  background: #0c0c0c;
  padding: 6rem 0;
}

.wex-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.wex-tags--left {
  justify-content: flex-start;
}

.wex-split-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.wex-muted-block {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.wex-faq--inline .faq-q span:last-child {
  color: var(--muted);
  font-weight: 400;
  font-size: 1.25rem;
}

.hero-actions-wex--left {
  justify-content: flex-start;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-text-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-text-link:hover {
  color: #fff;
}

.wex-mockup-window {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 92, 26, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  background: #121212;
}

.wex-mockup-sidebar {
  padding: 1rem 0.75rem;
  background: #0e0e0e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wex-mockup-sidebar span {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.wex-mockup-sidebar span.is-active {
  background: rgba(255, 92, 26, 0.2);
  color: var(--accent-b);
}

.wex-mockup-main {
  padding: 1.25rem;
}

.wex-mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

.wex-toggle {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #333;
  position: relative;
}

.wex-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #666;
  transition: transform 0.15s ease;
}

.wex-toggle.is-on {
  background: var(--accent-a);
}

.wex-toggle.is-on::after {
  transform: translateX(16px);
  background: #fff;
}

.wex-mockup-slider {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.wex-mockup-slider .bar {
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.wex-mockup-slider .bar i {
  display: block;
  height: 100%;
  background: var(--accent-a);
}

.wex-mockup-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Immersive sections */
.wex-immersive {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wex-immersive--tall {
  min-height: 92vh;
}

.wex-immersive-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.wex-immersive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.5) 50%, rgba(8, 8, 8, 0.85) 100%);
}

.wex-immersive-overlay--strong {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0.88) 60%, #0a0a0a 100%);
}

.wex-immersive-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 5rem 0;
}

.wex-immersive-content--center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.wex-immersive-content h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.wex-immersive-content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.wex-feature-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.wex-meta-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
}

.wex-meta-cols .meta-k {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.wex-accent-text {
  color: var(--accent-a);
}

.wex-stat-desc {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.wex-section--stats {
  background: #050505;
  padding: 6rem 0;
}

.wex-products-hero {
  position: relative;
  padding-top: 4rem;
}

.wex-products-logo-deco {
  text-align: center;
  margin-bottom: -2rem;
  opacity: 0.35;
  filter: drop-shadow(0 0 40px rgba(255, 92, 26, 0.3));
}

.wex-product-card--img {
  background-image: linear-gradient(135deg, rgba(232, 90, 32, 0.75), rgba(80, 30, 10, 0.9)), var(--card-bg, none);
  background-size: cover;
  background-position: center;
}

.wex-product-ver {
  position: relative;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  display: block;
}

.wex-cta-final {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
}

.wex-cta-final-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.wex-cta-final-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 92, 26, 0.25), #0a0a0a 70%);
}

.wex-cta-final-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.faq-list--wex .faq-q {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--stroke);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-list--wex .faq-q span {
  color: var(--muted);
  font-weight: 400;
}

.faq-list--wex .faq-a {
  display: none;
  padding-bottom: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list--wex .faq-item.is-open .faq-a {
  display: block;
}

.footer-wex-grid {
  grid-template-columns: 1.5fr repeat(4, 1fr);
}

.wex-photo-credit {
  margin: 1rem 0 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

body.wex-light {
  --bg-deep: #f5f5f5;
  --text: #111;
  --muted: #555;
  --bg-card: #fff;
}

@media (max-width: 900px) {
  .wex-split-grid {
    grid-template-columns: 1fr;
  }

  .wex-immersive {
    min-height: auto;
  }

  .wex-immersive-content {
    padding: 3rem 0;
  }

  .wex-meta-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-wex-grid {
    grid-template-columns: 1fr;
  }
}

.hero-wex-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.wex-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 92, 26, 0.15);
  border: 1px solid rgba(255, 92, 26, 0.35);
  color: var(--accent-b);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-wex h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-wex .hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-actions-wex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-actions-wex .btn-primary,
.hero-actions-wex .btn-ghost {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

/* —— Section common —— */
.wex-section {
  padding: 5rem 0;
}

.wex-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.wex-section-head h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.wex-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wex-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.wex-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  font-size: 0.8rem;
  color: var(--muted);
}

.wex-underline {
  position: relative;
  display: inline-block;
}

.wex-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.35em;
  background: linear-gradient(90deg, var(--accent-a), transparent);
  opacity: 0.85;
  z-index: -1;
  border-radius: 2px;
}

/* —— Showcase cards (3 col) —— */
.wex-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.wex-showcase-card {
  position: relative;
  min-height: 220px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wex-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ctext x='4' y='28' fill='white' font-size='14' opacity='0.5'%3ER%3C/text%3E%3C/svg%3E");
  background-size: 48px 48px;
}

.wex-showcase-card h3 {
  position: relative;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
}

.wex-showcase-card p {
  position: relative;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.wex-showcase-card--orange {
  background: linear-gradient(145deg, #3d2818 0%, #1a120c 100%);
}

.wex-showcase-card--blue {
  background: linear-gradient(145deg, #1a2838 0%, #0e141c 100%);
}

.wex-showcase-card--red {
  background: linear-gradient(145deg, #3d1820 0%, #1a0c10 100%);
}

/* —— Stats bars —— */
.wex-stats-block {
  max-width: 720px;
  margin: 0 auto;
}

.wex-stat-row {
  margin-bottom: 1.75rem;
}

.wex-stat-row--main .wex-stat-label {
  font-size: 1.1rem;
  font-weight: 700;
}

.wex-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.wex-stat-label {
  font-weight: 600;
  color: var(--text);
}

.wex-stat-score {
  color: var(--accent-a);
  font-weight: 700;
}

.wex-stat-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.wex-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  border-radius: 2px;
}

.wex-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

/* —— Product catalog —— */
.wex-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.wex-catalog-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.wex-product-card {
  position: relative;
  min-height: 200px;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #fff !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wex-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color: #fff !important;
}

.wex-product-card h3 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.wex-product-card .wex-product-link {
  position: absolute;
  bottom: 1.25rem;
  left: 1.75rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.wex-product-card--orange {
  background: linear-gradient(135deg, #e85a20 0%, #8b3010 100%);
}

.wex-product-card--purple {
  background: linear-gradient(135deg, #6b4ce6 0%, #3d2a8a 100%);
}

.wex-product-card--red {
  background: linear-gradient(135deg, #c42d4a 0%, #6b1830 100%);
}

.wex-product-card--dark {
  background: linear-gradient(135deg, #2a3544 0%, #141a22 100%);
}

/* —— FAQ accordion —— */
.wex-faq .faq-item {
  border-bottom: 1px solid var(--stroke);
}

.wex-faq .faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.wex-faq .faq-a {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.wex-faq .faq-item.is-open .faq-a {
  display: block;
}

/* —— CTA band —— */
.wex-cta-final {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 92, 26, 0.2), transparent);
}

.wex-cta-final h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.wex-cta-final p {
  color: var(--muted);
  margin: 0 0 2rem;
}

/* —— Footer —— */
.footer-wex {
  border-top: 1px solid var(--stroke);
  padding: 3.5rem 0 2rem;
  background: #080808;
}

.footer-wex-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-wex-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 1rem;
  max-width: 28ch;
}

.wex-users-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #5dde8a;
  font-size: 0.8rem;
  font-weight: 600;
}

.wex-users-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
}

.footer-wex-col h4 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.footer-wex-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-wex-col a:hover {
  color: var(--text);
}

.footer-wex-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Payment page —— */
.wex-payment-hero {
  padding: 2rem 0 2.5rem;
  margin-bottom: 2rem;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--stroke);
}

.wex-breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.wex-payment-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.payment-page-wex .payment-head {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.payment-page-wex .payment-order {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--bg-card);
}

.plan-card {
  border-color: rgba(255, 255, 255, 0.1);
}

.plan-card.is-selected,
.plan-card--popular {
  border-color: var(--accent-a);
  box-shadow: 0 0 0 1px var(--accent-a), 0 12px 40px var(--accent-glow);
}

.plan-card--featured {
  background: linear-gradient(145deg, rgba(255, 92, 26, 0.15), var(--bg-card));
}

/* —— Auth —— */
.auth-card {
  border: 1px solid var(--stroke);
  background: var(--bg-card);
}

.auth-page .btn-primary {
  width: 100%;
}

/* —— Cabinet overrides —— */
body.cabinet-app {
  background: var(--bg-deep);
}

body.cabinet-app .cabinet-sidebar {
  background: #0e0e0e;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body.cabinet-app .cabinet-nav-item.is-active,
body.cabinet-app .cabinet-nav a.cabinet-nav-item.is-active {
  background: rgba(255, 92, 26, 0.15);
  border-color: rgba(255, 92, 26, 0.4);
  color: #fff;
}

body.cabinet-app .stat-card strong.accent,
body.cabinet-app .cabinet-user {
  color: var(--accent-b);
}

body.cabinet-app .cabinet-user {
  background: rgba(255, 92, 26, 0.06);
  border-color: rgba(255, 92, 26, 0.2);
}

body.cabinet-app .dl-card,
body.cabinet-app .cabinet-card {
  border-color: rgba(255, 255, 255, 0.08);
}

body.cabinet-app .btn-primary {
  color: #fff !important;
}

body.cabinet-app .cabinet-topbar {
  border-bottom: 1px solid var(--stroke);
}

.cabinet-wex-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.cabinet-wex-header .btn-primary,
.cabinet-wex-header .btn-ghost,
.cabinet-wex-header .btn-danger-ghost {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn-danger-ghost {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.35);
  color: #f08080;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-wex .nav-links {
    display: none;
  }

  .wex-showcase-grid,
  .wex-catalog {
    grid-template-columns: 1fr;
  }

  .wex-catalog-wide {
    grid-template-columns: 1fr;
  }

  .wex-stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-wex-grid {
    grid-template-columns: 1fr 1fr;
  }
}
