/* Gerçek kullanım hikâyeleri: sekmeler + 3B telefon + sayılar */
.st__grid {
  margin-top: clamp(28px, 5vh, 48px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, 330px) minmax(0, .62fr);
  gap: clamp(20px, 3vw, 48px); align-items: start;
}

.st__tabs { display: grid; border-top: 1px solid var(--line); }
.st__tab {
  position: relative; display: grid; gap: 4px; text-align: left; cursor: pointer;
  padding: 16px 0 18px; background: none; border: 0; border-bottom: 1px solid var(--line);
}
.st__who { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.st__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.18; letter-spacing: -.015em; color: var(--ink-2); transition: color .25s; }
.st__sum { font-size: 15px; color: var(--ink-2); }
.st__bar { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--teal-deep); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.st__tab[aria-selected="true"] .st__title, .st__tab:hover .st__title { color: var(--ink); }
.js .st__sum { display: grid; grid-template-rows: 0fr; overflow: hidden; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s; }
.js .st__sum { min-height: 0; }
.js .st__tab[aria-selected="true"] .st__sum { display: block; opacity: 1; }
.js .st__tab:not([aria-selected="true"]) .st__sum { display: none; }

/* --- telefon --- */
.st__stage { perspective: 1500px; display: grid; justify-items: center; }
.phone {
  --ry: -15deg; --rx: 5deg;
  width: min(100%, 310px); aspect-ratio: 9 / 18; padding: 9px;
  background: linear-gradient(145deg, #3a4049, #0b0d10 42%, #262b33);
  border-radius: 40px;
  transform: rotateY(var(--ry)) rotateX(var(--rx)); transform-style: preserve-3d;
  transition: transform .9s var(--ease);
  box-shadow: 0 0 0 1px #4b525d inset, 26px 34px 50px -26px rgba(20, 23, 28, .55), 6px 8px 14px -6px rgba(20, 23, 28, .4);
}
.phone__screen { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 31px; background: #EFEAE2; color: var(--wa-ink); }
.chat__bar { display: flex; align-items: center; gap: 9px; padding: 26px 12px 9px; background: #F0F2F5; border-bottom: 1px solid #dfe3e6; }
.chat__avatar { width: 32px; height: 32px; flex: none; }
.chat__bar strong { display: block; font-size: 14px; line-height: 1.2; }
.chat__bar small { display: block; font-size: 11.5px; color: var(--wa-meta); }
.chat { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 10px 9px 12px; display: flex; flex-direction: column; gap: 6px; }
.chat::-webkit-scrollbar { display: none; }
.chat > :first-child { margin-top: auto; }

.b { max-width: 88%; padding: 6px 9px 7px; border-radius: 9px; font-size: 13px; line-height: 1.36; box-shadow: 0 1px .5px rgba(17, 27, 33, .14); animation: b-in .3s var(--ease) both; }
.b--u { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.b--a { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.b__att { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; padding: 6px 8px; border-radius: 6px; background: rgba(17, 27, 33, .06); font-size: 12px; font-weight: 600; }
.b__att svg { width: 18px; height: 18px; flex: none; }
.b__att--xlsx svg { color: #1D6F42; }
.b__att--pdf svg { color: #C0352B; }
.b__att--voice svg, .b__att--file svg { color: var(--teal-deep); }
.b--typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.b--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5ad; animation: dot 1s infinite; }
.b--typing i:nth-child(2) { animation-delay: .15s; }
.b--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes b-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* --- sayılar --- */
.st__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.st__facts + .st__facts { margin-top: 24px; }
.js .st__facts { display: none; margin-top: 0; }
.js .st__facts.is-on { display: grid; animation: b-in .4s var(--ease) both; }
.st__facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.st__facts dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st__facts dd { margin-top: 2px; font-size: 14px; color: var(--ink-2); }

.st__io { margin-top: clamp(32px, 6vh, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 4vw, 56px); border-top: 1px solid var(--line); padding-top: 18px; }
.st__io dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.st__io dd { margin-top: 4px; font-size: 16px; }

@media (max-width: 900px) {
  .st__grid { grid-template-columns: minmax(0, 1fr); }
  .js .st__tabs {
    display: flex; gap: 10px; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .js .st__tabs::-webkit-scrollbar { display: none; }
  .js .st__tab {
    flex: 0 0 min(80vw, 330px); scroll-snap-align: center; align-content: start;
    padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--card);
  }
  .js .st__tab[aria-selected="true"] { border-color: var(--ink); }
  .js .st__tab .st__sum, .js .st__tab:not([aria-selected="true"]) .st__sum { display: block; opacity: 1; font-size: 14px; }
  .st__bar { bottom: 0; border-radius: 0 0 var(--r-2) var(--r-2); }
  .phone { --ry: -9deg; --rx: 3deg; width: min(78vw, 300px); }
  .st__facts { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .st__facts div { padding: 0 10px 0 0; border-bottom: 0; }
  .st__facts dt { font-size: 1.3rem; }
  .st__facts dd { font-size: 12.5px; }
  .st__io { grid-template-columns: 1fr; gap: 14px; }
}
