/* Envanter tasfiye ve kurumsal çözümler sayfalarında yüklenir. */

.et-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(196, 161, 90, .16), transparent 55%),
    linear-gradient(160deg, #0f241b 0%, #163a2b 60%, #1b4332 100%);
  color: #fff;
  overflow: hidden;
}

.et-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: center;
}

.et-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, .62);
  font-size: .84rem;
}

.et-crumbs a { color: rgba(255, 255, 255, .82); }
.et-crumbs a:hover { color: #e7c56a; }

.et-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  color: #e7c56a;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.et-kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: #c4a15a;
}

.et-kicker--dark { color: #1b4332; }

.et-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.et-lead {
  max-width: 36rem;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, .84);
  font-size: 1.05rem;
  line-height: 1.7;
}

.et-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.et-hero__actions .btn { justify-content: center; white-space: normal; text-align: center; }

/* 3D fotoğraf yığını */
.et-stack {
  position: relative;
  height: clamp(360px, 34vw, 440px);
  perspective: 1400px;
}

.et-stack__scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(6deg + var(--rx, 0deg))) rotateY(calc(-16deg + var(--ry, 0deg)));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.et-stack.is-tilting .et-stack__scene { transition-duration: .15s; }

.et-layer {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: #143028;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.et-layer img { width: 100%; height: 100%; object-fit: cover; }

.et-layer--back {
  top: 0;
  right: 0;
  width: 62%;
  height: 56%;
  transform: translateZ(-110px);
}

.et-layer--back img { filter: saturate(.75) brightness(.75); }

.et-layer--mid {
  top: 16%;
  left: 0;
  width: 50%;
  height: 50%;
  transform: translateZ(-35px);
}

.et-layer--front {
  right: 6%;
  bottom: 2%;
  width: 66%;
  height: 60%;
  transform: translateZ(60px);
  border-color: rgba(231, 197, 106, .45);
}

.et-badge {
  position: absolute;
  left: 4%;
  bottom: 9%;
  display: grid;
  gap: .2rem;
  padding: .85rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  transform: translateZ(130px);
  animation: et-float 5s ease-in-out infinite;
}

.et-badge strong { color: #143028; font-size: 1rem; font-weight: 700; }
.et-badge span { color: #5f6f68; font-size: .8rem; letter-spacing: .02em; }

@keyframes et-float {
  0%, 100% { transform: translateZ(130px) translateY(0); }
  50% { transform: translateZ(130px) translateY(-8px); }
}

/* Tanım */
.et-def { border-bottom: 1px solid #e9efeb; }

.et-def__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 3rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.et-def h2 {
  margin-bottom: .9rem;
  color: #143028;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.et-def p { max-width: 42rem; color: #5f6f68; font-size: 1.02rem; line-height: 1.75; }
.et-def__more { margin-top: .9rem; font-size: .94rem !important; }
.et-def a,
.et-note a { color: #1b4332; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }

.et-def__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.et-def__facts li {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.05rem;
  border: 1px solid #e3ebe6;
  border-left: 3px solid #c4a15a;
  border-radius: 12px;
  background: #f8faf9;
}

.et-def__facts strong { color: #143028; font-size: .92rem; font-weight: 700; }
.et-def__facts span { color: #5f6f68; font-size: .84rem; line-height: 1.45; }

/* Bölüm iskeleti */
.et-section { padding: 4.75rem 0; }
.et-section--mist { background: #f3f6f4; }

.et-head { max-width: 46rem; margin-bottom: 2.25rem; }

.et-head h2 {
  margin-bottom: .7rem;
  color: #143028;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.et-head p:not(.et-kicker) { color: #5f6f68; font-size: 1rem; line-height: 1.7; }

/* Senaryo kartları */
.et-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.et-card,
.et-rel {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.et-card.is-tilting,
.et-rel.is-tilting { transition-duration: .12s, .35s; }

.et-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid #e3ebe6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 67, 50, .05);
}

.et-card::after,
.et-rel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(231, 197, 106, .2), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.et-card.is-tilting::after,
.et-rel.is-tilting::after { opacity: 1; }

.et-card:hover,
.et-rel:hover { box-shadow: 0 26px 50px rgba(27, 67, 50, .14); }

.et-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: .35rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #1b4332, #10261c);
  color: #e7c56a;
  font-size: 1.3rem;
  box-shadow: 0 10px 20px rgba(16, 38, 28, .25);
  transform: translateZ(40px);
}

.et-card h3 { color: #143028; font-size: 1.08rem; font-weight: 700; transform: translateZ(25px); }
.et-card p { color: #5f6f68; font-size: .93rem; line-height: 1.6; transform: translateZ(15px); }

.et-card a {
  margin-top: auto;
  padding-top: .3rem;
  color: #1b4332;
  font-size: .88rem;
  font-weight: 600;
  transform: translateZ(20px);
}

.et-card a::after { content: " →"; color: #c4a15a; }

/* 3D merdiven süreç */
.et-stairs {
  perspective: 1600px;
  padding-top: 4.5rem;
}

.et-stairs__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: rotateX(12deg);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
}

.et-step {
  position: relative;
  padding: 1.3rem 1.15rem 1.35rem;
  border: 1px solid #e3ebe6;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 12px 0 -1px #d3e2d9,
    0 12px 0 0 #c3d6ca,
    0 30px 40px rgba(27, 67, 50, .14);
  transform: translateY(calc(var(--i) * -1.1rem)) translateZ(calc(var(--i) * 12px));
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}

.et-step:hover {
  transform: translateY(calc(var(--i) * -1.1rem - 10px)) translateZ(calc(var(--i) * 12px + 30px));
  box-shadow:
    0 12px 0 -1px #d3e2d9,
    0 12px 0 0 #c3d6ca,
    0 44px 56px rgba(27, 67, 50, .2);
}

.et-step em {
  display: block;
  margin-bottom: .7rem;
  color: #c4a15a;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.et-step h3 { margin-bottom: .45rem; color: #143028; font-size: 1rem; font-weight: 700; }
.et-step p { color: #5f6f68; font-size: .88rem; line-height: 1.55; }

.et-note { margin-top: 2.75rem; color: #5f6f68; font-size: .94rem; line-height: 1.65; }

/* Kapsam ve karşılaştırma */
.et-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: start;
}

.et-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.et-chips a {
  display: inline-flex;
  padding: .55rem .9rem;
  border: 1px solid #e3ebe6;
  border-radius: 999px;
  background: #f3f6f4;
  color: #143028;
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.et-chips a:hover { border-color: #c4a15a; background: #fff; transform: translateY(-2px); }
.et-chips .et-chips__all { background: #1b4332; border-color: #1b4332; color: #fff; }
.et-chips .et-chips__all:hover { background: #143028; }

.et-table-wrap {
  overflow-x: auto;
  border: 1px solid #e3ebe6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 67, 50, .05);
}

.et-table { width: 100%; border-collapse: collapse; font-size: .9rem; }

.et-table th,
.et-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid #edf2ef;
  text-align: left;
  vertical-align: top;
}

.et-table thead th {
  background: #e7f2ec;
  color: #1b4332;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.et-table thead th:last-child { background: #1b4332; color: #e7c56a; }
.et-table tbody th { color: #143028; font-weight: 600; white-space: nowrap; }
.et-table td { color: #5f6f68; line-height: 1.5; }
.et-table td:last-child { color: #143028; background: #f8faf9; }
.et-table tbody tr:last-child th,
.et-table tbody tr:last-child td { border-bottom: 0; }

/* Veri güvenliği */
.et-secure {
  padding: 4.75rem 0;
  background:
    radial-gradient(ellipse 45% 70% at 0% 100%, rgba(196, 161, 90, .14), transparent 60%),
    linear-gradient(160deg, #10261c 0%, #143028 100%);
  color: #fff;
  overflow: hidden;
}

.et-secure__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

.et-secure h2 {
  margin-bottom: .8rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.et-secure__copy p { margin-bottom: 1.1rem; color: rgba(255, 255, 255, .8); line-height: 1.7; }
.et-secure__copy a { color: #e7c56a; font-weight: 600; }
.et-secure__copy a::after { content: " →"; }

.et-secure__deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  transform: perspective(1200px) rotateX(calc(5deg + var(--rx, 0deg))) rotateY(calc(-12deg + var(--ry, 0deg)));
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.et-secure__deck.is-tilting { transition-duration: .15s; }

.et-option {
  display: grid;
  align-content: start;
  gap: .5rem;
  padding: 1.35rem 1.15rem;
  border: 1px solid rgba(231, 197, 106, .28);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: 0 24px 40px rgba(0, 0, 0, .25);
}

.et-option:nth-child(2) { transform: translateZ(35px); }
.et-option:nth-child(3) { transform: translateZ(70px); }

.et-option i { color: #e7c56a; font-size: 1.5rem; }
.et-option strong { color: #fff; font-size: 1rem; font-weight: 700; }
.et-option span { color: rgba(255, 255, 255, .72); font-size: .86rem; line-height: 1.55; }

/* İlgili hizmetler */
.et-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.et-rel {
  display: flex;
  flex-direction: column;
  border: 1px solid #e3ebe6;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(27, 67, 50, .05);
}

.et-rel__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #e7eee9;
}

.et-rel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.et-rel:hover .et-rel__media img { transform: scale(1.05); }

.et-rel__body {
  display: grid;
  gap: .4rem;
  padding: 1.1rem 1.15rem 1.25rem;
  transform: translateZ(25px);
}

.et-rel__body strong { color: #143028; font-size: 1rem; font-weight: 700; }
.et-rel__body strong::after { content: " →"; color: #c4a15a; }
.et-rel__body span { color: #5f6f68; font-size: .88rem; line-height: 1.55; }

/* SSS */
.et-faq { display: grid; gap: .75rem; max-width: 56rem; }

.et-faq__item {
  border: 1px solid #e3ebe6;
  border-radius: 14px;
  background: #fff;
}

.et-faq__item summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

.et-faq__item summary::-webkit-details-marker { display: none; }

.et-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  color: #c4a15a;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .25s ease;
}

.et-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.et-faq__item summary h3 { margin: 0; color: #143028; font-size: 1rem; font-weight: 600; }
.et-faq__item p { padding: 0 1.25rem 1.2rem; color: #5f6f68; font-size: .95rem; line-height: 1.7; }

.et-hero .btn:focus-visible,
.et-card a:focus-visible,
.et-rel:focus-visible,
.et-chips a:focus-visible,
.et-faq__item summary:focus-visible {
  outline: 2px solid #c4a15a;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .et-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .et-stairs__list { gap: .75rem; }
  .et-step { padding: 1.1rem .95rem 1.15rem; }
}

@media (max-width: 900px) {
  .et-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .et-secure__grid { grid-template-columns: 1fr; }
  .et-stairs { padding-top: 0; perspective: none; }
  .et-stairs__list { grid-template-columns: 1fr; gap: 1.1rem; transform: none; }
  .et-step,
  .et-step:hover {
    margin-left: calc(var(--i) * .6rem);
    transform: none;
  }
}

@media (max-width: 800px) {
  .et-hero { padding: 2.25rem 0 2.75rem; }
  .et-hero__grid,
  .et-def__grid { grid-template-columns: 1fr; gap: 2rem; }
  .et-stack { height: 300px; }
  .et-stack__scene { transform: rotateX(4deg) rotateY(-10deg); }
  .et-badge { left: 8%; bottom: 6%; transform: translateZ(90px); animation: none; }
  .et-section,
  .et-secure { padding: 3.25rem 0; }
  .et-secure__deck { grid-template-columns: 1fr; transform: none; }
  .et-option:nth-child(n) { transform: none; }
  .et-def__grid { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

@media (max-width: 560px) {
  .et-cards,
  .et-related,
  .et-def__facts { grid-template-columns: 1fr; }
  .et-step,
  .et-step:hover { margin-left: 0; }
  .et-hero__actions .btn { width: 100%; }
  .et-stack { height: 250px; }
  .et-badge { padding: .65rem .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .et-stack__scene,
  .et-card,
  .et-rel,
  .et-step,
  .et-secure__deck,
  .et-rel__media img,
  .et-chips a { transition: none; }
  .et-badge { animation: none; }
}
