/* Ana sayfa: AI öncelikli yapı. Ortak değişkenler ve tipografi system.css'te. */

.home-ai main section { scroll-margin-top: 90px; }
:where(.home-ai main) p { font-size: 16px; line-height: 1.7; color: var(--body); }

/* ---------- Hero ---------- */
.ai-hero {
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(44px, 5.5vw, 76px) clamp(48px, 6vw, 88px);
}
.ai-hero-inner { padding-inline: max(var(--gutter), calc((100% - 1216px) / 2)); }
.ai-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.ai-hero-side { padding-top: 0.6em; }
.ai-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
.ai-hero-sub {
  display: block;
  margin-top: 0.3em;
  font-size: 0.6em;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--lilac);
}
.ai-hero-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--on-navy-2);
  max-width: 34em;
}
.ai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 28px;
}
.ai-hero-actions .button { margin-top: 0; }
.ai-hero-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--on-navy);
  text-decoration: underline;
  text-decoration-color: rgba(201, 204, 255, 0.5);
  text-underline-offset: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ai-hero-link:hover { text-decoration-color: var(--lilac); }

/* ---------- Hero akışı (imza) ---------- */
.hf {
  margin-top: clamp(40px, 5vw, 68px);
  padding-top: 18px;
  border-top: 1px solid rgba(201, 204, 255, 0.14);
}
.hf-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
}
.hf-caption {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-navy-2);
}
.hf-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(201, 204, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--on-navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.hf-replay svg { width: 16px; height: 16px; }
.hf-replay:hover { border-color: var(--lilac); }

.hf-track {
  --hf-gap: clamp(20px, 2.6vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hf-gap);
  margin-top: 18px;
  padding-top: 46px;
}
.hf-rail {
  position: absolute;
  top: 5px;
  left: 6px;
  right: 0;
  height: 2px;
  background: rgba(164, 168, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.hf-signal {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--indigo-300), var(--lilac));
  transform-origin: left center;
  transform: scaleX(var(--hf-progress, 1));
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hf-col { position: relative; min-width: 0; }
.hf-label {
  position: absolute;
  top: -46px;
  left: 0;
  margin: 0;
  padding-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-navy-2);
  white-space: nowrap;
  transition: color 300ms ease;
}
.hf-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--lilac);
  transition: background 300ms ease, border-color 300ms ease;
}
.hf-col.is-active .hf-label,
.hf:not(.is-playing) .hf-label { color: #fff; }
.hf-col.is-active .hf-label::before,
.hf:not(.is-playing) .hf-label::before { background: var(--lilac); }
.hf.is-playing .hf-col:not(.is-active) .hf-label::before { border-color: rgba(164, 168, 255, 0.35); }

.hf-message {
  margin-top: 14px;
  padding: 16px 18px;
  background: #f4f5ff;
  color: var(--ink);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 10px 30px rgba(3, 8, 20, 0.35);
}
.hf-message p { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 500; }
.hf-message span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

.hf-ai { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.hf-maskot {
  grid-row: span 2;
  width: clamp(72px, 7vw, 104px);
  height: auto;
  margin-top: 6px;
  filter: drop-shadow(0 12px 18px rgba(3, 8, 20, 0.45));
  transform-origin: 50% 90%;
}
.hf-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hf-steps li {
  position: relative;
  padding-left: 30px;
  transition: opacity 400ms ease;
}
.hf-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--indigo);
  transition: background 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hf-steps li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 6px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: opacity 200ms ease;
}
.hf-steps strong { display: block; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.35; }
.hf-steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--on-navy-2); }
.hf.is-playing .hf-steps li:not(.is-done) { opacity: 0.7; }
.hf.is-playing .hf-steps li:not(.is-done)::before { background: transparent; box-shadow: inset 0 0 0 2px rgba(164, 168, 255, 0.5); transform: scale(0.85); }
.hf.is-playing .hf-steps li:not(.is-done)::after { opacity: 0; }

.hf-card {
  margin-top: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px 18px;
  box-shadow: 0 10px 30px rgba(3, 8, 20, 0.35);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease;
}
.hf.is-playing .hf-out:not(.is-active) .hf-card { opacity: 0.4; transform: translateY(6px); }
.hf-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.hf-card-head strong { font-size: 15px; font-weight: 600; }
.hf-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff3dc;
  color: #7a4a00;
  font-size: 13px;
  font-weight: 600;
  transition: background 300ms ease, color 300ms ease;
}
.hf-status.is-approved { background: #e3f6ea; color: #14622f; }
.hf-card-title { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
.hf-card dl { margin: 12px 0 0; display: grid; gap: 6px; }
.hf-card dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid #edf0f4; font-size: 14px; }
.hf-card dt { color: var(--muted); }
.hf-card dd { margin: 0; font-weight: 600; text-align: right; }
.hf-approve {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--indigo);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.hf-approve:hover { background: var(--indigo-600); }
.hf-approve:active { transform: scale(0.98); }
.hf-approve:disabled { background: #e3f6ea; color: #14622f; cursor: default; }

@media (prefers-reduced-motion: no-preference) {
  .hf.is-playing .hf-ai.is-active .hf-maskot { animation: hf-work 700ms ease-in-out 3; }
}
@keyframes hf-work {
  0%, 100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-5px) rotate(-3deg); }
}

/* ---------- Bölüm temeli ---------- */
.section-block { padding-block: clamp(64px, 8vw, 112px); background: #fff; }
.how-head,
.usecase-head,
.also-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
}
.how-head h2,
.usecase-head h2,
.also-head h2,
.about-copy h2,
.faq-grid h2,
.contact-copy h2 { margin: 0; }
.how-head p,
.usecase-head p,
.also-head p { margin: 0; max-width: 34em; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: var(--indigo-700);
}
.arrow-link .arrow { width: 18px; height: 18px; transition: transform 150ms ease; }
.arrow-link:hover .arrow { transform: translateX(3px); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--indigo); color: var(--indigo-700); }

/* ---------- Nasıl çalışır ---------- */
.how-phases {
  list-style: none;
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: 34px 0 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.how-phases::before,
.how-phases::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 6px;
  right: 0;
  height: 2px;
  border-radius: 2px;
}
.how-phases::before { background: #e4e6f7; }
.how-phases::after {
  background: linear-gradient(90deg, var(--indigo), var(--indigo-300));
  transform-origin: left center;
  transform: scaleX(var(--how-progress, 1));
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-phase { position: relative; }
.how-phase::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 5px #fff;
  z-index: 1;
}
.how-phase:last-child::before { background: #fff; border: 2px solid var(--indigo); }
.how-phase h3 { margin: 0; }
.how-phase h3 .how-when { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--indigo-700); }
.how-phase p:last-child { margin: 12px 0 0; max-width: 32em; }

.how-rules {
  list-style: none;
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 3.5vw, 48px);
}
.how-rules li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.how-rules svg { width: 28px; height: 28px; color: var(--indigo); }
.how-rules strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.how-rules p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; }
.how .arrow-link { margin-top: 36px; }

/* ---------- Örnek işler (koyu) ---------- */
.home-ai .example {
  background: #111e32;
  color: var(--on-navy);
  padding-block: clamp(64px, 8vw, 112px);
}
.home-ai .example h2,
.home-ai .example h3 { color: #fff; }
.home-ai .usecase-head p { color: var(--on-navy-2); }
.home-ai .demo {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 60px);
  align-items: start;
}
.home-ai .demo-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  grid-template-columns: none;
}
.home-ai .demo-tabs button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--on-navy-2);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 200ms ease;
}
.home-ai .demo-tabs button:hover { color: #fff; }
.home-ai .demo-tabs button[aria-pressed="true"] { color: #fff; background: transparent; border: 0; }
.tab-indicator {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  background: rgba(164, 168, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(164, 168, 255, 0.28);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), width 260ms cubic-bezier(0.16, 1, 0.3, 1), height 260ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.home-ai .example .demo-panel { padding: 0; border: 0; background: none; box-shadow: none; min-height: 0; border-radius: 0; }
.home-ai .example .scenario > div { display: block; border: 0; padding: 0; font-size: inherit; }
.home-ai .example .scenario dd { text-align: left; }
.home-ai .demo-panel h3 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22em;
}
@media (prefers-reduced-motion: no-preference) {
  .home-ai .demo-panel:not([hidden]) { animation: panel-in 320ms cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.scenario { margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.scenario dt { font-size: 14px; font-weight: 600; color: var(--lilac); }
.scenario dd { margin: 8px 0 0; font-size: 16px; line-height: 1.65; color: #d5dcea; }
.mini-rail {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}
.mini-rail li {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding-left: 18px;
}
.mini-rail li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lilac);
}
.mini-rail li:not(:last-child)::after {
  content: "";
  width: 36px;
  height: 2px;
  margin: 0 12px;
  background: rgba(164, 168, 255, 0.35);
  border-radius: 2px;
}
.home-ai .scenario-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--lilac);
}
.home-ai .scenario-link .arrow { width: 18px; height: 18px; transition: transform 150ms ease; }
.home-ai .scenario-link:hover .arrow { transform: translateX(3px); }

/* ---------- Mobil ve web ---------- */
.also.section-block { background: var(--paper); }
.also-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 5vw, 56px);
}
.also-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
}
.also-item h3 { margin: 22px 0 0; }
.also-item > p { margin: 10px 0 0; max-width: 32em; }
.also-item > .arrow-link,
.also-links { margin-top: auto; padding-top: 18px; }
.also-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.also-visual { margin: 0; }
.also-media {
  position: relative;
  height: clamp(220px, 22vw, 280px);
  border-radius: 14px;
  background: #eef0f7;
  overflow: hidden;
}
.also-visual figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}
.also-mobile { display: flex; justify-content: center; align-items: flex-start; gap: 18px; padding-top: 22px; }
.also-mobile img {
  width: clamp(120px, 12vw, 168px);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 27, 46, 0.18);
}
.also-mobile img:last-of-type { margin-top: 28px; }
.also-web img:first-of-type {
  position: absolute;
  left: 7%;
  top: 22px;
  width: 78%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(16, 27, 46, 0.16);
}
.also-web .also-phone {
  position: absolute;
  right: 6%;
  top: 46px;
  width: 21%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(16, 27, 46, 0.22);
}

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-copy p { margin: 22px 0 0; max-width: 30em; }
.about-copy .arrow-link { margin-top: 14px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(24px, 3vw, 40px);
}
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-size: 14px; font-weight: 600; color: var(--indigo-700); }
.steps h3 { margin: 6px 0 0; font-size: 19px; }
.steps p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }

/* ---------- SSS ---------- */
.home-ai .faq-section {
  display: block;
  padding-block: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
  grid-template-columns: none;
}
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
}
.faq-icon::after { transform: rotate(90deg); }
.home-ai .faq-list summary { font-size: 17px; font-weight: 600; min-height: 44px; }
.home-ai .faq-list p { font-size: 16px; line-height: 1.7; color: var(--body); }

/* ---------- İletişim ---------- */
.home-ai .contact-section { background: var(--lavender); padding-block: clamp(64px, 8vw, 112px); }
.home-ai .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.home-ai #iletisim .contact-copy > p:not(.contact-place) { margin: 20px 0 0; max-width: 30em; font-size: 17px; line-height: 1.65; color: #3a4460; }
.next-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.contact-maskot { flex: none; width: clamp(72px, 7vw, 96px); height: auto; margin-bottom: 4px; filter: drop-shadow(0 10px 16px rgba(52, 58, 160, 0.22)); }
.home-ai #brief-form .form-note { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: none; }
.next-steps { list-style: none; margin: 32px 0 0; padding: 0; position: relative; display: grid; gap: 18px; }
.next-steps::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: #cfd2fb;
}
.next-steps li { position: relative; padding-left: 28px; }
.next-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px var(--lavender);
}
.next-steps strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.next-steps span { display: block; margin-top: 2px; font-size: 15px; color: var(--body); }
.home-ai .email { margin-top: 30px; font-size: 17px; font-weight: 600; color: var(--indigo-700); min-height: 44px; gap: 10px; }
.home-ai .email .arrow { width: 18px; height: 18px; }
.contact-place { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.home-ai #brief-form {
  background: #fff;
  border-radius: 20px;
  padding: clamp(20px, 2.6vw, 32px);
  box-shadow: 0 1px 0 rgba(16, 27, 46, 0.04), 0 20px 50px rgba(52, 58, 160, 0.10);
}

/* ---------- Kırılımlar ---------- */
@media (max-width: 1000px) {
  .ai-hero-copy { grid-template-columns: 1fr; align-items: start; }
  .ai-hero-lead { max-width: 40em; }
  .how-head, .usecase-head, .also-head { grid-template-columns: 1fr; }
  .home-ai .demo { grid-template-columns: 1fr; }
  .home-ai .demo-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; }
  .home-ai .demo-tabs button { scroll-snap-align: start; }
  .home-ai .demo-tabs::-webkit-scrollbar { display: none; }
  .home-ai .demo-tabs button { flex: none; white-space: nowrap; }
  .about-grid, .faq-grid, .home-ai .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hf-track { grid-template-columns: 1fr; gap: 30px; padding-top: 0; padding-left: 26px; }
  .hf-rail { top: 6px; bottom: 6px; left: 5px; right: auto; width: 2px; height: auto; }
  .hf-signal { transform-origin: center top; transform: scaleY(var(--hf-progress, 1)); }
  .hf-label { position: relative; top: auto; left: auto; margin: 0 0 0 -26px; padding: 0 0 0 26px; }
  .hf-label::before { top: 3px; }
  .hf-ai { grid-template-columns: minmax(0, 1fr) auto; }
  .hf-ai .hf-label { grid-column: 1 / -1; }
  .hf-maskot { grid-column: 2; grid-row: 2; width: 76px; margin-top: 0; }
  .hf-steps { grid-column: 1; grid-row: 2; }
  .how-rules { grid-template-columns: 1fr; }
  .scenario { grid-template-columns: 1fr; }
  .also-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ai-hero h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .ai-hero-lead { font-size: 17px; }
  .ai-hero-actions { margin-top: 22px; }
  .ai-hero-actions .button { width: 100%; justify-content: space-between; }
  .how-phases { grid-template-columns: 1fr; padding: 0 0 0 28px; gap: 32px; }
  .how-phases::before, .how-phases::after { top: 6px; bottom: 6px; left: 5px; right: auto; width: 2px; height: auto; }
  .how-phases::after { transform-origin: center top; transform: scaleY(var(--how-progress, 1)); }
  .how-phase::before { top: 4px; left: -28px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .also-mobile img { width: 38%; }
}
@media (max-width: 480px) {
  .mini-rail { flex-direction: column; flex-wrap: nowrap; gap: 12px; position: relative; }
  .mini-rail::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: rgba(164, 168, 255, 0.35); }
  .mini-rail li:not(:last-child)::after { display: none; }
  .mini-rail li::before { z-index: 1; }
}

/* ---------- Görsel bölümler: yazı yerine örnek belge, tablo ve süreç ---------- */
.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.chip-ok { background: #e3f6ea; color: #14622f; }
.chip-wait { background: #fff3dc; color: #7a4a00; }
.chip-new { background: var(--lavender); color: var(--indigo-700); }
.chip-neutral { background: #f1f2f6; color: #3b4557; }

.ba { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.35fr); align-items: center; gap: 20px; }
.ba-label { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--lilac); }
.ba-scraps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.ba-scraps li { display: grid; gap: 2px; max-width: 100%; padding: 10px 14px; border: 1px dashed rgba(169, 173, 255, 0.4); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: #d5dcea; font-size: 15px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.ba-scraps li:nth-child(1) { transform: rotate(-1.5deg); }
.ba-scraps li:nth-child(2) { margin-left: 22px; transform: rotate(1deg); }
.ba-scraps li:nth-child(3) { margin-left: 8px; transform: rotate(-0.5deg); }
.ba-scraps small { font-size: 12px; font-weight: 600; color: var(--on-navy-2); }
.ba-arrow { width: 28px; height: 28px; color: var(--lilac); margin-top: 26px; }
.ba-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 6px 18px; box-shadow: 0 10px 30px rgba(3, 8, 20, 0.35); overflow-x: auto; }
.ba-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.ba-table th { padding: 10px 10px 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; font-weight: 600; color: #4f5a79; white-space: nowrap; }
.ba-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid #edf0f4; color: var(--body); }
.ba-table tr:last-child td { border-bottom: 0; }
.ba-table td:first-child { font-weight: 600; color: var(--ink); }
.ba-table th:last-child, .ba-table td:last-child { padding-right: 0; text-align: right; }
.ba-qa { padding: 16px 18px 18px; }
.ba-q { width: fit-content; max-width: 88%; margin: 0 0 0 auto; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--lavender); font-size: 14px; font-weight: 600; line-height: 1.45; }
.ba-a { margin: 14px 0 0; font-size: 14px; line-height: 1.55; }
.ba-a small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: #4f5a79; }
.ba-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px; border-radius: 999px; background: #f1f2f6; font-size: 12px; font-weight: 600; color: #3b4557; }
.ba-src svg { width: 14px; height: 14px; }
.ba-note { margin: 14px 0 0; font-size: 12px; letter-spacing: 0.02em; color: var(--on-navy-2); }

.steps.steps-rail { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 30px; }
.steps-rail::before { content: ""; position: absolute; left: 5px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px; background: linear-gradient(var(--indigo), var(--indigo-300)); }
.steps-rail li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 0; border-bottom: 1px solid var(--line); }
.steps-rail li:first-child { border-top: 1px solid var(--line); }
.steps-rail li::before { content: ""; position: absolute; left: -30px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 5px #fff; }
.steps-rail li:last-child::before { background: #fff; border: 2px solid var(--indigo); }
.steps-rail h3 { margin: 0; font-size: 19px; }
.step-tag { padding: 4px 12px; border-radius: 999px; background: var(--lavender); color: var(--indigo-700); font-size: 13px; font-weight: 600; white-space: nowrap; }
.steps-note { margin: 14px 0 0 30px; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .ba { grid-template-columns: 1fr; gap: 14px; }
  .ba-arrow { margin: 0; transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .ba-card { padding-inline: 14px; }
  .ba-table td:nth-child(2), .ba-table th:nth-child(2) { display: none; }
  .steps-rail h3 { font-size: 17px; }
}

/* ---------- Canlı sahne: gerçek panel, maskot ve adım adım dolan kartlar ---------- */
.lv-stage { margin-top: clamp(48px, 6vw, 72px); background: var(--navy); border-radius: 28px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lv-steps { display: grid; gap: 10px; }
.lv-step { position: relative; display: block; width: 100%; text-align: left; border: 0; background: transparent; color: var(--on-navy-2); padding: 20px 20px 22px 52px; border-radius: 16px; font: inherit; cursor: pointer; transition: background 300ms ease, color 300ms ease; }
.lv-step::before { content: ""; position: absolute; left: 20px; top: 25px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--lilac); }
.lv-step:hover { color: #fff; }
.lv-step[aria-selected="true"] { background: rgba(169, 173, 255, 0.09); color: #fff; }
.lv-step[aria-selected="true"]::before { background: var(--lilac); }
.lv-when { display: block; font-size: 14px; font-weight: 600; color: var(--lilac); }
.lv-step strong { display: block; margin-top: 4px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: inherit; line-height: 1.2; }
.lv-bar { position: absolute; left: 52px; right: 20px; bottom: 10px; height: 2px; border-radius: 2px; background: rgba(169, 173, 255, 0.18); overflow: hidden; opacity: 0; }
.lv-step[aria-selected="true"] .lv-bar { opacity: 1; }
.lv-bar i { display: block; height: 100%; width: 0; background: var(--lilac); }
.lv-bar i.is-running { animation: lv-fill 7s linear forwards; }
.lv-stage:hover .lv-bar i.is-running { animation-play-state: paused; }
@keyframes lv-fill { to { width: 100%; } }
.lv-note { grid-column: 1 / -1; margin: 0; font-size: 12px; letter-spacing: 0.02em; color: var(--on-navy-2); }
.lv-scene { position: relative; min-width: 0; }
.lv-window { position: relative; border-radius: 16px; background: #f6f7fa; box-shadow: 0 24px 60px rgba(3, 8, 20, 0.5); overflow: hidden; }
.lv-window-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #e9ebf1; }
.lv-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cdd6; }
.lv-window-bar span { margin-left: 10px; font-size: 12px; font-weight: 600; color: #4f5a79; }
.lv-shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; filter: saturate(0.85) brightness(0.95); }
.lv-card { position: absolute; right: 22px; bottom: 22px; width: min(380px, calc(100% - 44px)); background: #fff; border-radius: 18px; padding: 18px 20px 10px; box-shadow: 0 18px 44px rgba(16, 27, 46, 0.28); opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.98); transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 450ms; }
.lv-card.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lv-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-bottom: 6px; }
.lv-card-head strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.lv-tag { font-size: 12px; letter-spacing: 0.02em; color: #4f5a79; }
.lv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f4; font-size: 15px; font-weight: 600; color: var(--ink); transition: opacity 400ms ease; }
.lv-k { font-size: 14px; font-weight: 500; color: var(--muted); }
.lv-tick, .lv-cross { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; border-radius: 50%; }
.lv-tick { background: var(--indigo); transition: background 300ms ease; }
.lv-tick::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); transition: opacity 300ms ease; }
.lv-cross { background: #f1f2f6; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.lv-cross::before, .lv-cross::after { content: ""; position: absolute; width: 9px; height: 2px; border-radius: 1px; background: #6b7487; transform: rotate(45deg); }
.lv-cross::after { transform: rotate(-45deg); }
.lv-meter { position: relative; flex: 1; max-width: 150px; height: 8px; border-radius: 999px; background: #eceefb; }
.lv-meter b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), var(--indigo-300)); transition: width 1200ms cubic-bezier(0.16, 1, 0.3, 1); }
.lv-cap { position: absolute; top: -4px; bottom: -4px; right: 0; width: 2px; border-radius: 1px; background: #7a4a00; }
/* Oynarken henüz sırası gelmemiş satırlar soluk durur; oynamıyorsa her şey tamamlanmış görünür. */
.lv-stage.is-playing .lv-row:not(.is-done) { opacity: 0.25; }
.lv-stage.is-playing .lv-row:not(.is-done) .lv-tick { background: #e4e6f7; }
.lv-stage.is-playing .lv-row:not(.is-done) .lv-tick::after { opacity: 0; }
.lv-stage.is-playing .lv-row:not(.is-done) .lv-meter b { width: 0 !important; }
.lv-mascot { position: absolute; left: -44px; bottom: -26px; z-index: 2; width: 104px; height: auto; filter: drop-shadow(0 12px 18px rgba(3, 8, 20, 0.45)); }
.lv-typing { position: absolute; left: 44px; bottom: 70px; z-index: 2; display: flex; gap: 4px; padding: 8px 10px; background: #fff; border-radius: 12px 12px 12px 4px; box-shadow: 0 8px 20px rgba(16, 27, 46, 0.2); opacity: 0; transition: opacity 300ms ease; }
.lv-stage.is-typing .lv-typing { opacity: 1; }
.lv-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-300); animation: lv-dot 1s infinite; }
.lv-typing i:nth-child(2) { animation-delay: 150ms; }
.lv-typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes lv-dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

.lv-tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lv-tile { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 24px; background: var(--paper); }
.lv-tile h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.lv-sub { margin: auto 0 0; font-size: 15px; line-height: 1.55; }
.lv-mini { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(16, 27, 46, 0.07); }
.lv-q { justify-self: end; max-width: 88%; margin: 0; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--lavender); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.lv-a { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.lv-src { justify-self: start; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px; border: 1px solid #d8dcfb; border-radius: 999px; background: #fff; color: var(--indigo-700); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 200ms ease; }
.lv-src:hover, .lv-src[aria-expanded="true"] { background: var(--lavender); }
.lv-src svg { width: 16px; height: 16px; }
.lv-doc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms cubic-bezier(0.16, 1, 0.3, 1); }
.lv-doc.is-open { grid-template-rows: 1fr; }
.lv-doc > div { overflow: hidden; }
.lv-doc p { margin: 0; padding: 8px 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.lv-doc mark { padding: 1px 3px; border-radius: 4px; background: #fff3dc; color: var(--ink); }
.lv-quote { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.lv-quote-sub { font-size: 13px; color: var(--muted); }
.lv-approve { min-height: 46px; border: 0; border-radius: 12px; background: var(--indigo); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 200ms ease, transform 150ms ease; }
.lv-approve:hover { background: var(--indigo-600); }
.lv-approve:active { transform: scale(0.98); }
.lv-approve.is-sent { background: #e3f6ea; color: #14622f; }
.lv-seg { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--paper); }
.lv-seg button { flex: 1; min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 200ms ease, color 200ms ease; }
.lv-seg button[aria-pressed="true"] { background: var(--lavender); color: var(--indigo-700); }
.lv-meter-wide { display: block; max-width: none; height: 10px; margin: 6px 0; }
.lv-budget-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Örnek işler: satırlar sırayla gelir, yazılar büyür ---------- */
.home-ai .ba-scraps li { font-size: 16px; }
.home-ai .ba-table { font-size: 15px; }
.home-ai .ba-card { padding: 10px 22px; }
.example.is-live .demo-panel:not([hidden]) .ba-table tbody tr,
.example.is-live .demo-panel:not([hidden]) .ba-qa > * { animation: lv-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.example.is-live .demo-panel:not([hidden]) .ba-table tbody tr:nth-child(2),
.example.is-live .demo-panel:not([hidden]) .ba-qa > :nth-child(2) { animation-delay: 220ms; }
.example.is-live .demo-panel:not([hidden]) .ba-table tbody tr:nth-child(3),
.example.is-live .demo-panel:not([hidden]) .ba-qa > :nth-child(3) { animation-delay: 440ms; }
.example.is-live .demo-panel:not([hidden]) .ba-scraps li { animation: lv-drift 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes lv-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes lv-drift { from { opacity: 0; translate: -10px 0; } }

/* ---------- Süreç çizelgesi: düğümler sırayla yanar ---------- */
.steps-rail.is-live li::before { animation: lv-node 500ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.steps-rail.is-live li:nth-child(2)::before { animation-delay: 180ms; }
.steps-rail.is-live li:nth-child(3)::before { animation-delay: 360ms; }
.steps-rail.is-live li:nth-child(4)::before { animation-delay: 540ms; }
@keyframes lv-node { from { transform: scale(0.3); opacity: 0; } }

@media (max-width: 980px) {
  .lv-stage { grid-template-columns: 1fr; }
  .lv-steps { grid-template-columns: 1fr 1fr; }
  .lv-tiles { grid-template-columns: 1fr 1fr; }
  .lv-tile:last-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  .lv-mascot, .lv-typing { display: none; }
  .lv-card { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 14px 14px; }
  .lv-card:not(.is-on) { display: none; }
  .lv-row { flex-wrap: wrap; gap: 4px 12px; padding: 10px 0; }
  .lv-k { flex-basis: 100%; }
  .lv-tiles { grid-template-columns: 1fr; }
  .lv-tile:last-child { grid-column: auto; }
  .lv-tile { padding: 22px; }
  .lv-step { padding: 16px 14px 18px 42px; }
  .lv-step::before { left: 14px; top: 21px; }
  .lv-bar { left: 42px; right: 14px; }
}
@media (max-width: 420px) { .lv-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .lv-stage *, .example .demo-panel *, .steps-rail li::before { animation: none !important; transition: none !important; }
}
