/* KAYNAK-TASARIM: docs/html_web/assets/css/hero.css
   Bu dosya docs/html_web/ tasariminden OLDUGU GIBI alindi. Elle duzenlenmez;
   tasarim guncellendiginde `npm run design:site-import` yeniden kopyalar. */

/* PDFgine homepage hero: kinetic document collection. */
.hero-piece.hero-piece-document {
  padding: 0;
  background: #fff;
  height: auto;
  aspect-ratio: 210 / 297;
}
.hero-piece-document.hero-piece-catalog,
.hero-piece-document.hero-piece-certificate {
  aspect-ratio: 297 / 210;
}
.hero-document-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-doc-head .hero-issuer-logo {
  display: block;
  width: 114px;
  height: auto;
  max-width: 65%;
}
.hero-piece-onboarding.hero-piece-document {
  width: 296px;
}
.hero-piece-cover.hero-piece-document {
  width: 296px;
}
.hero-piece[data-slot="7"] {
  z-index: -3;
  transform: translate(-50%, -50%) translate3d(-4px, -152px, -240px)
    rotate(-0.7deg) scale(0.46);
}
@media (max-width: 600px) {
  .hero-piece-onboarding.hero-piece-document,
  .hero-piece-cover.hero-piece-document {
    width: min(245px, calc(100% - 70px));
  }
  .hero-piece[data-slot="7"] {
    transform: translate(-50%, -50%) translate3d(-2px, -112px, -240px)
      rotate(-0.7deg) scale(0.42);
  }
}
.home-intro {
  min-height: min(850px, calc(100svh - 32px));
  padding: 128px 0 60px;
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(to bottom, #fff0 12%, #ffffff80 48%, #fff 88%),
    radial-gradient(circle, #00000026 0.8px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  background-position: center top;
  background-repeat: no-repeat, repeat;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(440px, 1.55fr) 230px;
  gap: 30px;
  align-items: center;
  min-height: min(650px, calc(100svh - 220px));
}
.home-hero-copy {
  align-self: center;
}
.home-intro h1 {
  max-width: 440px;
  margin: 0;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: initial;
}
.home-intro h1 > span {
  color: #6f6f6f;
}
.intro-description {
  max-width: 390px;
  margin-top: 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.75;
}
.hero-showcase {
  position: relative;
  width: 100%;
  min-width: 0;
  align-self: center;
}
.hero-deck {
  position: relative;
  height: 486px;
  perspective: 1400px;
  isolation: isolate;
}
.hero-piece {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 410px;
  height: 308px;
  padding: 26px 28px 22px;
  overflow: hidden;
  flex-direction: column;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 22px 46px -30px #0009;
  transition:
    transform 1200ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 900ms ease-in-out;
  transform-origin: center;
  will-change: transform;
}
.hero-piece[data-slot="0"] {
  z-index: 4;
  opacity: 1;
  box-shadow: 0 32px 62px -34px #000b;
  transform: translate(-50%, -43%) translate3d(0, 0, 0) rotate(0) scale(1);
}
.hero-piece[data-slot="1"] {
  z-index: 3;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(-78px, -48px, -40px)
    rotate(-3.2deg) scale(0.88);
}
.hero-piece[data-slot="2"] {
  z-index: 2;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(76px, -76px, -80px)
    rotate(2.8deg) scale(0.79);
}
.hero-piece[data-slot="3"] {
  z-index: 1;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(-4px, -102px, -120px)
    rotate(-1deg) scale(0.7);
}
.hero-piece[data-slot="4"] {
  z-index: 0;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(92px, -118px, -150px)
    rotate(2.2deg) scale(0.63);
}
.hero-piece[data-slot="5"] {
  z-index: -1;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(-88px, -132px, -180px)
    rotate(-2deg) scale(0.57);
}
.hero-piece[data-slot="6"] {
  z-index: -2;
  opacity: 1;
  transform: translate(-50%, -50%) translate3d(4px, -144px, -210px)
    rotate(0.8deg) scale(0.51);
}
.hero-piece.is-exiting {
  z-index: 5;
  transition:
    transform 520ms cubic-bezier(0.4, 0, 1, 1),
    box-shadow 520ms ease;
  transform: translate(-50%, -43%) translate3d(118px, 38px, 60px) rotate(3.5deg)
    scale(0.94);
  box-shadow: 0 20px 42px -30px #0009;
}
.piece-topline,
.piece-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.piece-topline strong {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.piece-footer {
  margin-top: auto;
}
.hero-piece-report {
  width: 296px;
  height: 419px;
  background: #202020;
  color: #fff;
}
.hero-piece-report .piece-topline,
.hero-piece-report .piece-footer {
  color: #cfcfcf;
}
.report-heading {
  display: grid;
  margin-top: 44px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
}
.report-heading span:last-child {
  color: #aaa;
}
.report-figure {
  display: flex;
  height: 78px;
  margin-top: 32px;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 1px solid #606060;
}
.report-figure span {
  width: 14px;
  background: #6e6e6e;
}
.report-figure span:nth-child(1) {
  height: 32%;
}
.report-figure span:nth-child(2) {
  height: 48%;
}
.report-figure span:nth-child(3) {
  height: 67%;
  background: var(--red);
}
.report-figure span:nth-child(4) {
  height: 54%;
}
.report-figure span:nth-child(5) {
  height: 82%;
  background: #fff;
}
.hero-doc-head {
  display: flex;
  padding-bottom: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  line-height: 1.3;
}
.hero-doc-head strong {
  font-weight: 650;
  letter-spacing: 0.045em;
}
.hero-doc-head span {
  color: #6e6e6e;
  white-space: nowrap;
}
.piece-overline {
  display: block;
  margin-top: 23px;
  color: #6b6b6b;
  font-size: 10px;
  letter-spacing: 0.035em;
}
.hero-piece:not(.hero-piece-report) h2 {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.12;
}
.hero-piece-proposal,
.hero-piece-invoice,
.hero-piece-dispatch {
  width: 296px;
  height: 419px;
  background: #fff;
  color: #242424;
}
.hero-piece-proposal {
  background: var(--red);
  color: #fff;
}
.hero-piece-proposal .hero-doc-head span,
.hero-piece-proposal .piece-overline {
  color: #fff;
}
.hero-piece-proposal h2 {
  max-width: 210px;
  margin-top: 42px;
  font-size: 30px;
  line-height: 1.08;
}
.proposal-client {
  display: grid;
  margin-top: auto;
  margin-bottom: 28px;
  gap: 7px;
  font-size: 10px;
}
.proposal-client span {
  color: #ffffff;
}
.proposal-client strong {
  font-size: 15px;
  font-weight: 600;
}
.hero-piece-proposal .piece-footer {
  padding-top: 13px;
  border-top: 1px solid #fff8;
  color: #fff;
}
.hero-piece-catalog,
.hero-piece-certificate {
  width: 420px;
  height: 297px;
}
/* Gri zeminde daha koyu: `#dedede` uzerinde `#6e6e6e` esigi gecmiyor (olculdu 3,32).
   Taban `.hero-doc-head span` kurali yedi hero parcasinda ortak ve otekiler beyaz
   zeminli -- global koyulastirmak onlari gereksiz koyulastirirdi. Ayni desen tasarimda
   zaten var: `.hero-piece-proposal .hero-doc-head span`. */
.hero-piece-catalog .hero-doc-head span {
  color: #5f5f5f;
}
.hero-piece-catalog {
  background: #dedede;
  color: #202020;
}
.catalog-copy {
  display: grid;
  margin-top: 22px;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 28px;
}
.catalog-copy > span {
  color: #5f5f5f;
  font-size: 10px;
}
.catalog-copy h2 {
  margin: 0;
}
.catalog-products {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.catalog-products > span {
  display: grid;
  gap: 7px;
  font-size: 10px;
}
.catalog-products i {
  display: block;
  height: 52px;
  border: 1px solid #aaa;
  background: #f7f7f7;
}
.catalog-products span:nth-child(2) i {
  background: var(--red);
}
.catalog-products span:nth-child(3) i {
  background: #292929;
}
.catalog-products b {
  font-weight: 500;
}
.hero-piece-onboarding {
  width: 295px;
  height: 382px;
  background: #f2f2f2;
  color: #222;
}
.onboarding-list {
  display: grid;
  margin-top: 28px;
  gap: 0;
  color: #555;
  font-size: 10px;
}
.onboarding-list > span {
  display: grid;
  min-height: 43px;
  grid-template-columns: 13px 50px 1fr;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #d4d4d4;
}
.onboarding-list i {
  display: block;
  width: 11px;
  height: 11px;
  border: 1px solid var(--red);
}
.onboarding-list b {
  font-weight: 600;
}
.invoice-table,
.dispatch-items {
  margin-top: 28px;
  border-top: 1px solid #d5d5d5;
}
.invoice-table > span {
  display: grid;
  min-height: 39px;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 10px;
}
.invoice-table b,
.invoice-table em {
  font-weight: 400;
  font-style: normal;
}
.invoice-table .invoice-total {
  min-height: 48px;
  border-bottom-color: var(--red);
  color: var(--red-dark);
}
.invoice-table .invoice-total b,
.invoice-table .invoice-total em {
  font-weight: 650;
}
.hero-piece-certificate {
  background: #fff;
  color: #222;
}
.certificate-kicker {
  margin-top: 29px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-piece-certificate h2 {
  margin-top: 9px;
  font-size: 27px;
}
.hero-piece-certificate > p {
  max-width: 290px;
  margin-top: 10px;
  color: #555;
  font-size: 11px;
  line-height: 1.5;
}
.certificate-signatures {
  display: flex;
  margin-top: auto;
  padding-top: 11px;
  justify-content: space-between;
  border-top: 1px solid #bbb;
  color: #5f5f5f;
  font-size: 10px;
}
.dispatch-route {
  display: grid;
  margin-top: 31px;
  grid-template-columns: 1fr 35px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.dispatch-route span {
  display: grid;
  gap: 5px;
}
.dispatch-route b {
  color: #6e6e6e;
  font-weight: 400;
}
.dispatch-route i {
  position: relative;
  height: 1px;
  background: var(--red);
}
.dispatch-route i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--red);
  border-right: 1px solid var(--red);
  content: "";
  transform: rotate(45deg);
}
.dispatch-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dispatch-items span {
  display: grid;
  min-height: 58px;
  place-content: center;
  gap: 4px;
  border-right: 1px solid #ddd;
  color: #6e6e6e;
  font-size: 10px;
  text-align: center;
}
.dispatch-items span:last-child {
  border-right: 0;
}
.dispatch-items b {
  color: #222;
  font-weight: 600;
}
.dispatch-code {
  height: 34px;
  margin-top: 24px;
  background: repeating-linear-gradient(
    90deg,
    #222 0 2px,
    transparent 2px 5px,
    #222 5px 6px,
    transparent 6px 9px
  );
}
.hero-piece:not(.hero-piece-report) .piece-footer {
  font-size: 10px;
}
.home-hero-action {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 18px;
}
.home-hero-action .btn {
  min-height: 54px;
  min-width: 0;
  max-width: 100%;
  gap: 12px;
  padding: 0 20px;
  justify-content: space-between;
  border-color: #171717;
  background: #171717;
  color: #fff;
  font-size: 16px;
}
.home-hero-action .btn:hover {
  border-color: var(--red);
  background: var(--red);
}
.home-hero-action p {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.65;
}
.home-hero-demo-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #ddd;
  color: #333;
  font-size: 14px;
}
.home-hero-demo-link:hover {
  color: var(--red-dark);
}
@media (max-width: 1180px) {
  .home-hero-grid {
    grid-template-columns: minmax(250px, 0.8fr) minmax(460px, 1.35fr);
  }
  .home-hero-action {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }
  .home-hero-action .btn {
    width: 230px;
    flex-shrink: 0;
  }
  .home-hero-action p {
    margin-right: auto;
  }
  .home-hero-demo-link {
    min-width: 180px;
  }
}
@media (max-width: 820px) {
  .home-intro {
    min-height: 0;
    padding-top: 122px;
  }
  .home-hero-grid {
    display: block;
  }
  .home-hero-copy {
    max-width: 620px;
  }
  .home-intro h1 {
    font-size: 40px;
  }
  .intro-description {
    margin-top: 20px;
  }
  .hero-showcase {
    height: 500px;
    margin-top: 24px;
  }
  .home-hero-action {
    margin-top: 24px;
  }
}
@media (max-width: 600px) {
  .home-intro {
    min-height: 0;
    padding: 105px 0 34px;
  }
  .home-intro h1 {
    font-size: 34px;
    line-height: 1.18;
  }
  .intro-description {
    font-size: 15px;
  }
  .hero-showcase {
    height: 448px;
    margin-top: 22px;
  }
  .hero-deck {
    height: 382px;
  }
  .hero-piece {
    padding: 21px;
  }
  .hero-piece-report {
    width: min(245px, calc(100% - 70px));
    height: 347px;
  }
  .hero-piece-proposal,
  .hero-piece-invoice,
  .hero-piece-dispatch {
    width: min(245px, calc(100% - 70px));
    height: 347px;
  }
  .hero-piece-catalog,
  .hero-piece-certificate {
    width: min(330px, calc(100% - 8px));
    height: 233px;
  }
  .hero-piece-onboarding {
    width: min(260px, calc(100% - 56px));
    height: 336px;
  }
  .hero-piece-catalog .catalog-copy {
    margin-top: 14px;
  }
  .hero-piece-catalog .catalog-copy h2 {
    margin: 0;
  }
  .hero-piece-catalog .catalog-products {
    margin-top: 14px;
  }
  .hero-piece-catalog .catalog-products i {
    height: 42px;
  }
  .hero-piece-invoice .invoice-table {
    margin-top: 23px;
  }
  .hero-piece[data-slot="0"] {
    transform: translate(-50%, -40%) translate3d(0, 0, 0) rotate(0) scale(1);
  }
  .hero-piece[data-slot="1"] {
    transform: translate(-50%, -50%) translate3d(-38px, -35px, -40px)
      rotate(-2.5deg) scale(0.87);
  }
  .hero-piece[data-slot="2"] {
    transform: translate(-50%, -50%) translate3d(37px, -58px, -80px)
      rotate(2deg) scale(0.76);
  }
  .hero-piece[data-slot="3"] {
    transform: translate(-50%, -50%) translate3d(-3px, -74px, -120px)
      scale(0.66);
  }
  .hero-piece[data-slot="4"] {
    transform: translate(-50%, -50%) translate3d(46px, -85px, -150px)
      rotate(2deg) scale(0.59);
  }
  .hero-piece[data-slot="5"] {
    transform: translate(-50%, -50%) translate3d(-44px, -95px, -180px)
      rotate(-1.5deg) scale(0.53);
  }
  .hero-piece[data-slot="6"] {
    transform: translate(-50%, -50%) translate3d(0, -104px, -210px) scale(0.47);
  }
  .report-heading {
    margin-top: 20px;
    font-size: 27px;
  }
  .report-figure {
    height: 52px;
    margin-top: 15px;
  }
  .onboarding-list {
    margin-top: 14px;
  }
  .piece-footer {
    font-size: 14px;
  }
  .home-hero-action {
    display: grid;
    margin-top: 42px;
    padding-top: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .home-hero-action .btn {
    width: 100%;
  }
  .home-hero-action p {
    margin: 0;
  }
  .home-hero-demo-link {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-piece {
    transition: none;
  }
}
