/* --- 4sightly teaser (dynamic) — true edge-to-edge, no gaps --- */
.section--4sightly {
  padding: calc(var(--space) * 0.6) 0;
  overflow: hidden;
  max-width: none;
  background: transparent;
  --foresight-accent: #6bdcff;
  --foresight-magenta: #ff8bd4;
  --foresight-border: rgba(107, 215, 255, 0.35);
  --foresight-glow: rgba(107, 215, 255, 0.22);
  --foresight-text: rgba(236, 246, 252, 0.95);
}
.section--4sightly::before {
  display: none;
}
.section--4sightly .teaser-dynamic {
  width: 100%;
  margin: 0;
}
.teaser-dynamic {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  min-height: 22rem;
}
.teaser-dynamic--field {
  position: relative;
  min-height: 26rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.teaser-dynamic--field::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(231, 199, 123, 0.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(127, 166, 163, 0.22), transparent 60%),
    linear-gradient(120deg, rgba(14, 34, 40, 0.8), rgba(8, 22, 26, 0.9));
  opacity: 0.45;
  animation: field-swell 20s ease-in-out infinite;
  pointer-events: none;
}
.teaser-dynamic--field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(231, 199, 123, 0.15) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.06;
  animation: dot-drift 18s linear infinite;
  pointer-events: none;
}
.teaser-frame {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: inherit;
  overflow: hidden;
  min-height: inherit;
}
.teaser-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  border: none;
}
.teaser-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0%, rgba(231, 199, 123, 0.08) 45%, transparent 60%);
  opacity: 0.14;
  transform: translateX(-60%);
  animation: sweep-glow 14s ease-in-out infinite;
  pointer-events: none;
}
.opinion-field {
  width: 100%;
  height: 100%;
  display: block;
}
.teaser-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 86rem;
  margin: 0 auto;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  align-content: center;
  gap: calc(var(--space) * 1.2);
  padding: calc(var(--space) * 0.9) calc(var(--space) * 1.5);
}
.teaser-layout::before {
  display: none;
}
.teaser-left {
  max-width: 28rem;
  position: relative;
  z-index: 1;
}
.teaser-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(214, 232, 246, 0.7);
  margin-bottom: 1rem;
}
.teaser-kicker::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--foresight-accent), transparent);
  opacity: 0.8;
}
.teaser-right {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.teaser-left::before {
  display: none;
}
.teaser-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  letter-spacing: 0.2em;
  color: var(--foresight-text);
  text-shadow: 0 0 24px rgba(107, 215, 255, 0.18);
}
.teaser-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 199, 123, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(231, 199, 123, 0.9);
  margin-bottom: 1rem;
}
.teaser-body {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: rgba(242, 239, 232, 0.75);
  line-height: 1.7;
}
.teaser-preview {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(231, 199, 123, 0.2);
  background: rgba(8, 16, 19, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.65);
}
.teaser-preview--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--foresight-border);
  background: linear-gradient(120deg, rgba(107, 215, 255, 0.2), rgba(255, 139, 212, 0.2));
  color: rgba(240, 248, 255, 0.92);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.teaser-preview--cta:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 215, 255, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 28px rgba(107, 215, 255, 0.3);
}
.teaser-preview--cta:focus-visible {
  outline: 1px solid var(--foresight-border);
  outline-offset: 3px;
}
.teaser-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.teaser-preview--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(242, 239, 232, 0.9);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.teaser-preview--secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--cream);
}
.teaser-preview--secondary:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}
.teaser-console {
  width: min(56rem, 96%);
  position: relative;
  display: grid;
  gap: 1.1rem;
  align-items: center;
}
.question-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 3.4rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 246, 250, 0.34);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 2;
  transition: border-color 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}
.question-bar::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(120deg, transparent, rgba(98, 205, 255, 0.2), rgba(220, 120, 255, 0.2), transparent);
  transform: translateX(-40%);
  animation: scanline 7s var(--ease-in-out-quart) infinite;
  pointer-events: none;
}
.question-bar.is-active {
  border-color: rgba(164, 214, 255, 0.5);
  box-shadow: 0 0 40px rgba(98, 205, 255, 0.22), 0 14px 32px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(164, 214, 255, 0.08);
  animation: console-pulse 3s var(--ease-in-out-quart) infinite;
}
@keyframes console-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(98, 205, 255, 0.22), 0 14px 32px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(164, 214, 255, 0.08); }
  50% { box-shadow: 0 0 52px rgba(98, 205, 255, 0.28), 0 14px 32px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(164, 214, 255, 0.12); }
}
.question-icon {
  position: static;
  font-size: 1.7rem;
  line-height: 1;
  color: rgba(230, 238, 244, 0.9);
  opacity: 0.9;
}
.question-text {
  position: relative;
  display: block;
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foresight-text);
  opacity: 1;
  transition: opacity 0.6s ease;
  white-space: normal;
  line-height: 1.6;
  min-height: 1.6em;
}
.question-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 0.2rem;
  background: rgba(248, 250, 252, 0.88);
  vertical-align: -0.2em;
  animation: caret-blink 1.1s steps(2, start) infinite;
  border-radius: 1px;
}
.question-text--fade {
  opacity: 0;
}
.question-text--fade::after {
  opacity: 0;
}
.question-text--current {
  opacity: 1;
}
/* Semantic highlights: refined, less neon — premium inline chips */
.question-text .semantic-blue {
  color: #6bdcff;
  text-shadow: 0 0 12px rgba(107, 220, 255, 0.35);
  font-weight: 500;
}
.question-text .semantic-pink {
  color: #ff8bd4;
  text-shadow: 0 0 12px rgba(255, 139, 212, 0.35);
  font-weight: 500;
}
.question-text .semantic-purple {
  color: #b58cff;
  text-shadow: 0 0 12px rgba(181, 140, 255, 0.35);
  font-weight: 500;
}
.question-text .semantic-teal {
  color: #62f7d3;
  text-shadow: 0 0 12px rgba(98, 247, 211, 0.35);
  font-weight: 500;
}
.question-text .semantic-amber {
  color: #ffd36b;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
  font-weight: 500;
}
@keyframes caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes sweep-glow {
  0% { transform: translateX(-60%); opacity: 0; }
  40% { opacity: 0.4; }
  70% { opacity: 0.2; }
  100% { transform: translateX(60%); opacity: 0; }
}
@keyframes field-swell {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.06); opacity: 0.75; }
}
@keyframes dot-drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 12px); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 900px) {
  .teaser-dynamic--field {
    min-height: 22rem;
  }
  .teaser-layout {
    grid-template-columns: 1fr;
    padding: calc(var(--space) * 0.9) calc(var(--space) * 1.1);
  }
  .teaser-right {
    justify-content: flex-start;
  }
  .teaser-console {
    width: 100%;
  }
  .question-bar {
    border-radius: 18px;
    min-height: 3.4rem;
    padding: 0.8rem 1.1rem;
  }
  .question-icon {
    font-size: 1.45rem;
  }
  .question-text {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .teaser-kicker {
    letter-spacing: 0.18em;
  }
}
