:root {
  --bg-0: #010207;
  --bg-1: #050912;
  --bg-2: #090f1d;
  --text: #f3f7ff;
  --muted: #acb9d5;
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --green: #40f2a7;
  --green-strong: #12d084;
  --purple: #8d6bff;
  --purple-strong: #7046ff;
  --glass: rgba(7, 10, 20, 0.84);
  --glass-2: rgba(5, 8, 16, 0.96);
  --news-banner-height: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 10% -10%, #0d2548 0%, transparent 28%),
    radial-gradient(circle at 95% 0%, #22114e 0%, transparent 32%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  color-scheme: dark;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.42));
}

.background-grid,
.scanline,
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.background-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.scanline {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.015) 1px,
    transparent 2px,
    transparent 4px
  );
}

.ambient-green {
  background: radial-gradient(circle at 18% 24%, rgba(64, 242, 167, 0.18), transparent 55%);
}

.ambient-purple {
  background: radial-gradient(circle at 85% 20%, rgba(141, 107, 255, 0.16), transparent 50%);
}

.ambient-center {
  background: radial-gradient(circle at 50% 65%, rgba(32, 91, 184, 0.14), transparent 45%);
}

.navbar-glass {
  top: var(--news-banner-height);
  background: rgba(1, 3, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.main-news-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1045;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, rgba(64, 242, 167, 0.22), rgba(141, 107, 255, 0.24));
  backdrop-filter: blur(8px);
}

.main-news-banner-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.main-news-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #091427;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  white-space: nowrap;
}

.main-news-slider-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.main-news-slider {
  position: relative;
  min-height: 28px;
}

.main-news-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  font-size: 0.84rem;
  color: #f5f8ff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-news-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.main-news-item p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-news-item .btn {
  --bs-btn-font-size: 0.7rem;
  --bs-btn-padding-y: 0.18rem;
  --bs-btn-padding-x: 0.52rem;
  flex-shrink: 0;
}

.navbar-glass.navbar-scrolled {
  background: rgba(1, 2, 7, 0.96);
  border-bottom-color: rgba(64, 242, 167, 0.32);
}

.brand-logo {
  width: clamp(88px, 10vw, 128px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 0.8rem rgba(141, 107, 255, 0.28))
    drop-shadow(0 0 0.9rem rgba(64, 242, 167, 0.22));
}

.brand-logo-small {
  width: 74px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #040610;
  box-shadow: 0 0 0.8rem rgba(64, 242, 167, 0.5);
}

.brand-mark.small {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.8rem;
}

.brand-mark.small.purple {
  box-shadow: 0 0 0.8rem rgba(141, 107, 255, 0.55);
}

.brand-text {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--green);
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-link {
  color: #ced8f5;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--green);
}

.btn-neon,
.btn-purple,
.btn-glass {
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-neon {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #022f1f;
  border-color: rgba(64, 242, 167, 0.7);
}

.btn-neon:hover {
  background: linear-gradient(135deg, #53f7b5, #2fe39a);
  color: #022f1f;
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-strong));
  color: #f4f1ff;
  border-color: rgba(141, 107, 255, 0.7);
}

.btn-purple:hover {
  background: linear-gradient(135deg, #9b7dff, #7e56ff);
  color: #fff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  color: #dce5ff;
}

.btn-glass:hover {
  border-color: var(--green);
  color: #fff;
}

.client-auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 30px;
  padding: 0.26rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce5ff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.client-auth-chip .status-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: #8ea0c9;
  box-shadow: 0 0 0.45rem rgba(142, 160, 201, 0.45);
}

.client-auth-chip.is-logged-in {
  border-color: rgba(64, 242, 167, 0.5);
  color: #eaffe9;
  background: rgba(64, 242, 167, 0.09);
}

.client-auth-chip.is-logged-in .status-dot {
  background: var(--green);
  box-shadow: 0 0 0.6rem rgba(64, 242, 167, 0.65);
}

.nav-actions {
  gap: 0.42rem !important;
}

.nav-quick-btn {
  --bs-btn-font-size: 0.76rem;
  --bs-btn-padding-y: 0.32rem;
  --bs-btn-padding-x: 0.68rem;
  letter-spacing: 0.01em;
}

.nav-profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  padding-right: 0.62rem !important;
}

.main-client-avatar {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #031a11;
  background: linear-gradient(135deg, var(--green), #9bffdb);
  box-shadow: 0 0 0.5rem rgba(64, 242, 167, 0.42);
}

.main-client-profile-label {
  display: grid;
  text-align: left;
  line-height: 1.05;
}

.main-client-profile-label small {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb0d3;
}

.main-client-profile-label strong {
  font-size: 0.72rem;
  color: #eef4ff;
  max-width: 12ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-client-dropdown-menu {
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(6, 10, 21, 0.98);
  backdrop-filter: blur(10px);
  min-width: 235px;
}

.main-client-dropdown-menu .dropdown-item,
.main-client-dropdown-menu .dropdown-item-text {
  color: #dfe8ff;
  font-size: 0.82rem;
}

.main-client-dropdown-menu .dropdown-item:hover,
.main-client-dropdown-menu .dropdown-item:focus {
  color: #fff;
  background: rgba(64, 242, 167, 0.12);
}

.main-client-dropdown-menu .dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.hero-section {
  padding: calc(7.5rem + var(--news-banner-height)) 0 2rem;
}

.hero-device {
  --hero-scale: 1;
  --hero-shift: 0px;
  --hero-rotate: 0deg;
  transform: translate3d(0, var(--hero-shift), 0) scale(var(--hero-scale)) rotateX(var(--hero-rotate));
  transform-origin: center top;
  will-change: transform;
  transition: transform 0.22s linear;
}

.hero-device.tilt-card:hover {
  transform: translate3d(0, var(--hero-shift), 0) scale(var(--hero-scale)) rotateX(var(--hero-rotate));
}

.ticker-strip {
  margin-top: 1.15rem;
  padding: 0.78rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(64, 242, 167, 0.06), rgba(141, 107, 255, 0.06));
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding-left: 0.85rem;
  animation: ticker-flow 32s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #f1f5ff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.66rem;
  background: rgba(3, 7, 18, 0.74);
}

.ticker-track span:nth-of-type(3n + 1) {
  border-color: rgba(64, 242, 167, 0.55);
  box-shadow: inset 0 0 0.45rem rgba(64, 242, 167, 0.14);
}

.ticker-track span:nth-of-type(3n + 2) {
  border-color: rgba(141, 107, 255, 0.58);
  box-shadow: inset 0 0 0.45rem rgba(141, 107, 255, 0.15);
}

.ticker-track i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--green), var(--purple));
  box-shadow: 0 0 0.5rem rgba(64, 242, 167, 0.45);
}

@keyframes ticker-flow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-section {
  --section-progress: 0;
}

.scroll-section .glass-shell,
.scroll-section .service-card,
.scroll-section .price-card,
.scroll-section .process-card,
.scroll-section .audio-card,
.scroll-section .kpi-card,
.scroll-section .panel-card {
  transform: translate3d(0, calc((1 - var(--section-progress)) * 18px), 0);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-item.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--green), #a6ffd9 45%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.section-copy,
.text-muted-glow,
.footer-links a,
.footer-section p {
  color: var(--muted);
}

.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 100px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  color: #fff;
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

.glass-shell,
.panel-card,
.kpi-card,
.service-card,
.price-card,
.process-card,
.audio-card,
.estimate-card,
.footer-cta,
.glass-modal,
.upload-offcanvas {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.glass-shell {
  padding: 1.05rem;
}

.tilt-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tilt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(64, 242, 167, 0.6);
}

.device-topbar,
.session-meta,
.transport-row,
.panel-title-row,
.meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.window-dots span {
  width: 0.45rem;
  height: 0.45rem;
  display: inline-block;
  border-radius: 50%;
  background: #4e5673;
  margin-right: 0.25rem;
}

.window-dots span:nth-child(1) {
  background: #ff6177;
}

.window-dots span:nth-child(2) {
  background: #ffd166;
}

.window-dots span:nth-child(3) {
  background: #40f2a7;
}

.big-wave,
.mini-wave {
  display: grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 0.18rem;
}

.big-wave {
  height: 64px;
  margin: 1rem 0;
}

.big-wave span,
.mini-wave span {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), rgba(64, 242, 167, 0.28));
}

.big-wave span {
  width: 0.24rem;
  height: var(--h);
}

.mini-wave {
  height: 24px;
  margin: 0.8rem 0;
}

.mini-wave span {
  width: 0.25rem;
  height: 100%;
}

.neon-progress,
.meter-line {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.neon-progress .progress-bar,
.meter-line i {
  background: linear-gradient(90deg, var(--green), #7ffff0);
  border-radius: 999px;
}

.meter-line {
  height: 0.42rem;
}

.meter-line i {
  display: block;
  height: 100%;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  margin: 0.4rem 0 0.8rem;
}

.border-soft {
  border-color: var(--line-soft) !important;
}

.border-y {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.service-card,
.price-card,
.process-card,
.audio-card {
  padding: 1.15rem;
}

.service-card h3,
.price-card h3,
.process-card h3,
.audio-card h3 {
  font-size: 1.1rem;
}

.service-card a,
.footer-links a {
  color: #d4def8;
  text-decoration: none;
}

.footer-bottom a {
  color: #d4def8;
  text-decoration: none;
}

.service-card a:hover,
.footer-links a:hover {
  color: var(--green);
}

.footer-bottom a:hover {
  color: var(--green);
}

.card-number {
  display: inline-flex;
  font-size: 0.72rem;
  color: #9fb0cf;
  margin-bottom: 0.55rem;
}

.icon-bubble {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.icon-bubble.green {
  background: rgba(64, 242, 167, 0.18);
  color: var(--green);
}

.icon-bubble.purple {
  background: rgba(141, 107, 255, 0.22);
  color: #b8a6ff;
}

.feature-ribbon,
.ribbon-item {
  position: relative;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

.ribbon-item i {
  color: var(--green);
  font-size: 1.15rem;
}

.ribbon-item.purple i {
  color: #b8a6ff;
}

.studio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.1rem;
}

.studio-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe7ff;
  font-size: 0.76rem;
}

.studio-badges i {
  color: var(--green);
}

.studio-focus-card {
  padding: 1rem;
  border: 1px solid rgba(141, 107, 255, 0.32);
  background:
    radial-gradient(circle at 5% 0%, rgba(64, 242, 167, 0.12), transparent 35%),
    linear-gradient(150deg, rgba(8, 14, 30, 0.92), rgba(8, 10, 24, 0.94));
}

.studio-focus-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 0.95rem);
  min-height: 0;
  align-items: start;
}

.studio-image-card {
  position: relative;
  min-height: 0;
  padding: 0.35rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(4, 10, 24, 0.95), rgba(2, 8, 20, 0.9));
  overflow: hidden;
}

.studio-image-card--feature {
  grid-column: 1 / 5;
}

.studio-image-card--portrait {
  grid-column: 5 / 7;
  aspect-ratio: 3 / 4;
}

.studio-image-card--beat {
  grid-column: 1 / 4;
}

.studio-image-card--lounge {
  grid-column: 4 / 7;
}

.studio-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0.36rem;
  border: 1px solid rgba(64, 242, 167, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.studio-image-card--feature .studio-image {
  object-position: center center;
}

.studio-image-card--portrait .studio-image {
  object-position: 43% center;
}

.studio-image-card--beat .studio-image {
  object-position: center center;
}

.studio-image-card--lounge .studio-image {
  object-position: center center;
}

.studio-image-meta {
  position: absolute;
  right: 0.68rem;
  bottom: 0.68rem;
  left: 0.68rem;
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.42rem;
  background:
    linear-gradient(180deg, rgba(4, 9, 20, 0.12), rgba(4, 9, 20, 0.82)),
    rgba(6, 12, 27, 0.62);
  backdrop-filter: blur(9px);
}

.studio-image-meta strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.15;
}

.studio-image-meta small {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  line-height: 1.2;
  margin-top: 0.12rem;
}

.studio-gallery-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.platform-tabs .nav-link {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #d7e1ff;
}

.platform-tabs .nav-link.active {
  background: rgba(64, 242, 167, 0.15);
  border-color: rgba(64, 242, 167, 0.45);
  color: #effff8;
}

.section-anchor {
  display: block;
  position: relative;
  top: -82px;
  visibility: hidden;
}

.form-switcher-tabs .nav-link {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #d7e1ff;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.form-switcher-tabs .nav-link:hover {
  border-color: rgba(64, 242, 167, 0.42);
  color: #fff;
  background: rgba(64, 242, 167, 0.1);
}

.form-switcher-tabs .nav-link.active {
  background: linear-gradient(135deg, rgba(64, 242, 167, 0.2), rgba(141, 107, 255, 0.18));
  border-color: rgba(64, 242, 167, 0.5);
  color: #f4fffa;
  box-shadow: 0 0 0.9rem rgba(64, 242, 167, 0.18);
}

.form-switcher-content > .tab-pane {
  animation: fadeSlideIn 0.24s ease;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
}

.client-shell {
  position: relative;
  border-radius: 1.1rem;
  border: 1px solid rgba(118, 147, 255, 0.22);
  background:
    radial-gradient(circle at 8% 10%, rgba(64, 242, 167, 0.09), transparent 35%),
    radial-gradient(circle at 92% 0%, rgba(141, 107, 255, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(2, 7, 18, 0.92), rgba(3, 5, 13, 0.98));
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portal-showcase {
  grid-template-columns: 220px 1fr;
  gap: 0.9rem;
}

.portal-showcase-sidebar {
  border: 1px solid var(--line-soft);
  border-radius: 0.95rem;
  padding: 0.9rem 0.75rem;
  background: linear-gradient(180deg, rgba(1, 4, 12, 0.96), rgba(3, 9, 20, 0.86));
  box-shadow: inset 0 0 0 1px rgba(110, 124, 172, 0.12);
}

.portal-showcase-brand {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.portal-showcase-nav a {
  display: block;
  padding: 0.62rem 0.72rem;
  margin-top: 0.42rem;
  border-radius: 0.68rem;
  color: #c9d4f1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.portal-showcase-nav a.active,
.portal-showcase-nav a:hover {
  background: linear-gradient(90deg, rgba(64, 242, 167, 0.18), rgba(64, 242, 167, 0.06));
  border-color: rgba(64, 242, 167, 0.28);
  color: #fff;
  transform: translateX(2px);
}

.portal-showcase-nav i {
  margin-right: 0.5rem;
}

.portal-showcase-main {
  min-width: 0;
}

.portal-showcase-topbar {
  border-color: rgba(102, 126, 192, 0.24);
  background: linear-gradient(165deg, rgba(4, 10, 24, 0.95), rgba(2, 8, 20, 0.9));
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.portal-showcase-topbar strong {
  display: block;
  color: #f5f9ff;
}

.portal-showcase-topbar small {
  color: var(--muted);
}

.dashboard-sidebar {
  border: 1px solid var(--line-soft);
  border-radius: 0.8rem;
  padding: 1rem 0.9rem;
  background: linear-gradient(180deg, rgba(1, 4, 12, 0.96), rgba(3, 9, 20, 0.86));
  box-shadow: inset 0 0 0 1px rgba(110, 124, 172, 0.12);
}

.dashboard-sidebar a {
  display: block;
  padding: 0.62rem 0.75rem;
  margin-top: 0.42rem;
  border-radius: 0.68rem;
  color: #c9d4f1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dashboard-sidebar a.active,
.dashboard-sidebar a:hover {
  background: linear-gradient(90deg, rgba(64, 242, 167, 0.18), rgba(64, 242, 167, 0.06));
  border-color: rgba(64, 242, 167, 0.28);
  color: #fff;
  transform: translateX(2px);
}

.mandate-chip {
  margin: 0 0 0.8rem;
  border: 1px solid rgba(141, 107, 255, 0.34);
  background: rgba(141, 107, 255, 0.14);
  color: #dfd7ff;
  border-radius: 999px;
  display: inline-flex;
  padding: 0.3rem 0.72rem;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.project-headline {
  border-color: rgba(64, 242, 167, 0.24);
  background: linear-gradient(120deg, rgba(64, 242, 167, 0.08), rgba(141, 107, 255, 0.08) 68%, rgba(255, 255, 255, 0.02));
}

.dashboard-user {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0.9rem 0 1rem;
}

.avatar-ring {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(64, 242, 167, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.avatar-ring.purple {
  border-color: rgba(141, 107, 255, 0.55);
}

.dashboard-main {
  min-width: 0;
}

.kpi-card {
  padding: 0.9rem;
  border: 1px solid rgba(127, 147, 200, 0.22);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(6, 14, 30, 0.94), rgba(3, 9, 21, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kpi-card.purple {
  border-color: rgba(141, 107, 255, 0.36);
}

.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-icon {
  color: rgba(190, 214, 255, 0.72);
  font-size: 0.95rem;
}

.kpi-card span,
.kpi-card small,
.panel-card small,
.priority,
.footer-links,
.footer-bottom {
  color: var(--muted);
}

.kpi-card strong {
  display: block;
  font-size: 1.2rem;
  color: #fff;
}

.project-timeline > div {
  display: flex;
  gap: 0.7rem;
  padding: 0.5rem 0;
}

.timeline-panel,
.chat-panel {
  border: 1px solid rgba(102, 126, 192, 0.24);
  background: linear-gradient(165deg, rgba(4, 10, 24, 0.95), rgba(2, 8, 20, 0.9));
}

.project-timeline > div span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  margin-top: 0.25rem;
  background: #455273;
}

.project-timeline > div.done span,
.project-timeline > div.active span {
  background: var(--green);
}

.chat-bubble {
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.55rem;
}

.chat-bubble.client {
  background: rgba(64, 242, 167, 0.14);
}

.chat-bubble.admin {
  background: rgba(141, 107, 255, 0.2);
}

.badge-green {
  background: rgba(64, 242, 167, 0.2);
  color: #b8ffe2;
}

.badge-purple {
  background: rgba(141, 107, 255, 0.22);
  color: #e3dcff;
}

.badge-darkline {
  background: rgba(255, 255, 255, 0.1);
  color: #d7dff6;
}

.table-panel {
  overflow: hidden;
}

.table-dark {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: rgba(255, 255, 255, 0.07);
  border-color: var(--line-soft);
}

.table td small {
  display: block;
  color: var(--muted);
}

.process-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-card span {
  display: inline-flex;
  color: var(--green);
  font-size: 0.74rem;
  margin-bottom: 0.35rem;
}

.process-card.purple span {
  color: #c8b9ff;
}

.audio-art {
  border-radius: 0.75rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.audio-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.audio-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #d8e1fa;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.audio-pill-featured {
  border-color: rgba(64, 242, 167, 0.35);
  background: rgba(64, 242, 167, 0.18);
  color: #d7ffe8;
}

.sound-preview-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.7rem;
}

.gradient-green {
  background: linear-gradient(135deg, rgba(64, 242, 167, 0.28), rgba(42, 89, 167, 0.5));
}

.gradient-purple {
  background: linear-gradient(135deg, rgba(141, 107, 255, 0.35), rgba(39, 63, 141, 0.5));
}

.filter-group .btn.active {
  border-color: rgba(64, 242, 167, 0.55);
  color: #fff;
}

.audio-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.audio-platforms {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.23rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #dce6ff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
}

.platform-btn:hover {
  border-color: rgba(64, 242, 167, 0.42);
  color: #fff;
  background: rgba(64, 242, 167, 0.16);
}

.price-card .price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card ul li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.price-card.featured,
.price-card.purple-feature {
  border-width: 2px;
}

.price-card.featured {
  border-color: rgba(64, 242, 167, 0.55);
}

.price-card.purple-feature {
  border-color: rgba(141, 107, 255, 0.6);
}

.estimate-card {
  margin-top: 1rem;
  padding: 1rem;
}

.estimate-card strong {
  display: block;
  margin: 0.4rem 0;
  font-size: 2rem;
  color: #fff;
}

.estimate-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.estimate-bars i {
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.order-form .form-control,
.order-form .form-select,
.glass-modal .form-control,
.newsletter-group .form-control {
  background: rgba(2, 4, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #eef4ff;
}

.order-form .form-control::placeholder,
.glass-modal .form-control::placeholder {
  color: #91a0bf;
}

.order-form .form-control:focus,
.order-form .form-select:focus,
.glass-modal .form-control:focus {
  border-color: rgba(64, 242, 167, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(64, 242, 167, 0.14);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
}

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

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

.social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d3dcf8;
  border: 1px solid var(--line);
  text-decoration: none;
}

.social-link:hover {
  border-color: rgba(64, 242, 167, 0.6);
  color: #fff;
}

.glass-modal,
.upload-offcanvas {
  background: var(--glass-2);
  color: var(--text);
}

.main-login-account {
  border: 1px solid rgba(64, 242, 167, 0.42);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(64, 242, 167, 0.08);
}

.main-login-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.25rem;
}

.main-login-account small {
  color: #b8c7ea;
}

.portal-preview-cta {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(64, 242, 167, 0.24);
  background: linear-gradient(145deg, rgba(64, 242, 167, 0.1), rgba(141, 107, 255, 0.08));
}

.portal-preview-cta p {
  margin: 0;
  color: #d4def5;
  font-size: 0.94rem;
}

.portal-preview-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.main-login-demo-link {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.main-login-demo-link small {
  color: #a8b7d8;
}

/* Keep the right offcanvas fully outside the viewport on wide screens. */
.offcanvas-end.upload-offcanvas {
  --bs-offcanvas-width: min(460px, 100vw);
  left: auto;
  right: 0;
  max-width: 100vw;
  transform: translateX(calc(100% + 2rem));
}

.offcanvas-end.upload-offcanvas.show,
.offcanvas-end.upload-offcanvas.showing {
  transform: translateX(0);
}

.upload-drop {
  border: 1px dashed rgba(64, 242, 167, 0.5);
  border-radius: 0.8rem;
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  background: rgba(7, 16, 30, 0.72);
}

.upload-demo-hint {
  color: #b5c4e9;
  text-align: center;
}

#demoUploadTrigger {
  border-color: rgba(141, 107, 255, 0.4);
  background: linear-gradient(135deg, rgba(141, 107, 255, 0.18), rgba(64, 242, 167, 0.12));
  color: #eef4ff;
}

#demoUploadTrigger:hover {
  border-color: rgba(64, 242, 167, 0.45);
  color: #fff;
}

.file-list > div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.custom-accordion .accordion-item {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 0.7rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.custom-accordion .accordion-button,
.custom-accordion .accordion-body {
  background: transparent;
  color: var(--text);
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: #fff;
  background: rgba(64, 242, 167, 0.12);
}

.alert {
  margin-top: 1rem;
  border-radius: 0.7rem;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 6.5rem;
  }

  .nav-actions {
    margin-top: 0.5rem;
    align-items: stretch !important;
  }

  .client-auth-chip {
    width: 100%;
    justify-content: center;
  }

  .nav-quick-btn,
  .nav-profile-toggle {
    width: 100%;
    justify-content: center;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .portal-showcase {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .studio-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .studio-image-card,
  .studio-image-card--feature,
  .studio-image-card--portrait,
  .studio-image-card--beat,
  .studio-image-card--lounge {
    grid-column: auto;
    grid-row: auto;
  }

  .studio-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .studio-image-card--portrait .studio-image {
    aspect-ratio: 4 / 5;
  }

  .studio-image-meta {
    right: 0.58rem;
    bottom: 0.58rem;
    left: 0.58rem;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-switcher-tabs .nav-link {
    width: 100%;
    text-align: center;
  }

  .main-login-demo-link {
    justify-items: stretch;
  }

  .main-login-demo-link .btn {
    width: 100%;
  }
}

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

  .hero-device {
    transform: none !important;
    transition: none !important;
  }

  .scroll-section .glass-shell,
  .scroll-section .service-card,
  .scroll-section .price-card,
  .scroll-section .process-card,
  .scroll-section .audio-card,
  .scroll-section .kpi-card,
  .scroll-section .panel-card {
    transform: none !important;
    transition: none !important;
  }

  .ticker-track {
    animation: none !important;
    transform: none !important;
  }
}
