/* Additive details; the original layout, palette and typography stay in styles.css. */
.brand img { width: min(219px, 100%); height: auto; margin-left: 0; transform: translateY(-1px); }
@media (min-width: 768px) and (max-width: 900px) {
  .brand img { width: 151px; transform: none; }
}
@media (max-width: 767px) {
  .brand img { width: 148px; transform: none; }
}

#yaklasim .stage-label > .eyebrow::before { content: '01 /'; }
#uzmanlik .stage-label > .eyebrow::before { content: '02 /'; }
#mobil > .branch-name::before { content: '03 /'; }
#sdk-api > .branch-name::before { content: '04 /'; }
#hizmetler .stage-label > .eyebrow::before { content: '05 /'; }
.stage-label > .eyebrow::before, .branch-name::before {
  margin-right: 12px;
  opacity: .48;
  font-variant-numeric: tabular-nums;
}

.info-card .detail-content {
  border: 1px solid #2421221c;
  border-radius: 5px;
  background: #f4f5f142;
  padding: 14px;
}
.info-card details[open] .detail-content,
.company-reasons details[open] > p { animation: detail-reveal .28s ease-out; }
.company-reasons details > p {
  background: #adb6b207;
  border: 1px solid #adb6b21c;
  border-radius: 5px;
  padding: 14px;
  margin-bottom: 14px;
}
details .plus { transition: transform .28s ease; }
details[open] .plus { transform: rotate(180deg); }
.detail-content ul { list-style: none; padding-left: 0; }
.detail-content li, .detail-content dt { position: relative; padding-left: 17px; }
.detail-content li::before, .detail-content dt::before {
  content: '';
  position: absolute;
  left: 1px;
  top: .55em;
  width: 6px;
  height: 6px;
  border: 1px solid #246b6a;
  border-radius: 1px;
  transform: rotate(45deg);
}
.detail-content dd { padding-left: 17px; }
@keyframes detail-reveal {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.tech-marquee {
  position: absolute;
  z-index: 4;
  top: 45px;
  left: 0;
  width: 100%;
  min-height: 32px;
  overflow: hidden;
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .17em;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.tech-marquee-track { display: flex; width: max-content; animation: technology-strip 65s linear infinite; }
.tech-marquee-run { display: flex; align-items: center; flex: 0 0 auto; }
.tech-marquee-run > span { white-space: nowrap; }
.tech-marquee-run > span::after { content: '·'; padding: 0 27px; color: var(--accent); opacity: .65; }
.tech-marquee:hover .tech-marquee-track { animation-play-state: paused; }
@keyframes technology-strip { to { transform: translateX(-50%); } }

.visual-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid #adb6b22e;
  border-radius: 6px;
  color: var(--text);
  background: #242122a6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px #15131426;
  pointer-events: none;
  font-size: 12px;
  line-height: 1.45;
}
.visual-badge > svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--teal); }
.visual-badge strong { display: block; font-weight: 500; }
.visual-badge small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; letter-spacing: .025em; }
.badge-planning { top: 12px; right: 28px; }
.badge-fintech { top: 10px; left: 28px; }
.badge-mobile { top: -82px; left: 0; }
.badge-api { top: 80px; right: 0; display: block; min-width: 208px; }
.badge-api small { margin: 0 0 3px; }
.badge-api code { display: block; font: 11px/1.8 var(--body); color: var(--muted); white-space: nowrap; }
.badge-api code:first-of-type { color: var(--text); }
.badge-api code b { color: var(--teal); font-weight: 600; }
.badge-services { top: 8px; right: 28px; }

.process-flow {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 0;
  list-style: none;
  margin: 28px 0 0 96px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
}
.process-flow li { white-space: nowrap; background: var(--bg); }
.process-flow li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 11px;
  vertical-align: -2px;
  background: var(--teal);
  -webkit-mask: url('assets/arrow-right.svg') center / contain no-repeat;
  mask: url('assets/arrow-right.svg') center / contain no-repeat;
}
.process-flow--mobile { display: none; }

.email-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.email-copy[hidden] { display: none; }
.email-copy:hover, .email-copy[data-copy-state=success] { color: var(--accent); background: #adb6b20a; }
.email-copy > svg { width: 16px; height: 16px; }
.copy-feedback {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  padding: 5px 9px;
  border: 1px solid #adb6b22e;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.copy-feedback:empty { display: none; }
.contact-links, .footer-offices { position: relative; }
.contact-links > .email-copy { position: absolute; left: calc(50% + 82px); top: 50%; transform: translateY(-50%); }
.footer-offices > .email-copy { position: absolute; left: 146px; bottom: 0; }

@media (max-width: 1100px) and (min-width: 768px) {
  .process-flow { font-size: 11px; }
  .process-flow li:not(:last-child)::after { margin-inline: 6px; }
}
@media (max-width: 767px) {
  .stage-label > .eyebrow::before, .branch-name::before { margin-right: 8px; }
  .tech-marquee { top: 28px; font-size: 8px; }
  .tech-marquee-run > span::after { padding-inline: 16px; }
  .visual-badge { padding: 9px 12px; gap: 9px; font-size: 11px; }
  .visual-badge > svg { width: 22px; height: 22px; }
  .visual-badge small { font-size: 9px; }
  .badge-planning, .badge-fintech, .badge-services { top: 6px; left: 55px; right: auto; }
  .badge-mobile { top: 0; left: 55px; }
  #sdk-api { scroll-margin-top: 30px; }
  .badge-api { top: -30px; left: 55px; right: auto; min-width: 0; }
  .badge-api code { font-size: 10px; line-height: 1.45; }
  .process-flow--desktop { display: none; }
  .process-flow--mobile { display: flex; margin-left: 0; font-size: 11px; }
  .process-flow li:not(:last-child)::after { margin-inline: 6px; }
  .contact-links > .email-copy { left: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-marquee-track { animation: none; }
  .info-card details[open] .detail-content, .company-reasons details[open] > p { animation: none; }
}
