/* ============================================================
   KULLANIM SENARYOLARI — dark tabbed use-case section
   electric blue accent · phone chat mockup · entry animations
   ============================================================ */
.uc {
  --uc-bg: #0a1326;
  --uc-accent: #4F6EF7;
  background: transparent;
  color: #fff;
  position: relative;
}
/* contained, rounded banner — like the top/CTA banner, with a grid texture */
.uc__banner {
  position: relative;
  border-radius: clamp(20px, 3vw, 32px);
  background: var(--uc-bg);
  padding: clamp(40px, 5.5vw, 72px) clamp(26px, 4.5vw, 60px);
  overflow: hidden;
  box-shadow: 0 44px 100px -46px rgba(0,0,0,0.7);
}
/* faint grid lines */
.uc__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: none;
}
/* faint ambient glow */
.uc__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 420px at 88% -8%, color-mix(in oklab, var(--uc-accent) 22%, transparent), transparent 60%),
    radial-gradient(640px 420px at -6% 108%, color-mix(in oklab, var(--uc-accent) 12%, transparent), transparent 60%);
}
.uc__banner > * { position: relative; z-index: 1; }
.uc > .uc__banner { position: relative; z-index: 1; }

.uc .eyebrow { color: var(--uc-accent); }
.uc .eyebrow::before { background: var(--uc-accent); }
.uc .h-section { color: #fff; }
.uc__head { max-width: 760px; margin-bottom: clamp(34px, 4.5vw, 56px); }

/* ---------------- tab bar ---------------- */
.uc__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: clamp(32px, 4.5vw, 56px);
  overflow-x: auto;
  scrollbar-width: none;
  /* entry: slide in from top */
  transform: translateY(-20px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.uc__tabs::-webkit-scrollbar { display: none; }
.uc__tab {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  font-size: clamp(15px, 1.5vw, 16.5px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  transition: color .25s;
}
.uc__tab:hover { color: rgba(255,255,255,0.82); }
.uc__tab.is-active { color: #fff; }
.uc__tab-emoji { font-size: 18px; line-height: 1; }
.uc__tab-ic { display: inline-flex; align-items: center; }
.uc__tab-spark {
  margin-left: 6px;
  font-size: 12px;
  color: var(--uc-accent);
  display: inline-block;
  transform-origin: center;
  text-shadow: 0 0 8px var(--uc-accent);
  animation: ucTabSpark 1.5s ease-in-out infinite;
}
.uc__tab.is-active .uc__tab-spark { animation: none; opacity: 0; }
.uc__tab-sparks { position: relative; display: inline-block; width: 0; height: 0; vertical-align: middle; }
.uc__tab-sparks i {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: var(--uc-accent);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  filter: drop-shadow(0 0 4px var(--uc-accent));
  transform-origin: center;
  animation: ucTabSpark 1.5s ease-in-out infinite;
  animation-delay: var(--d);
}
.uc__tab-sparks i::before { content: ""; }
.uc__tab.is-active .uc__tab-sparks i { animation: none; opacity: 0; }
@keyframes ucTabSpark {
  0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.55; }
  50%      { transform: scale(1.4) rotate(90deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .uc__tab-spark, .uc__tab-sparks i { animation: none; opacity: 1; }
}
.uc__tab-ic svg {
  width: 18px; height: 18px; display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.uc__underline {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--uc-accent);
  box-shadow: 0 0 12px var(--uc-accent);
  transform: translateX(0);
  transition: transform .3s ease, width .3s ease;
}

/* ---------------- two-column body ---------------- */
.uc__body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.uc__body[hidden] { display: none; }

/* left column */
.uc__left {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .3s ease;
}
.uc__headline {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0 0 26px;
  color: #fff;
  text-wrap: balance;
}
.uc__examples { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 17px; }
.uc__ex {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.uc__ex:last-child { border-bottom: none; padding-bottom: 0; }
.uc__q { font-style: italic; color: rgba(255,255,255,0.5); font-size: 15px; line-height: 1.4; }
.uc__a { color: #fff; font-size: 15px; line-height: 1.45; display: flex; gap: 9px; align-items: flex-start; }
.uc__a-ic { color: var(--uc-accent); font-weight: 700; flex: none; }
.uc__metric {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--uc-accent) 16%, transparent);
  border: 1px solid color-mix(in oklab, var(--uc-accent) 45%, transparent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.uc__metric::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--uc-accent);
  box-shadow: 0 0 10px var(--uc-accent);
}

/* fade transition on tab switch */
.uc__left, .uc__chat { will-change: opacity; }
.uc__body.is-fading .uc__left,
.uc__body.is-fading .uc__chat { opacity: 0; }

/* ---------------- 5th tab: live-call invitation ---------------- */
.uc__call {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  transition: opacity .25s ease;
}
.uc__call[hidden] { display: none; }
.uc__call.is-fading { opacity: 0; }

.uc__call-left { display: flex; flex-direction: column; }
.uc__call-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--uc-accent);
  margin-bottom: 14px;
}
.uc__call-headline {
  font-size: clamp(1.375rem, 2.1vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
  color: #fff;
  text-wrap: balance;
}
.uc__call-sub {
  margin: 0 0 30px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  text-wrap: pretty;
}
.uc__call-number {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
  transform-origin: left center;
}
.uc__call-number-ic {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 48px);
  height: clamp(40px, 4.4vw, 48px);
  flex: none;
  border-radius: 14px;
  color: var(--uc-accent);
  background: color-mix(in oklab, var(--uc-accent) 16%, transparent);
  border: 1px solid color-mix(in oklab, var(--uc-accent) 38%, transparent);
}
.uc__call-number-ic svg { width: 55%; height: 55%; }
/* hover number OR button -> number accent + scale */
.uc__call-number:hover,
.uc__call:has(.uc__call-btn:hover) .uc__call-number {
  color: var(--uc-accent);
  transform: scale(1.03);
}
.uc__call-caption {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}
.uc__call-proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin: 26px 0 0;
  padding: 9px 15px 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
}
.uc__call-proof b { color: #fff; font-weight: 600; }
.uc__call-proof-ic { display: grid; place-items: center; width: 16px; height: 16px; color: var(--uc-accent); flex: none; }
.uc__call-proof-ic svg { width: 100%; height: 100%; }

/* right column: pulsing call button + radar rings */
.uc__call-right { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; }
.uc__call-hint {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.uc__call-hint::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--uc-accent);
  box-shadow: 0 0 10px var(--uc-accent);
}
.uc__call-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(80px, 9vw, 96px);
  height: clamp(80px, 9vw, 96px);
  border-radius: 50%;
  background: var(--uc-accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 50px -18px var(--uc-accent), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transform: scale(0);
}
.uc__call-btn-ic { position: relative; z-index: 2; width: 42%; height: 42%; display: grid; place-items: center; }
.uc__call-btn-ic svg { width: 100%; height: 100%; }
.uc__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--uc-accent);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* entry animations for the call tab (triggered by JS class) */
.uc__call.is-call-active .uc__call-left { animation: ucCallLeftIn .5s ease-out both; }
.uc__call.is-call-active .uc__call-btn {
  animation: ucCallPop .6s cubic-bezier(.34,1.56,.64,1) both,
             ucCallPulse 2s ease-in-out .6s infinite;
}
.uc__call.is-call-active .uc__ring { animation: ucCallRipple 2.4s ease-out infinite; }
.uc__call.is-call-active .uc__ring:nth-child(1) { animation-delay: .6s; }
.uc__call.is-call-active .uc__ring:nth-child(2) { animation-delay: 1.2s; }
.uc__call.is-call-active .uc__ring:nth-child(3) { animation-delay: 1.8s; }

@keyframes ucCallLeftIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ucCallPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
@keyframes ucCallPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes ucCallRipple {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------------- right column: phone ---------------- */
.uc__right { display: flex; justify-content: center; }
.uc__phone {
  width: min(216px, 56vw);
  aspect-ratio: 308 / 624;
  background: #060b18;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 42px;
  padding: 11px;
  box-shadow:
    0 50px 90px -34px rgba(0,0,0,.8),
    inset 0 1px 0 rgba(255,255,255,0.08);
  /* entry: scale up */
  transform: scale(.9);
  opacity: 0;
  transition: transform .4s ease-out, opacity .4s ease-out;
}
.uc__phone-screen {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg, #0d1730, #0a1224);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.uc__phone-top { height: 30px; display: grid; place-items: center; flex: none; }
.uc__phone-notch { width: 92px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.18); }
.uc__phone-hd {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex: none;
}
.uc__phone-av {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--uc-accent), #8a6bff);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.uc__phone-hd b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.uc__phone-av img { width: 64%; height: 64%; object-fit: contain; filter: brightness(0) invert(1); }
.uc__phone-hd span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.55); }
.uc__phone-hd span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34e3a3; box-shadow: 0 0 8px #34e3a3; }

.uc__chat {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity .25s ease;
}
.uc__chat::-webkit-scrollbar { display: none; }

.uc__row { display: flex; }
.uc__row--cust { justify-content: flex-start; }
.uc__row--bot { justify-content: flex-end; }
.uc__bubble {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.42;
  opacity: 0;
  transform: translateY(9px) scale(.97);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
.uc__row.in .uc__bubble { opacity: 1; transform: none; }
.uc__row--cust .uc__bubble {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 5px;
}
.uc__row--bot .uc__bubble {
  background: var(--uc-accent);
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 8px 22px -10px var(--uc-accent);
}
/* typing indicator */
.uc__typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity .2s ease;
}
.uc__row--bot .uc__typing { background: color-mix(in oklab, var(--uc-accent) 30%, transparent); }
.uc__typing.in { opacity: 1; }
.uc__typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  animation: ucDot 1s infinite ease-in-out;
}
.uc__typing span:nth-child(2) { animation-delay: .15s; }
.uc__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ucDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---------------- entry (intersection observer adds .is-in) ---------------- */
.uc.is-in .uc__tabs { transform: translateY(0); opacity: 1; }
.uc.is-in .uc__left { transform: translateX(0); opacity: 1; }
.uc.is-in .uc__phone { transform: scale(1); opacity: 1; }

/* ---------------- responsive ---------------- */
@media (max-width: 860px) {
  .uc__body { grid-template-columns: 1fr; gap: 44px; }
  .uc__left { order: 1; }
  .uc__right { order: 2; }
  /* call tab: phone animation sits between the copy and the number */
  .uc__call {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .uc__call-left { display: contents; }
  .uc__call-label { order: 1; }
  .uc__call-headline { order: 2; }
  .uc__call-sub { order: 3; max-width: 52ch; }
  .uc__call-right { order: 4; margin: 4px 0 26px; }
  .uc__call-number { order: 5; align-self: center; transform-origin: center; }
  .uc__call-caption { order: 6; }
  .uc__call-proof { order: 7; align-self: center; }
}

/* ---- mobile (B): telefon ana sahne, tek hikâye ---- */
@media (max-width: 768px) {
  /* desktop'taki asimetrik inline padding'i mobilde nötrle */
  .uc__banner { padding: 30px 18px !important; }

  /* pill / chip tab bar — yatay kaydırmalı, aktif ortalı */
  .uc__tabs {
    gap: 8px;
    border-bottom: none;
    margin-bottom: 22px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 50%;
    -webkit-overflow-scrolling: touch;
  }
  .uc__tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
  }
  .uc__tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--uc-accent), #7b86ff);
    border-color: transparent;
    box-shadow: 0 8px 20px -10px var(--uc-accent);
  }
  .uc__underline { display: none; }

  /* başlık + metrik = telefonun üstünde kompakt şerit; Q&A telefona taşınır */
  .uc__body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .uc__body > .uc__left, .uc__body > .uc__right { min-width: 0; }
  .uc__left {
    order: 1;
    padding: 0 !important;
    text-align: center;
    align-items: center;
    transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .3s ease;
  }
  .uc__examples { display: none !important; }
  .uc__headline { font-size: 1.3rem; margin: 0 0 14px; }
  .uc__metric { align-self: center; }

  /* telefon ana sahne */
  .uc__right { order: 2; padding: 0 !important; }
  .uc__phone { width: 100%; max-width: 320px; }
  .uc__chat { height: auto !important; padding: 16px 13px 18px; }

  /* tab geçişinde fade + hafif slide */
  .uc__body.is-fading .uc__left { transform: translateY(6px); }

  /* "Daha fazla gör" sohbet içi buton */
  .uc__more-row { display: flex; justify-content: center; padding: 6px 0 2px; }
  .uc__more {
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--uc-accent) 22%, transparent);
    border: 1px solid color-mix(in oklab, var(--uc-accent) 55%, transparent);
    transition: background .2s ease, transform .15s ease;
  }
  .uc__more:hover { background: color-mix(in oklab, var(--uc-accent) 32%, transparent); }
  .uc__more:active { transform: scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  /* disable scroll-tied entrances, but keep decorative loops (typing dots,
     call-button pulse + ripple) running */
  .uc__tabs, .uc__left, .uc__phone { transform: none !important; opacity: 1 !important; transition: none !important; }
  .uc__bubble { opacity: 1 !important; transform: none !important; }
  .uc__call-left { opacity: 1 !important; transform: none !important; }
}
