@font-face {
  font-family: "Revamped";
  src: url("../../01-Kurumsal%20Kimlik/Revamped.otf") format("opentype");
  font-display: swap;
}

:root {
  --turcomac-red: #c82430;
  --turcomac-deep: #8b111b;
  --graphite: #18191c;
  --steel: #505359;
  --mist: #dededb;
  --paper: #f4f3ef;
  --white: #ffffff;
  --online: #16885b;
  --shadow: 0 24px 70px rgba(19, 20, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--graphite);
  background: var(--paper);
  font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid #ffb1b7;
  outline-offset: 3px;
}

.kiosk {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 25, 28, 0.045) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(rgba(24, 25, 28, 0.035) 1px, transparent 1px) 0 0 / 88px 88px,
    var(--paper);
}

.topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 92px;
  padding: 18px clamp(24px, 3vw, 58px);
  border-bottom: 1px solid rgba(24, 25, 28, 0.16);
  background: rgba(244, 243, 239, 0.94);
}

.brand {
  position: relative;
  display: block;
  width: min(250px, 28vw);
  height: 48px;
  overflow: hidden;
}

.brand img {
  position: absolute;
  top: -52px;
  left: -10px;
  display: block;
  width: 269px;
  max-width: none;
  height: auto;
}

.demo-status {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 9px;
  margin-right: 32px;
  color: var(--steel);
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-status strong {
  grid-column: 2;
  color: var(--graphite);
  font-weight: 700;
}

.status-light {
  grid-row: 1 / 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 6px rgba(22, 136, 91, 0.12);
}

.language-switcher {
  display: flex;
  border: 1px solid var(--graphite);
  background: var(--white);
}

.language-button {
  min-width: 49px;
  min-height: 43px;
  border: 0;
  border-right: 1px solid rgba(24, 25, 28, 0.18);
  background: transparent;
  cursor: pointer;
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}

.language-button:last-child {
  border-right: 0;
}

.language-button.is-active {
  color: var(--white);
  background: var(--graphite);
}

.progress-rail {
  position: absolute;
  z-index: 30;
  top: 91px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(24, 25, 28, 0.1);
}

.progress-rail span {
  display: block;
  width: 8%;
  height: 100%;
  background: var(--turcomac-red);
  transition: width 420ms ease;
}

.stage {
  display: grid;
  grid-template-columns: minmax(540px, 57%) 1fr;
  height: calc(100vh - 92px);
}

.dialogue-panel {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  margin: clamp(26px, 4vh, 54px) 0 clamp(24px, 4vh, 50px) clamp(24px, 4vw, 72px);
  padding: clamp(28px, 3.2vw, 56px);
  border: 1px solid rgba(24, 25, 28, 0.2);
  border-left: 8px solid var(--turcomac-red);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 24px;
  color: var(--steel);
  font-family: Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-count {
  color: var(--turcomac-red);
  font-weight: 700;
}

.step-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: currentColor;
}

.question-block {
  max-width: 780px;
  margin-top: clamp(18px, 2.5vh, 34px);
}

.question-block h1 {
  max-width: 760px;
  margin: 0;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(38px, 4vw, 67px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.question-block p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--steel);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.55;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3.4vh, 45px);
}

.answer-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: clamp(80px, 10vh, 106px);
  padding: 15px 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 25, 28, 0.2);
  border-radius: 2px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.answer-card::after {
  position: absolute;
  content: "";
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--turcomac-red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 180ms ease;
}

.answer-card:hover {
  border-color: var(--graphite);
  transform: translateY(-2px);
}

.answer-card:hover::after {
  transform: scaleY(1);
}

.answer-card strong,
.answer-card small {
  display: block;
}

.answer-card strong {
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.1;
}

.answer-card small {
  margin-top: 7px;
  color: var(--steel);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

.answer-index {
  color: var(--turcomac-red);
  font-family: Revamped, Consolas, monospace;
  font-size: 20px;
}

.answer-arrow {
  font-size: 22px;
  transition: transform 180ms ease;
}

.answer-card:hover .answer-arrow {
  transform: translateX(4px);
}

.interaction-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: clamp(20px, 3vh, 36px);
}

.voice-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 24px 10px 12px;
  border: 0;
  color: var(--white);
  background: var(--graphite);
  cursor: pointer;
  text-align: left;
}

.voice-button strong,
.voice-button small {
  display: block;
}

.voice-button strong {
  font-size: 15px;
}

.voice-button small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
}

.mic-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--turcomac-red);
}

.mic-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.voice-button.is-listening .mic-icon {
  animation: mic-pulse 900ms ease-in-out infinite;
}

.reset-button {
  align-self: center;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(24, 25, 28, 0.35);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.robot-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #d5d5d2;
}

.robot-stage::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0.42;
  background:
    repeating-linear-gradient(120deg, transparent 0 34px, rgba(24, 25, 28, 0.07) 35px 36px),
    linear-gradient(150deg, transparent 0 56%, rgba(255, 255, 255, 0.85) 56% 57%, transparent 57%);
}

.machine-halo {
  position: absolute;
  z-index: 1;
  top: 9%;
  left: 50%;
  width: min(38vw, 610px);
  aspect-ratio: 1;
  transform: translateX(-50%);
}

.halo-core,
.halo-orbit {
  position: absolute;
  border-radius: 50%;
}

.halo-core {
  inset: 18%;
  border: 1px solid rgba(24, 25, 28, 0.24);
  background: rgba(255, 255, 255, 0.22);
}

.halo-core::before,
.halo-core::after {
  position: absolute;
  content: "";
  background: rgba(24, 25, 28, 0.22);
}

.halo-core::before {
  top: 50%;
  left: -18%;
  width: 136%;
  height: 1px;
}

.halo-core::after {
  top: -18%;
  left: 50%;
  width: 1px;
  height: 136%;
}

.halo-orbit {
  border: 2px solid transparent;
  border-top-color: var(--turcomac-red);
  border-right-color: rgba(24, 25, 28, 0.28);
  animation: orbit-spin 14s linear infinite;
}

.orbit-one {
  inset: 5%;
}

.orbit-two {
  inset: 13%;
  animation-direction: reverse;
  animation-duration: 20s;
}

.turcoman {
  --speech-level: 0;
  position: absolute;
  z-index: 4;
  right: -5%;
  bottom: -30%;
  width: auto;
  height: 132%;
  aspect-ratio: 1144 / 2048;
  max-width: none;
  filter: drop-shadow(-24px 28px 30px rgba(24, 25, 28, 0.28));
  transform-origin: 55% 72%;
  animation: robot-breathe 5.2s ease-in-out infinite;
}

.turcoman-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.digital-face {
  position: absolute;
  z-index: 2;
  top: 8.8%;
  left: 41%;
  width: 14%;
  aspect-ratio: 1.45;
  transform: rotate(-1.5deg);
  border-radius: 45% 42% 40% 44%;
  overflow: hidden;
  filter: drop-shadow(0 0 7px rgba(255, 107, 118, 0.65));
  pointer-events: none;
}

.face-eye,
.face-mouth {
  position: absolute;
  display: block;
  background: #fff4f4;
  box-shadow: 0 0 5px #fff, 0 0 12px rgba(255, 74, 87, 0.95);
}

.face-eye {
  top: 29%;
  width: 24%;
  height: 7%;
  border-radius: 999px;
  animation: face-blink 5.4s ease-in-out infinite;
}

.face-eye-left {
  left: 18%;
  transform: rotate(4deg);
}

.face-eye-right {
  right: 16%;
  transform: rotate(-4deg);
}

.face-mouth {
  top: 67%;
  left: 50%;
  width: 31%;
  height: 8%;
  transform: translateX(-50%) scaleY(0.35);
  transform-origin: center;
  border-radius: 50%;
  opacity: 0.78;
  transition: width 160ms ease, opacity 160ms ease, transform 70ms linear;
}

.turcoman[data-state="listening"] .face-eye {
  height: 13%;
  background: #ff5f6b;
  animation: face-listen 800ms ease-in-out infinite alternate;
}

.turcoman[data-state="thinking"] .face-eye-left {
  animation: face-think-left 650ms ease-in-out infinite alternate;
}

.turcoman[data-state="thinking"] .face-eye-right {
  animation: face-think-right 650ms ease-in-out infinite alternate;
}

.turcoman[data-state="speaking"] .face-mouth {
  width: 36%;
  opacity: 1;
  transform: translateX(-50%) scaleY(calc(0.6 + (var(--speech-level) * 5.5)));
}

.turcoman[data-state="thinking"] {
  animation: robot-think 700ms ease-in-out infinite alternate;
}

.turcoman[data-state="listening"] {
  animation: robot-listen 950ms ease-in-out infinite alternate;
}

.turcoman[data-state="speaking"] {
  animation: robot-speak 1.4s ease-in-out infinite;
}

.robot-message {
  position: absolute;
  z-index: 8;
  top: clamp(28px, 5vh, 72px);
  left: clamp(20px, 2.5vw, 42px);
  width: min(330px, 72%);
  padding: 18px 22px;
  border-left: 5px solid var(--turcomac-red);
  color: var(--white);
  background: rgba(24, 25, 28, 0.94);
  box-shadow: 12px 16px 35px rgba(24, 25, 28, 0.2);
}

.robot-message span {
  color: #ff7b84;
  font-family: Revamped, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.robot-message p {
  margin: 9px 0 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.45;
}

.robot-telemetry {
  position: absolute;
  z-index: 7;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(24, 25, 28, 0.55);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.robot-telemetry i {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.82fr);
  gap: 18px;
}

.machine-card {
  padding: 25px;
  border: 1px solid rgba(24, 25, 28, 0.2);
  background: var(--paper);
}

.machine-badge {
  display: inline-flex;
  padding: 6px 9px;
  color: var(--white);
  background: var(--turcomac-red);
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.machine-card h2 {
  margin: 20px 0 10px;
  font-size: clamp(28px, 2.7vw, 45px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.machine-card p {
  margin: 0;
  color: var(--steel);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 9px;
  font-size: 13px;
}

.feature-list li::before {
  content: "—";
  color: var(--turcomac-red);
}

.video-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  opacity: 0.88;
}

.video-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}

.video-caption strong,
.video-caption small {
  display: block;
}

.video-caption small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 16px;
}

.primary-action,
.secondary-action {
  min-height: 62px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.primary-action {
  padding: 12px 22px;
  color: var(--white);
  background: var(--turcomac-red);
}

.secondary-action {
  padding: 12px 18px;
  border: 1px solid var(--graphite);
  background: var(--white);
}

.disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--steel);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;
}

.lead-panel {
  position: fixed;
  z-index: 100;
  inset: clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 50px;
  padding: clamp(36px, 6vw, 92px);
  color: var(--white);
  background: var(--graphite);
  box-shadow: 0 0 0 100vmax rgba(24, 25, 28, 0.68);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 400ms cubic-bezier(0.76, 0, 0.24, 1), opacity 200ms ease;
}

.lead-panel.is-open {
  clip-path: inset(0);
  opacity: 1;
  pointer-events: auto;
}

.panel-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 32px;
}

.panel-kicker {
  color: #ff8b93;
  font-family: Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-copy h2 {
  max-width: 760px;
  margin: 22px 0;
  font-size: clamp(46px, 6vw, 94px);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.lead-copy > p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.lead-points {
  display: flex;
  gap: 25px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.lead-points span {
  color: #ff8b93;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.lead-points strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-family: Bahnschrift, sans-serif;
  font-size: 14px;
}

.qr-wrap {
  display: grid;
  justify-items: center;
  padding: 28px;
  color: var(--graphite);
  background: var(--white);
  text-align: center;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  width: min(250px, 24vw);
  aspect-ratio: 1;
  margin-bottom: 22px;
  padding: 12px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--mist);
}

.qr-code i {
  background: transparent;
}

.qr-code i.is-dark {
  background: var(--graphite);
}

.qr-wrap strong,
.qr-wrap small {
  display: block;
}

.qr-wrap strong {
  font-size: 18px;
}

.qr-wrap small {
  margin-top: 7px;
  color: var(--steel);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  min-width: min(460px, calc(100vw - 40px));
  padding: 16px 22px;
  color: var(--white);
  background: var(--graphite);
  box-shadow: 0 16px 40px rgba(24, 25, 28, 0.25);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

[dir="rtl"] .answer-card {
  grid-template-columns: auto 1fr 34px;
  text-align: right;
}

@keyframes robot-breathe {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-8px) rotate(0.25deg); }
}

@keyframes robot-think {
  from { transform: rotate(-0.6deg) translateY(-4px); }
  to { transform: rotate(0.9deg) translateY(-8px); }
}

@keyframes robot-listen {
  from { transform: scale(1) translateY(-3px); }
  to { transform: scale(1.012) translateY(-9px); }
}

@keyframes robot-speak {
  0%, 100% { transform: translateY(-4px); }
  35% { transform: translateY(-10px) rotate(0.45deg); }
  70% { transform: translateY(-6px) rotate(-0.25deg); }
}

@keyframes face-blink {
  0%, 46%, 50%, 100% { opacity: 1; }
  48% { opacity: 0.08; }
}

@keyframes face-listen {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes face-think-left {
  from { transform: translateY(-2px) rotate(8deg); }
  to { transform: translateY(2px) rotate(-5deg); }
}

@keyframes face-think-right {
  from { transform: translateY(2px) rotate(-8deg); }
  to { transform: translateY(-2px) rotate(5deg); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 36, 48, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(200, 36, 48, 0); }
}

@media (max-width: 1100px) {
  .stage {
    grid-template-columns: minmax(520px, 64%) 1fr;
  }

  .turcoman {
    right: -13%;
    bottom: -28%;
    width: auto;
    height: 128%;
  }

  .result-layout {
    grid-template-columns: 1fr;
  }

  .video-card {
    display: none;
  }
}

@media (max-width: 820px) {
  body {
    overflow: auto;
  }

  .kiosk {
    min-height: 100svh;
    height: auto;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .demo-status {
    display: none;
  }

  .progress-rail {
    top: 91px;
  }

  .stage {
    display: block;
    min-height: calc(100svh - 92px);
    height: auto;
  }

  .dialogue-panel {
    min-height: calc(100svh - 120px);
    margin: 20px;
    padding: 28px 24px;
  }

  .robot-stage {
    position: absolute;
    inset: 92px 0 0;
    opacity: 0.12;
    pointer-events: none;
  }

  .question-block h1 {
    font-size: clamp(38px, 10vw, 56px);
  }

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

  .interaction-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .voice-button {
    width: 100%;
  }

  .lead-panel {
    position: fixed;
    inset: 12px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 26px 28px;
    overflow-y: auto;
  }

  .lead-copy h2 {
    font-size: 49px;
  }

  .lead-points {
    flex-wrap: wrap;
  }

  .qr-code {
    width: 210px;
  }
}

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