/* ==========================================================================
   Audinex — Design System
   Premium healthcare SaaS
   ========================================================================== */

:root {
  --audinex-red: #E60012;
  --audinex-red-dark: #A9000C;
  --audinex-dark-red: #A9000C;
  --audinex-black: #0D0D0F;
  --audinex-panel: #171719;
  --audinex-charcoal: #29292D;
  --audinex-grey: #65656B;
  --audinex-muted: #65656B;
  --audinex-light: #F7F7F8;
  --audinex-white: #FFFFFF;
  --audinex-border: rgba(17, 17, 17, 0.10);
  --audinex-red-soft: #FFF1F2;
  --audinex-red-glow: rgba(230, 0, 18, 0.18);

  --font-heading: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-family: var(--font-body);

  --display-xl: clamp(3rem, 5vw, 5.25rem);
  --display-lg: clamp(2.5rem, 4.25vw, 4.5rem);
  --heading-xl: clamp(2.1rem, 3.25vw, 3.5rem);
  --heading-lg: clamp(1.75rem, 2.5vw, 2.75rem);
  --heading-md: clamp(1.3rem, 1.8vw, 1.8rem);
  --body-lg: clamp(1rem, 1.25vw, 1.125rem);

  --audinex-radius: 14px;
  --audinex-radius-lg: 22px;
  --audinex-shadow: 0 8px 30px rgba(13, 13, 15, 0.06);
  --audinex-shadow-md: 0 16px 40px rgba(13, 13, 15, 0.1);
  --audinex-shadow-lg: 0 24px 60px rgba(13, 13, 15, 0.16);
  --audinex-transition: 0.25s ease;
  --section-padding-y: 120px;
  --container-max: 1160px;
  --focus-ring: 0 0 0 3px rgba(230, 0, 18, 0.28);
  --copy-max: 720px;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--audinex-charcoal);
  background: var(--audinex-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap Offcanvas / Modal scroll lock must win over overflow-x: clip */
body.modal-open,
body:has(.offcanvas.show) {
  overflow: hidden !important;
  overflow-x: hidden !important;
  touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--audinex-red);
  text-decoration: none;
  transition: color var(--audinex-transition);
}

a:hover { color: var(--audinex-red-dark); }

:focus-visible {
  outline: 2px solid var(--audinex-red);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: var(--audinex-black);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-body);
}

.skip-link:focus { top: 1rem; color: #fff; }

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--audinex-black);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: var(--heading-xl);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: var(--body-lg);
  font-weight: 400;
  color: var(--audinex-grey);
  max-width: var(--copy-max);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--audinex-red);
  margin-bottom: 0.85rem;
}

.text-highlight { color: var(--audinex-red); }
.text-muted-audinex { color: var(--audinex-grey); }
.text-audinex-red { color: var(--audinex-red) !important; }

.copy-narrow { max-width: 680px; }

/* Layout */
.section {
  padding: var(--section-padding-y) 0;
  overflow-x: clip;
}

.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-light { background: var(--audinex-light); }

.section-dark {
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, var(--audinex-red-glow), transparent 55%),
    linear-gradient(165deg, var(--audinex-black) 0%, #141416 55%, var(--audinex-panel) 100%);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 90%);
  pointer-events: none;
}

.section-dark > .container { position: relative; z-index: 1; }

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark .section-heading { color: #fff; }

.section-dark .section-subheading,
.section-dark .text-muted-audinex { color: rgba(255, 255, 255, 0.68); }

.bg-grid-soft {
  background-color: var(--audinex-white);
  background-image:
    linear-gradient(rgba(13,13,15,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,13,15,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 14px;
  padding: 0.72rem 1.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-hero,
.btn-nav,
.btn-pricing,
.demo-modal-footer .btn,
.cta-actions .btn,
.cta-section .btn {
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 12px;
  box-shadow: none;
}

.btn-hero,
.cta-actions .btn,
.cta-section .btn {
  height: 48px;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-size: 0.92rem;
}

.btn-nav {
  height: 42px;
  min-height: 42px;
  padding: 0.5rem 1.05rem;
  font-size: 0.875rem;
}

.btn-pricing {
  height: 50px;
  min-height: 50px;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  border-radius: 12px;
  font-weight: 600;
}

.btn-audinex {
  box-shadow: 0 1px 2px rgba(169, 0, 12, 0.12);
}

.btn-audinex:hover,
.btn-audinex:focus-visible {
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.22);
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

.demo-modal-footer .btn {
  min-height: 42px;
  height: 42px;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn:active { transform: translateY(1px); }

.btn-primary,
.btn-audinex {
  background: var(--audinex-red);
  border-color: var(--audinex-red);
  color: #fff;
}

.btn-primary:hover,
.btn-audinex:hover,
.btn-primary:focus-visible,
.btn-audinex:focus-visible {
  background: var(--audinex-red-dark);
  border-color: var(--audinex-red-dark);
  color: #fff;
}

.btn-outline-dark {
  border: 1.5px solid rgba(13, 13, 15, 0.18);
  color: var(--audinex-black);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--audinex-black);
  border-color: var(--audinex-black);
  color: #fff;
}

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}


.btn-login {
  color: var(--audinex-charcoal) !important;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  min-height: 44px;
}

.btn-login:hover { color: var(--audinex-red) !important; }

/* Announcement */
.announcement-strip {
  background: var(--audinex-black);
  color: rgba(255,255,255,0.78);
  padding: 0.4rem 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.announcement-strip .announce-short { display: none; }

.announcement-strip .announce-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.announcement-strip .announce-link:hover,
.announcement-strip .announce-link:focus-visible {
  color: #ffb3b8;
}

.announcement-strip .announce-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header / Navbar */
.site-header,
.site-header .navbar,
.navbar-audinex {
  position: relative;
  z-index: 1050;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--audinex-transition), box-shadow var(--audinex-transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--audinex-border);
  box-shadow: 0 10px 28px rgba(13, 13, 15, 0.08);
}

.navbar-audinex {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin-right: 1.25rem;
}

.navbar-brand picture { display: block; line-height: 0; }

.navbar-brand img,
.navbar-brand .logo-dark {
  width: 160px;
  max-width: 170px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}

.navbar-brand .brand-word {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--audinex-black);
  line-height: 1;
}

.navbar-audinex .nav-link {
  font-family: var(--font-body);
  color: var(--audinex-charcoal);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem !important;
  border-radius: 8px;
}

.navbar-audinex .nav-link:hover,
.navbar-audinex .nav-link:focus,
.navbar-audinex .nav-link.show {
  color: var(--audinex-red);
  background: var(--audinex-red-soft);
}

.navbar-audinex > .container {
  position: relative;
}

@media (max-width: 991.98px) {
  #primaryNav {
    display: none !important;
  }
}

.navbar-audinex .dropdown-menu {
  border: 1px solid var(--audinex-border);
  border-radius: 16px;
  box-shadow: var(--audinex-shadow-md);
  padding: 0.65rem;
  overflow-x: hidden;
}

.mega-menu-grid {
  --bs-gutter-x: 0.5rem;
}

/* Desktop dropdowns: anchor to each trigger (not navbar container) */
@media (min-width: 992px) {
  .navbar-audinex .nav-dropdown,
  .navbar-audinex .platform-dropdown {
    position: relative;
  }

  .navbar-audinex .nav-dropdown > .dropdown-menu:not(.platform-mega-menu) {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    margin: 0 !important;
    transform: none !important;
    min-width: 280px;
    max-width: min(360px, calc(100vw - 32px));
    width: auto;
    z-index: 1100;
  }

  .navbar-audinex .nav-dropdown.dropdown-align-end > .dropdown-menu {
    left: auto;
    right: 0;
  }

  .navbar-audinex .platform-mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    margin: 0 !important;
    width: min(820px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    transform: none !important;
    z-index: 1100;
    padding: 0.85rem !important;
  }
}

.mega-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  color: var(--audinex-charcoal);
}

.mega-item:hover,
.mega-item:focus {
  background: var(--audinex-red-soft);
  color: var(--audinex-black);
}

.mega-item .mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--audinex-light);
  color: var(--audinex-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.mega-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--audinex-grey);
  line-height: 1.4;
}

.navbar-audinex .dropdown-item {
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--audinex-charcoal);
}

.navbar-audinex .dropdown-item:hover,
.navbar-audinex .dropdown-item:focus {
  background: var(--audinex-red-soft);
  color: var(--audinex-red);
}

.navbar-toggler {
  border: 1px solid var(--audinex-border);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  min-width: 44px;
  min-height: 44px;
}

.navbar-toggler:focus { box-shadow: var(--focus-ring); }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230D0D0F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Mobile Offcanvas — Bootstrap 5.3 defaults + brand styling.
   Must sit above sticky header (1050) and hero stacking contexts. */
.offcanvas-audinex {
  --bs-offcanvas-width: min(340px, 92vw);
  z-index: 1090;
  height: 100%;
  max-height: none;
  overflow: visible;
}

.offcanvas-backdrop.show {
  z-index: 1085;
}

.offcanvas-audinex .offcanvas-header {
  border-bottom: 1px solid var(--audinex-border);
  padding: 1rem 1.15rem;
}

.offcanvas-audinex .offcanvas-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offcanvas-audinex .offcanvas-title img,
.offcanvas-audinex .offcanvas-title .logo-dark {
  width: 128px;
  max-width: 135px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.offcanvas-audinex .offcanvas-body {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.mobile-offcanvas-nav .nav-link {
  color: var(--audinex-charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--audinex-border);
  border-radius: 0;
}

.mobile-offcanvas-nav .nav-link:hover,
.mobile-offcanvas-nav .nav-link:focus,
.mobile-offcanvas-nav .nav-link.show {
  color: var(--audinex-red);
  background: transparent;
}

/* Nested dropdowns stack in-flow inside the offcanvas (no absolute flyouts) */
.mobile-offcanvas-nav .dropdown-menu {
  position: static !important;
  float: none;
  transform: none !important;
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0.25rem 0 0.35rem 0.35rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.mobile-offcanvas-nav .dropdown-item {
  color: var(--audinex-grey);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  border-radius: 8px;
  min-height: 40px;
}

.mobile-offcanvas-nav .dropdown-item:hover,
.mobile-offcanvas-nav .dropdown-item:focus {
  color: var(--audinex-red);
  background: var(--audinex-red-soft);
}

/* Hero */
.hero-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 80% 20%, var(--audinex-red-glow), transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 90%, rgba(230,0,18,0.08), transparent 55%),
    linear-gradient(160deg, #0A0A0C 0%, #121214 48%, #1A1A1E 100%);
  color: #fff;
  padding: clamp(3.25rem, 7vw, 6.5rem) 0 clamp(3.5rem, 8vw, 7rem);
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  pointer-events: none;
}

.hero-dark > .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--audinex-red);
  flex-shrink: 0;
}

.hero-eyebrow-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.hero-eyebrow-link:hover {
  color: #ffb3b8;
}

.hero-eyebrow-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
  color: #fff;
}

.hero-copy-col { max-width: 100%; }

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--display-lg);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.35rem;
  color: #fff;
  max-width: 18ch;
}

.hero-copy {
  font-size: var(--body-lg);
  color: rgba(255,255,255,0.72);
  max-width: 28rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.hero-trust li i { color: var(--audinex-red); }

/* Product preview mockup */
.product-preview {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.product-preview-frame {
  background: linear-gradient(180deg, #1C1C20, #121214);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
}

.preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #febc2e; }
.preview-dot:nth-child(3) { background: #28c840; }

.preview-url {
  flex: 1;
  margin-left: 0.65rem;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.preview-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 280px;
}

.preview-rail {
  background: #0F0F12;
  padding: 0.85rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.preview-rail span {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.preview-rail span.active { background: var(--audinex-red); }

.preview-main { padding: 1rem; }

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  gap: 0.75rem;
}

.preview-title-bar {
  width: min(140px, 45%);
  height: 12px;
  border-radius: 4px;
  background: rgba(255,255,255,0.85);
}

.preview-action {
  width: 68px;
  height: 24px;
  border-radius: 7px;
  background: var(--audinex-red);
  flex-shrink: 0;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.preview-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.65rem;
}

.preview-stat i {
  display: block;
  width: 55%;
  height: 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
  margin-bottom: 0.45rem;
}

.preview-stat b {
  display: block;
  width: 40%;
  height: 12px;
  border-radius: 3px;
  background: rgba(255,255,255,0.7);
}

.preview-chart {
  height: 110px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 0.85rem;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.preview-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--audinex-red), rgba(230,0,18,0.25));
  min-height: 18%;
}

.preview-float {
  position: absolute;
  background: rgba(23, 23, 25, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  box-shadow: var(--audinex-shadow-lg);
  backdrop-filter: blur(8px);
  width: min(170px, 42%);
}

.preview-float.one { top: 18%; left: -4%; }
.preview-float.two { bottom: 12%; right: -3%; }

.preview-float strong {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.preview-float em {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.preview-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.trust-statement {
  text-align: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--audinex-border);
  background: var(--audinex-white);
}

.trust-statement p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--audinex-charcoal);
  letter-spacing: -0.02em;
}

/* Feature asymmetric grid */
.feature-asymmetric {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.feature-tile {
  background: var(--audinex-white);
  border: 1px solid var(--audinex-border);
  border-radius: var(--audinex-radius);
  padding: 1.75rem 1.6rem;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-tile:hover {
  border-color: rgba(230, 0, 18, 0.28);
  box-shadow: var(--audinex-shadow-md);
  transform: translateY(-6px);
}

.feature-tile.large { grid-column: span 4; min-height: 200px; }
.feature-tile.wide { grid-column: span 6; }
.feature-tile.soon {
  grid-column: span 3;
  background: var(--audinex-light);
  border-style: dashed;
  opacity: 0.95;
}

.feature-tile h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-tile p {
  font-size: 0.9rem;
  color: var(--audinex-grey);
  margin-bottom: 0;
  line-height: 1.55;
}

.icon-container {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--audinex-red-soft);
  color: var(--audinex-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.feature-tile:hover .icon-container,
.experience-card:hover .icon-container,
.solution-card:hover .icon-container,
.capability-card:hover .icon-container {
  transform: scale(1.08);
}

.coming-soon-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--audinex-red-dark);
  background: var(--audinex-red-soft);
  border: 1px solid rgba(230,0,18,0.18);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--audinex-red);
  margin-top: 0.85rem;
}

/* Pillars split */
.pillar-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-panel {
  border-radius: var(--audinex-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 100%;
}

.pillar-panel.ops {
  background: var(--audinex-white);
  border: 1px solid var(--audinex-border);
  box-shadow: var(--audinex-shadow);
}

.pillar-panel.grow {
  background:
    radial-gradient(ellipse at top right, var(--audinex-red-glow), transparent 50%),
    linear-gradient(160deg, var(--audinex-black), var(--audinex-panel));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

.pillar-panel.grow h3 { color: #fff; }

.pillar-panel h3 {
  font-size: var(--heading-md);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.pillar-panel.ops .pillar-list li { color: var(--audinex-charcoal); }
.pillar-panel.grow .pillar-list li { color: rgba(255,255,255,0.82); }
.pillar-list li i { color: var(--audinex-red); flex-shrink: 0; }

/* Growth services */
.growth-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.growth-featured {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--audinex-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.growth-featured::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -70px;
  border-radius: 50%;
  background: var(--audinex-red-glow);
  pointer-events: none;
}

.growth-featured h3 {
  font-size: var(--heading-md);
  color: #fff;
  margin-bottom: 0.75rem;
}

.growth-featured p {
  color: rgba(255,255,255,0.68);
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.growth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.growth-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1rem;
  transition: border-color var(--audinex-transition), background-color var(--audinex-transition);
}

.growth-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(230,0,18,0.35);
}

.growth-item h3 {
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.growth-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
  margin: 0;
  line-height: 1.45;
}

.growth-item .icon-container {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  background: rgba(230,0,18,0.15);
  margin-bottom: 0.7rem;
}

/* Solutions */
.solution-card {
  background: var(--audinex-white);
  border: 1px solid var(--audinex-border);
  border-radius: var(--audinex-radius);
  padding: 1.75rem 1.6rem;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.solution-card:hover {
  border-color: rgba(230,0,18,0.3);
  box-shadow: var(--audinex-shadow-md);
  transform: translateY(-6px);
}

.solution-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.solution-card p {
  font-size: 0.875rem;
  color: var(--audinex-grey);
  margin-bottom: 0;
  line-height: 1.55;
}

/* Experience / capability */
.experience-card,
.capability-card {
  background: var(--audinex-white);
  border: 1px solid var(--audinex-border);
  border-radius: var(--audinex-radius);
  padding: 1.75rem 1.6rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.experience-card:hover,
.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--audinex-shadow-md);
  border-color: rgba(230, 0, 18, 0.2);
}

.experience-card h3 { font-size: 1.05rem; }
.experience-card p {
  font-size: 0.9rem;
  color: var(--audinex-grey);
  margin: 0;
}

.capability-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.capability-card.is-coming-soon {
  border-style: dashed;
  background: var(--audinex-light);
}

.capability-card .icon-container { margin-bottom: 0; }
.capability-card h3 { font-size: 0.95rem; margin-bottom: 0; }

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--audinex-light);
  border: 1px solid var(--audinex-border);
  border-radius: 999px;
  padding: 0.3rem;
}

.pricing-toggle [role="tab"] {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--audinex-grey);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  min-height: 40px;
}

.pricing-toggle [role="tab"][aria-selected="true"] {
  background: #fff;
  color: var(--audinex-black);
  box-shadow: var(--audinex-shadow);
}

.reassurance-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--audinex-charcoal);
}

.reassurance-item i { color: var(--audinex-red); margin-top: 0.1rem; }

.pricing-card,
.pricing-preview-card {
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 16px rgba(13, 13, 15, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover,
.pricing-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 13, 15, 0.1);
  border-color: #e4e4e4;
}

.pricing-card.is-recommended,
.pricing-preview-card.is-recommended {
  border: 1.5px solid #E60012;
  box-shadow: 0 12px 32px rgba(230, 0, 18, 0.12);
  transform: none;
  z-index: 1;
}

.pricing-card.is-recommended:hover,
.pricing-preview-card.is-recommended:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(230, 0, 18, 0.16);
}

.pricing-card.is-recommended::before {
  content: none;
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--audinex-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.pricing-card .plan-name,
.pricing-preview-card .plan-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  padding-right: 5rem;
}

.pricing-card .plan-price,
.pricing-preview-card .plan-price {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--audinex-black);
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.price-period {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--audinex-grey);
  font-family: var(--font-body);
}

.plan-billing-note {
  font-size: 0.78rem;
  color: var(--audinex-grey);
  min-height: 0;
  margin-bottom: 0.65rem;
}

.plan-billing-note:empty { display: none; }

.pricing-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.pricing-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--audinex-border);
  font-size: 0.86rem;
}

.pricing-meta li span:first-child { color: var(--audinex-grey); }
.pricing-meta li span:last-child {
  font-weight: 600;
  color: var(--audinex-charcoal);
  text-align: right;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 1.15rem;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--audinex-charcoal);
  line-height: 1.4;
}

.pricing-features li i {
  color: #16a34a;
  font-size: 0.85rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pricing-card .plan-price,
.pricing-preview-card .plan-price { margin-bottom: 0.2rem; }

.pricing-card .plan-cta,
.pricing-preview-card .plan-cta,
.pricing-preview-card .btn-pricing,
.pricing-card .btn-pricing { margin-top: auto; }
.enterprise-note {
  font-size: 0.82rem;
  color: var(--audinex-grey);
  margin-bottom: 0.85rem;
}

/* Page hero */
.page-hero {
  background: var(--audinex-light);
  border-bottom: 1px solid var(--audinex-border);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.75rem, 3vw, 2.5rem);
}

.page-hero h1 {
  font-size: var(--heading-lg);
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  color: var(--audinex-grey);
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 0;
}

.breadcrumb-audinex {
  margin-bottom: 0.85rem;
  font-size: 0.84rem;
}

.breadcrumb-audinex .breadcrumb-item a { color: var(--audinex-grey); }
.breadcrumb-audinex .breadcrumb-item.active {
  color: var(--audinex-charcoal);
  font-weight: 500;
}

.coming-soon-block {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
  background: #fff;
  border: 1px dashed var(--audinex-border);
  border-radius: var(--audinex-radius-lg);
  max-width: 640px;
  margin: 0 auto;
}

.coming-soon-block .icon-container {
  margin: 0 auto 1rem;
  width: 52px;
  height: 52px;
}

/* Forms */
.form-label {
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--audinex-black);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border: 1px solid var(--audinex-border);
  border-radius: 11px;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  min-height: 46px;
  color: var(--audinex-charcoal);
  font-family: var(--font-body);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--audinex-red);
  box-shadow: var(--focus-ring);
}

.form-check-input:checked {
  background-color: var(--audinex-red);
  border-color: var(--audinex-red);
}

.form-check-input:focus {
  box-shadow: var(--focus-ring);
  border-color: var(--audinex-red);
}

.therapy-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
}

.therapy-checks .form-check {
  margin: 0;
  min-height: 40px;
}

/* Demo modal */
.demo-modal-dialog {
  max-width: min(860px, calc(100vw - 1.5rem));
  margin: 0.75rem auto;
}

.demo-modal-content {
  border: 0;
  border-radius: 18px;
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-modal-content .modal-header {
  padding: 1.15rem 1.25rem 0.5rem;
  flex-shrink: 0;
}

.demo-modal-content .modal-body {
  padding: 0.75rem 1.25rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.demo-modal-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), #fff 35%);
  border-top: 1px solid var(--audinex-border);
  padding: 0.9rem 1.25rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--audinex-red-soft);
  color: var(--audinex-red-dark);
  border: 1px solid rgba(230,0,18,0.16);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.55rem;
}

.demo-progress .progress {
  height: 5px;
  background: var(--audinex-light);
  border-radius: 999px;
}

.demo-progress .progress-bar {
  background: var(--audinex-red);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#demoFormError:empty { display: none; }
#demoFormError:not(:empty) {
  color: var(--audinex-red-dark);
  font-size: 0.85rem;
  width: 100%;
  margin: 0;
}

.conditional-block.d-none { display: none !important; }

/* FAQ */
.faq-accordion .accordion-item {
  border: 1px solid var(--audinex-border);
  border-radius: var(--audinex-radius) !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: #fff;
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--audinex-black);
  background: #fff;
  box-shadow: none;
  padding: 1rem 1.15rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--audinex-red);
  background: var(--audinex-red-soft);
}

.faq-accordion .accordion-button:focus {
  box-shadow: var(--focus-ring);
}

.faq-accordion .accordion-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--audinex-grey);
  font-size: 0.92rem;
}

/* CTA */
.cta-section {
  background:
    radial-gradient(ellipse at top right, var(--audinex-red-glow), transparent 50%),
    linear-gradient(135deg, var(--audinex-black), #17171a 60%, #231014);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .section-heading { color: #fff; }
.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--audinex-black);
  color: rgba(255,255,255,0.65);
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
  font-size: 0.86rem;
}

.site-footer .footer-heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
}

.footer-logo-link { display: inline-block; line-height: 0; }

.footer-brand img,
.footer-brand .logo-light {
  width: 160px;
  max-width: 170px;
  height: auto;
  margin-bottom: 0.85rem;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
  padding: 0;
}

.footer-contact {
  margin: 1.1rem 0 1rem;
}

.footer-contact-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-line {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact-line a:hover {
  color: #fff;
}

.footer-contact-sep {
  margin: 0 0.4rem;
  opacity: 0.45;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--audinex-red);
  border-color: rgba(230, 0, 18, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.footer-brand p {
  font-size: 0.84rem;
  max-width: 260px;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.45rem; }

.footer-links a {
  color: rgba(255,255,255,0.62);
  word-break: break-word;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-bottom a { color: rgba(255,255,255,0.62); }
.footer-bottom a:hover { color: #fff; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: auto;
  width: min(380px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--audinex-border);
  border-radius: 16px;
  box-shadow: var(--audinex-shadow-lg);
  padding: 1rem 1.05rem;
  z-index: 1080;
  display: none;
}

.cookie-banner.is-visible { display: block; }

.cookie-banner p {
  font-size: 0.8rem;
  color: var(--audinex-grey);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile teaser / misc */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--audinex-black);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.coming-soon-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--audinex-red);
}

/* --------------------------------------------------------------------------
   Hero product showcase — MacBook + iPhone + glass widgets
   -------------------------------------------------------------------------- */
.hero-showcase {
  position: relative;
  width: 100%;
  min-height: 380px;
  max-width: 620px;
  margin-inline: auto;
  perspective: 1200px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  --parallax-x: 0px;
  --parallax-y: 0px;
  will-change: transform;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
}

.product-shot {
  margin: 0 auto;
  max-width: 920px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--audinex-border);
  box-shadow: var(--audinex-shadow-lg);
  background: #fff;
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-showcase {
  background: transparent;
  box-shadow: none;
  border: 0;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-showcase::before { display: none; }

.mobile-app-visual {
  width: min(600px, 100%);
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.mobile-app-visual picture,
.mobile-app-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: none;
  border-radius: 0;
}

.hero-showcase.is-ready {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-float] { animation: none !important; }
}

.hero-glow {
  position: absolute;
  width: 70%;
  height: 55%;
  left: 18%;
  top: 22%;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.42) 0%, rgba(230, 0, 18, 0.08) 48%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.macbook {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  margin: 1.5rem auto 0;
  transform:
    translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0)
    rotateY(-12deg) rotateX(8deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.macbook-lid {
  background: linear-gradient(180deg, #2a2a2e, #151518);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px 14px 8px 8px;
  padding: 10px 10px 8px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}

.macbook-screen {
  background: #0c0c0f;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.macbook-base {
  height: 12px;
  margin: 0 auto;
  width: 108%;
  margin-left: -4%;
  background: linear-gradient(180deg, #3a3a40, #1c1c20);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  position: relative;
}

.macbook-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  transform: translateX(-50%);
  width: 18%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: #0f0f12;
}

.erp-dash {
  display: grid;
  grid-template-columns: 52px 1fr;
  height: 100%;
  background: linear-gradient(160deg, #121216, #1a1a20);
}

.erp-side {
  background: #0a0a0d;
  padding: 0.55rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.erp-side b {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--audinex-red);
}

.erp-side i {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  font-style: normal;
}

.erp-main { padding: 0.65rem 0.7rem; }

.erp-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.erp-bar em {
  display: block;
  width: 38%;
  height: 9px;
  border-radius: 4px;
  background: rgba(255,255,255,0.85);
  font-style: normal;
}

.erp-bar button {
  width: 52px;
  height: 20px;
  border: 0;
  border-radius: 6px;
  background: var(--audinex-red);
  pointer-events: none;
}

.erp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.erp-kpis span {
  display: block;
  height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

.erp-kpis span:nth-child(1) { background: linear-gradient(135deg, rgba(230,0,18,0.25), rgba(255,255,255,0.04)); }
.erp-kpis span:nth-child(2) { background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)); }

.erp-chart {
  height: 78px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 0.55rem 0.6rem;
}

.erp-chart i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(230,0,18,0.9), rgba(230,0,18,0.35));
  font-style: normal;
}

.iphone-float {
  position: absolute;
  right: 2%;
  bottom: 6%;
  z-index: 4;
  width: 132px;
  will-change: transform;
}

.iphone-body {
  background: linear-gradient(160deg, #2c2c32, #121216);
  border-radius: 26px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 22px 40px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
  overflow: hidden;
}

.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 10px;
  background: #0a0a0d;
  border-radius: 10px;
  z-index: 2;
}

.iphone-screen {
  background: #0e0e12;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.erp-mobile {
  height: 100%;
  padding: 1.35rem 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: linear-gradient(180deg, #141418, #1c1c22);
}

.erp-mobile.light {
  background: linear-gradient(180deg, #f8f8f9, #eef0f3);
}

.erp-m-brand {
  width: 42%;
  height: 8px;
  border-radius: 4px;
  background: var(--audinex-red);
  margin-bottom: 0.2rem;
}

.erp-m-top {
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(230,0,18,0.55), rgba(255,255,255,0.08));
}

.erp-m-top.dark {
  background: linear-gradient(135deg, #1a1a1e, #2a2a30);
}

.erp-m-card {
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.06);
}

.erp-m-card.light {
  background: #fff;
  border: 1px solid rgba(13,13,15,0.08);
  box-shadow: 0 4px 12px rgba(13,13,15,0.05);
}

.erp-m-card.accent {
  background: linear-gradient(135deg, rgba(230,0,18,0.2), rgba(255,255,255,0.06));
  border-color: rgba(230,0,18,0.35);
}

.erp-m-card.light.accent {
  background: var(--audinex-red-soft);
  border-color: rgba(230,0,18,0.2);
}

.erp-m-cta {
  margin-top: auto;
  height: 28px;
  border-radius: 8px;
  background: var(--audinex-red);
}

.glass-widget {
  position: absolute;
  z-index: 5;
  min-width: 112px;
  padding: 0.6rem 0.75rem 0.6rem 0.85rem;
  border-radius: 14px;
  background: rgba(18, 18, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
  will-change: transform;
  overflow: hidden;
}

.glass-widget::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  border-radius: 2px;
  background: #FF3445;
}

.glass-widget span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.15rem;
}

.glass-widget strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FFFFFF;
}

.gw-1 { top: 6%; left: -2%; }
.gw-2 { top: 10%; right: -2%; }
.gw-3 { bottom: 28%; left: -4%; }
.gw-4 { bottom: 10%; right: 8%; }

@keyframes audinex-float {
  0%, 100% {
    transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + 0px), 0);
  }
  50% {
    transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) - 6px), 0);
  }
}

[data-float] {
  --parallax-x: 0px;
  --parallax-y: 0px;
  animation: audinex-float 4.5s ease-in-out infinite;
  will-change: transform;
}

.gw-2[data-float] { animation-duration: 5.2s; animation-delay: -0.8s; }
.gw-3[data-float] { animation-duration: 4.8s; animation-delay: -1.4s; }
.gw-4[data-float] { animation-duration: 5.6s; animation-delay: -0.4s; }
.iphone-float[data-float] { animation-duration: 5s; animation-delay: -1s; }

.macbook[data-parallax] {
  --parallax-x: 0px;
  --parallax-y: 0px;
}

/* Legacy CSS phone mockup kept for unused markup compatibility */
.mobile-phone {
  width: min(210px, 58vw);
  position: relative;
  z-index: 1;
}

.error-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 800;
  color: var(--audinex-red);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.preview-tab {
  border: 1px solid var(--audinex-border);
  background: #fff;
  color: var(--audinex-charcoal);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  min-height: 44px;
  font-family: var(--font-body);
}

.preview-tab.active,
.preview-tab[aria-selected="true"] {
  background: var(--audinex-red);
  border-color: var(--audinex-red);
  color: #fff;
}

.preview-panel { display: none; }
.preview-panel.active { display: block; }

/* Legacy dashboard mockup aliases kept for any remaining markup */
.dashboard-mockup { max-width: 100%; }
.mockup-placeholder-label { display: none; }
