/* DialogHub premium art direction: cinematic depth with an explicit agent core. */
.hero-section {
  isolation: isolate;
  background: #050914 !important;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('/assets/agent-command-core-v1.webp');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.82;
  transform: scale(1.015);
  animation: cinematicDrift 18s ease-in-out infinite alternate;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 8, 18, 0.99) 0%, rgba(4, 9, 20, 0.96) 30%, rgba(5, 12, 28, 0.56) 61%, rgba(4, 8, 18, 0.12) 100%),
    radial-gradient(60rem 38rem at 42% 16%, rgba(0, 212, 170, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.12), rgba(4, 8, 18, 0.68));
}

@keyframes cinematicDrift {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-0.7%, -0.4%, 0); }
}

.orb-container {
  width: 23rem;
  height: 23rem;
  display: grid;
  place-items: center;
  perspective: 900px;
  filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.48));
}

.orb {
  width: 13.5rem;
  height: 13.5rem;
  border: 1px solid rgba(113, 230, 255, 0.32);
  background:
    url('/assets/dialoghub-logo.png') center / 5.25rem auto no-repeat,
    radial-gradient(circle at 42% 35%, rgba(30, 227, 204, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(9, 28, 54, 0.86), rgba(5, 12, 28, 0.72)) !important;
  box-shadow:
    0 0 0 1.3rem rgba(20, 184, 166, 0.035),
    0 0 0 2.7rem rgba(47, 87, 255, 0.025),
    0 0 5rem rgba(22, 190, 215, 0.24),
    inset 0 0 3.5rem rgba(33, 111, 255, 0.20) !important;
  animation: agentCoreFloat 7s ease-in-out infinite !important;
  backdrop-filter: blur(16px);
}

.orb::before {
  inset: -1.2rem !important;
  border: 1px solid transparent;
  background: conic-gradient(from 20deg, transparent 0 18%, #19d4c0 25%, transparent 34% 62%, #3178ff 72%, transparent 82%) border-box !important;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 10s linear infinite !important;
  opacity: 0.85 !important;
}

.orb::after {
  top: 50% !important;
  left: 50% !important;
  width: 0.45rem !important;
  height: 0.45rem !important;
  background: #8ff9ee !important;
  box-shadow: 0 0 1.5rem #18d5c1;
  filter: none !important;
  transform: translate(-50%, -50%);
}

@keyframes agentCoreFloat {
  0%, 100% { transform: translateY(0) rotateX(2deg); }
  50% { transform: translateY(-0.65rem) rotateX(-2deg) rotateY(2deg); }
}

.float-badge {
  border-color: rgba(126, 220, 255, 0.18) !important;
  background: linear-gradient(135deg, rgba(8, 18, 38, 0.88), rgba(8, 22, 42, 0.66)) !important;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.34), inset 0 1px rgba(255,255,255,0.08) !important;
}

.hero-value-strip {
  border-color: rgba(89, 190, 216, 0.13) !important;
  background: linear-gradient(115deg, rgba(7, 16, 34, 0.88), rgba(10, 24, 46, 0.64)) !important;
  box-shadow: 0 2rem 5rem -2.4rem rgba(0, 0, 0, 0.72), inset 0 1px rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(18px);
}

/* A second cinematic anchor: the channels become the visible agent operating layer. */
#channels {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #07101f;
}

#channels::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/agent-command-core-v1.webp') center 42% / cover no-repeat;
  opacity: 0.26;
  transform: scaleX(-1);
}

#channels::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45rem 28rem at 48% 42%, rgba(20,184,166,0.12), transparent 68%),
    linear-gradient(90deg, rgba(5,12,27,0.94), rgba(6,15,32,0.72), rgba(5,12,27,0.94));
}

#channels .section-wide { position: relative; }
#channels .feat__eyebrow { color: #57e4d2; }
#channels .feat__h2 { color: #f6fbff; }
#channels .feat__lead { color: rgba(226, 236, 247, 0.62); }
#channels .chan-grid { gap: 0.75rem; }
#channels .chan {
  min-height: 7.1rem;
  justify-content: center;
  border-color: rgba(123, 210, 236, 0.14);
  background: linear-gradient(145deg, rgba(13, 29, 54, 0.82), rgba(8, 19, 39, 0.6));
  box-shadow: 0 1.5rem 3rem -2rem rgba(0,0,0,0.85), inset 0 1px rgba(255,255,255,0.055);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
#channels .chan:hover {
  transform: translateY(-0.3rem);
  border-color: rgba(72, 220, 205, 0.38);
  background: linear-gradient(145deg, rgba(15, 42, 68, 0.9), rgba(8, 24, 45, 0.72));
}
#channels .chan__name { color: #eef7ff; }
#channels .chan__tag { color: #49dec9; }
#channels .chan--soon { opacity: 0.48; }
#channels .chan--soon .chan__tag { color: rgba(226,236,247,0.48); }

/* Long translated industry names must never widen the mobile canvas. */
.branchen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.branche { min-width: 0; }
.branche__name { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .branchen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .branchen-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 1023px) {
  .hero-section::before { background-position: 68% center; opacity: 0.56; }
  .hero-section::after {
    background: linear-gradient(90deg, rgba(4,8,18,0.98), rgba(4,9,20,0.86) 66%, rgba(4,8,18,0.52));
  }
}

@media (max-width: 639px) {
  .hero-section::before { background-position: 60% center; opacity: 0.35; }
  .hero-section::after { background: linear-gradient(180deg, rgba(4,8,18,0.9), rgba(4,8,18,0.97)); }
  #channels::before { opacity: 0.18; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .orb,
  .orb::before,
  .float-badge { animation: none !important; }
  #channels .chan { transition: none; }
}

/* Conversion layer: calm navigation and explicit trial safety, without visual noise. */
.nav-shell { position: relative; }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }
.nav-console-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0.8rem;
  background: rgba(7,17,31,0.44);
  color: rgba(255,255,255,0.84);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.nav-console-link:hover,
.nav-console-link:focus-visible {
  border-color: rgba(45,212,191,0.52);
  background: rgba(13,148,136,0.16);
  color: #fff;
  outline: none;
}
.nav-console-link span { color: #2dd4bf; }
.nav-menu-button {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.9rem;
  color: rgba(255,255,255,0.86);
  background: rgba(8,17,34,0.48);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.nav-menu-button:hover,
.nav-menu-button[aria-expanded="true"] {
  border-color: rgba(71,225,204,0.42);
  background: rgba(13,148,136,0.15);
}
.nav-menu-button:active { transform: scale(0.97); }
.nav-menu-icon,
.nav-menu-icon::before,
.nav-menu-icon::after {
  width: 1.1rem;
  height: 1px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-menu-icon { position: relative; }
.nav-menu-icon::before,
.nav-menu-icon::after { content: ""; position: absolute; left: 0; }
.nav-menu-icon::before { top: -0.35rem; }
.nav-menu-icon::after { top: 0.35rem; }
.nav-menu-button[aria-expanded="true"] .nav-menu-icon { background: transparent; }
.nav-menu-button[aria-expanded="true"] .nav-menu-icon::before { top: 0; transform: rotate(45deg); }
.nav-menu-button[aria-expanded="true"] .nav-menu-icon::after { top: 0; transform: rotate(-45deg); }
.nav-section-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.65rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  border: 1px solid rgba(113,221,217,0.16);
  border-radius: 1.1rem;
  background: rgba(6,14,29,0.96);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.42), inset 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}
.nav-section-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-section-menu a {
  min-width: 0;
  padding: 0.72rem 0.75rem;
  border-radius: 0.75rem;
  color: rgba(234,243,252,0.68);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.nav-section-menu a:hover,
.nav-section-menu a:focus-visible { color: #fff; background: rgba(13,148,136,0.14); outline: none; }
.nav-section-menu a.nav-section-menu__trial { color: #77eee0; background: rgba(13,148,136,0.11); }

.trial-promise {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  max-width: 37rem;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(74,222,198,0.24);
  border-radius: 0.9rem;
  color: rgba(226,249,246,0.76) !important;
  background: linear-gradient(120deg, rgba(13,148,136,0.18), rgba(47,87,255,0.09));
  box-shadow: inset 0 1px rgba(255,255,255,0.04), 0 0.8rem 2.2rem rgba(0,0,0,0.12);
  font-size: 0.72rem !important;
  line-height: 1.45;
}
.trial-promise strong { color: #8ff5e8; font-weight: 800; }
.trial-promise--light {
  color: #46535d !important;
  background: linear-gradient(120deg, rgba(13,148,136,0.11), rgba(47,87,255,0.05));
  border-color: rgba(13,148,136,0.22);
}
.trial-promise--light strong { color: #087e75; }
.trial-promise--center { margin-inline: auto !important; }
.hero-section .trial-promise,
#pricing .trial-promise {
  width: max-content;
  max-width: min(64rem, calc(100vw - 2rem));
  flex-wrap: nowrap;
  white-space: nowrap;
}
#get-started .trial-promise {
  display: flex;
  width: max-content;
  max-width: min(64rem, calc(100vw - 4rem));
  margin-top: 1rem !important;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.trial-trust {
  order: -1;
  border-color: rgba(13,148,136,0.34) !important;
  background: linear-gradient(145deg, #fff, rgba(219,251,247,0.72)) !important;
  box-shadow: 0 1rem 2.5rem -1.5rem rgba(13,148,136,0.45) !important;
}
.trial-trust .pill__title { color: #087e75; }
.trial-inline-highlight { color: #087e75; font-weight: 800; }
#pricing { background: var(--bg) !important; }
#ki-modell { background: var(--bg-alt) !important; }
.conversion-question {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  padding: 0;
  color: #0d9488;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}
.conversion-question:hover { color: #0a746c; }
.conversion-question svg { width: 1rem; height: 1rem; }
#widget .feat__cta {
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(13,148,136,0.18);
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  box-shadow: 0 0.9rem 2.2rem -1rem rgba(13,148,136,0.55), inset 0 1px rgba(255,255,255,0.14);
  transition: gap 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
#widget .feat__cta:hover,
#widget .feat__cta:focus-visible {
  gap: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, #0f9f92, #18c6b2);
  box-shadow: 0 1.15rem 2.6rem -1rem rgba(13,148,136,0.68), inset 0 1px rgba(255,255,255,0.18);
  transform: translateY(-2px);
  outline: none;
}
.cta-dialog { cursor: pointer; }
.cta-dialog-note { display: block; margin-top: 0.45rem; color: var(--text-mute); font-size: 0.65rem; text-align: center; }
.conversion-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 70;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(96,229,211,0.25);
  border-radius: 999px;
  color: #eafffb;
  background: rgba(5,14,29,0.94);
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.35);
  font-size: 0.75rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}
.conversion-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.footer-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.footer-marks img { display: block; height: 5rem; width: auto; object-fit: contain; }
.footer-marks .footer-germany { filter: drop-shadow(0 0 1px rgb(255 255 255 / 65%)); }

@media (max-width: 639px) {
  .nav-console-link { padding-inline: 0.75rem; font-size: 0.69rem; }
  .nav-console-link span { display: none; }
  .nav-section-menu { grid-template-columns: 1fr; max-height: min(70vh, 34rem); overflow-y: auto; }
  .pill-grid--3 { grid-template-columns: 1fr !important; }
  .pill-grid--3 .pill { width: 100%; }
  .trial-promise,
  .hero-section .trial-promise,
  #pricing .trial-promise,
  #get-started .trial-promise {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }
  .conversion-toast { bottom: 5.5rem; border-radius: 1rem; text-align: center; }
}
