/* Nasıl çalışır rehberleri: örnek arayüz çerçeveleri ve akış animasyonları */

.bioto-guide-showcase {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  border-radius: 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: linear-gradient(165deg, #fff 0%, #f8fafc 45%, #f1f5f9 100%);
  box-shadow: 0 18px 50px -24px rgb(15 23 42 / 0.25);
  overflow: hidden;
}

.bioto-demo-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgb(15 23 42);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bioto-demo-dots {
  display: flex;
  gap: 0.35rem;
}
.bioto-demo-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgb(71 85 105);
}
.bioto-demo-dots span:first-child { background: #f87171; }
.bioto-demo-dots span:nth-child(2) { background: #fbbf24; }
.bioto-demo-dots span:nth-child(3) { background: #4ade80; }

.bioto-demo-body {
  padding: 1rem 1.1rem 1.25rem;
}

/* Yatay akış */
.bioto-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.25rem;
  margin-top: 0.75rem;
}

.bioto-flow-step {
  flex: 1 1 4.5rem;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  animation: bioto-flow-in 0.55s ease forwards;
}
.bioto-flow-step:nth-child(1) { animation-delay: 0.05s; }
.bioto-flow-step:nth-child(2) { animation-delay: 0.22s; }
.bioto-flow-step:nth-child(3) { animation-delay: 0.38s; }
.bioto-flow-step:nth-child(4) { animation-delay: 0.52s; }
.bioto-flow-step:nth-child(5) { animation-delay: 0.66s; }

@keyframes bioto-flow-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bioto-flow-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.35rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid rgb(226 232 240);
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.06);
}

.bioto-flow-step p {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(71 85 105);
  line-height: 1.25;
}

.bioto-flow-arrow {
  display: none;
}
@media (min-width: 520px) {
  .bioto-flow-arrow {
    display: flex;
    align-items: center;
    color: rgb(148 163 184);
    font-size: 0.85rem;
    padding-top: 1.25rem;
    animation: bioto-pulse-arrow 1.6s ease-in-out infinite;
  }
}
@keyframes bioto-pulse-arrow {
  0%, 100% { opacity: 0.35; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

/* Sohbet baloncukları */
.bioto-chat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.bioto-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bioto-bubble-in 0.5s ease forwards;
}
.bioto-bubble:nth-child(1) { animation-delay: 0.1s; }
.bioto-bubble:nth-child(2) { animation-delay: 0.35s; }
.bioto-bubble:nth-child(3) { animation-delay: 0.6s; }
.bioto-bubble:nth-child(4) { animation-delay: 0.85s; }

@keyframes bioto-bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

.bioto-bubble--in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgb(226 232 240);
  color: rgb(51 65 85);
}

.bioto-bubble--out {
  align-self: flex-end;
  background: rgb(220 252 231);
  border: 1px solid rgb(134 239 172);
  color: rgb(21 128 61);
}

/* NFC telefon + kart */
.bioto-nfc-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.bioto-phone {
  width: 6.5rem;
  height: 11rem;
  border-radius: 1.1rem;
  border: 3px solid rgb(51 65 85);
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  position: relative;
  box-shadow: 0 12px 30px rgb(15 23 42 / 0.35);
}

.bioto-phone-notch {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 0.35rem;
  background: #000;
  border-radius: 9999px;
}

.bioto-phone-screen {
  position: absolute;
  inset: 1.1rem 0.45rem 0.55rem;
  background: #fff;
  border-radius: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: bioto-screen-glow 2.4s ease-in-out infinite;
}

@keyframes bioto-screen-glow {
  0%, 100% { box-shadow: inset 0 0 0 0 rgb(16 185 129 / 0); }
  50% { box-shadow: inset 0 0 0 3px rgb(16 185 129 / 0.35); }
}

.bioto-nfc-card {
  width: 5.5rem;
  height: 3.4rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgb(79 70 229 / 0.45);
  animation: bioto-card-tap 2.6s ease-in-out infinite;
}

@keyframes bioto-card-tap {
  0%, 100% { transform: translateX(0) rotate(-2deg); }
  45% { transform: translateX(-18px) rotate(0deg) scale(1.02); }
  55% { transform: translateX(-22px) scale(1.04); }
}

/* Menü satırları */
.bioto-menu-rows {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bioto-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  background: #fff;
  border-radius: 0.65rem;
  border: 1px solid rgb(226 232 240);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgb(30 41 59);
  opacity: 0;
  animation: bioto-row-in 0.45s ease forwards;
}
.bioto-menu-row:nth-child(1) { animation-delay: 0.08s; }
.bioto-menu-row:nth-child(2) { animation-delay: 0.2s; }
.bioto-menu-row:nth-child(3) { animation-delay: 0.32s; }

@keyframes bioto-row-in {
  to { opacity: 1; }
}

.bioto-menu-row span:last-child {
  color: rgb(37 99 235);
  font-weight: 800;
}

.bioto-table-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgb(241 245 249);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(71 85 105);
}

/* Kurye zaman çizgisi */
.bioto-timeline {
  margin-top: 0.65rem;
  position: relative;
  padding-left: 1.35rem;
  border-left: 3px solid rgb(226 232 240);
}

.bioto-tl-item {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgb(51 65 85);
  opacity: 0;
  animation: bioto-flow-in 0.5s ease forwards;
}
.bioto-tl-item:nth-child(1) { animation-delay: 0.1s; }
.bioto-tl-item:nth-child(2) { animation-delay: 0.28s; }
.bioto-tl-item:nth-child(3) { animation-delay: 0.46s; }
.bioto-tl-item:nth-child(4) { animation-delay: 0.62s; }

.bioto-tl-item::before {
  content: '';
  position: absolute;
  left: -1.54rem;
  top: 0.2rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: rgb(251 146 60);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgb(254 215 170);
}

.bioto-tl-item--done::before {
  background: rgb(34 197 94);
  box-shadow: 0 0 0 2px rgb(187 247 208);
}

/* Aidat kartları */
.bioto-aidat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.bioto-aidat-cell {
  background: #fff;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.55rem;
  padding: 0.45rem 0.35rem;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgb(71 85 105);
}

.bioto-aidat-cell strong {
  display: block;
  font-size: 0.72rem;
  color: rgb(30 41 59);
  margin-top: 0.15rem;
}

.bioto-aidat-bar {
  margin-top: 0.65rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: rgb(226 232 240);
  overflow: hidden;
}

.bioto-aidat-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  animation: bioto-bar-fill 2s ease-out 0.3s forwards;
}

@keyframes bioto-bar-fill {
  to { width: 72%; }
}

/* Otopark */
.bioto-plate {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.15em;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  background: #fff;
  border: 2px solid rgb(51 65 85);
  border-radius: 0.35rem;
  display: inline-block;
  margin: 0.35rem 0;
}

.bioto-timer {
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  font-weight: 900;
  color: rgb(37 99 235);
  animation: bioto-timer-blink 1s step-end infinite;
}

@keyframes bioto-timer-blink {
  50% { opacity: 0.65; }
}

/* CRM harita */
.bioto-map {
  margin-top: 0.5rem;
  height: 7rem;
  border-radius: 0.75rem;
  background: linear-gradient(160deg, #dbeafe 0%, #e0e7ff 50%, #fce7f3 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(226 232 240);
}

.bioto-pin {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 9999px 9999px 9999px 0;
  transform: rotate(-45deg);
  background: rgb(225 29 72);
  box-shadow: 0 4px 10px rgb(225 29 72 / 0.4);
  animation: bioto-pin-float 3s ease-in-out infinite;
}
.bioto-pin:nth-of-type(1) { left: 18%; top: 38%; animation-delay: 0s; }
.bioto-pin:nth-of-type(2) { left: 48%; top: 22%; animation-delay: 0.4s; }
.bioto-pin:nth-of-type(3) { left: 72%; top: 55%; animation-delay: 0.8s; }

@keyframes bioto-pin-float {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-4px); }
}

/* Muhasebe çubukları */
.bioto-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 5.5rem;
  margin-top: 0.65rem;
  padding: 0 0.25rem;
}

.bioto-bar {
  flex: 1;
  max-width: 2.25rem;
  margin: 0 auto;
  width: 100%;
  border-radius: 0.35rem 0.35rem 0 0;
  background: linear-gradient(180deg, rgb(52 211 153), rgb(16 185 129));
  transform: scaleY(0);
  transform-origin: bottom;
  animation: bioto-bar-grow 0.8s ease forwards;
}
.bioto-bars .bioto-bar:nth-child(1) { height: 38%; }
.bioto-bars .bioto-bar:nth-child(2) { height: 62%; }
.bioto-bars .bioto-bar:nth-child(3) { height: 48%; }
.bioto-bars .bioto-bar:nth-child(4) { height: 72%; }
.bioto-bar:nth-child(1) { animation-delay: 0.1s; }
.bioto-bar:nth-child(2) { animation-delay: 0.22s; }
.bioto-bar:nth-child(3) { animation-delay: 0.34s; }
.bioto-bar:nth-child(4) { animation-delay: 0.46s; }
.bioto-bar--red {
  background: linear-gradient(180deg, rgb(251 113 133), rgb(244 63 94));
}

@keyframes bioto-bar-grow {
  to { transform: scaleY(1); }
}

.bioto-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
  margin-top: 0.35rem;
}

.bioto-caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(71 85 105);
  line-height: 1.5;
}

/* Rehber merkezi (index) — hafif hareketli özet şeridi */
.bioto-hub-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.bioto-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  color: rgb(51 65 85);
  text-decoration: none;
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.06);
  animation: bioto-hub-pop 3s ease-in-out infinite;
}

.bioto-hub-pill:nth-child(1) { animation-delay: 0s; }
.bioto-hub-pill:nth-child(2) { animation-delay: 0.15s; }
.bioto-hub-pill:nth-child(3) { animation-delay: 0.3s; }
.bioto-hub-pill:nth-child(4) { animation-delay: 0.45s; }
.bioto-hub-pill:nth-child(5) { animation-delay: 0.6s; }
.bioto-hub-pill:nth-child(6) { animation-delay: 0.75s; }
.bioto-hub-pill:nth-child(7) { animation-delay: 0.9s; }
.bioto-hub-pill:nth-child(8) { animation-delay: 1.05s; }

@keyframes bioto-hub-pop {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 14px rgb(15 23 42 / 0.06); }
  50% { transform: translateY(-3px); box-shadow: 0 10px 22px rgb(15 23 42 / 0.1); }
}

.bioto-hub-pill:hover {
  border-color: rgb(59 130 246);
  color: rgb(29 78 216);
}
