.home-hero {
  position: relative;
  min-height: clamp(680px, 79vh, 820px);
  color: #111827;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e4e9;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  border-left: 1px solid rgba(17,24,39,.055);
  background-color: #f3f4f6;
  background-image: radial-gradient(circle, rgba(17,24,39,.09) 1px, transparent 1.15px);
  background-size: 24px 24px;
}
.home-hero::after {
  content: "E-İMZA";
  position: absolute;
  right: -12px;
  bottom: -23px;
  color: rgba(17,24,39,.028);
  font-size: clamp(140px, 18vw, 278px);
  font-weight: 900;
  line-height: .74;
  letter-spacing: -.09em;
  white-space: nowrap;
  pointer-events: none;
}
.home-hero-rules {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17,24,39,.033) 1px, transparent 1px);
  background-size: 100% 72px;
  mask-image: linear-gradient(90deg, #000, transparent 54%);
  pointer-events: none;
}
.home-hero-shell {
  position: relative;
  z-index: 1;
  min-height: clamp(680px, 79vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(520px, .98fr);
  align-items: center;
  gap: clamp(64px, 7vw, 112px);
  padding-block: 72px;
}
.home-hero-copy { max-width: 700px; }
.home-hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4b5565;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .085em;
}
.home-hero-kicker > span { position: relative; width: 30px; height: 1px; background: var(--red); }
.home-hero-kicker > span::after { content: ""; position: absolute; top: -2px; right: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.home-hero h1 {
  margin: 28px 0 0;
  max-width: 760px;
  color: #101827;
  font-size: clamp(62px, 6vw, 88px);
  font-weight: 760;
  line-height: .96;
  letter-spacing: -.065em;
}
.home-hero h1 em { color: var(--red); font-style: normal; }
.home-hero-copy > p { max-width: 610px; margin: 29px 0 0; color: #596475; font-size: 17px; line-height: 1.72; }
.home-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.home-hero-actions .btn { min-height: 54px; padding-inline: 23px; border-radius: 9px; box-shadow: 0 13px 29px rgba(211,47,47,.18); }
.home-hero-actions .btn span { margin-left: 20px; transition: transform var(--motion-fast) var(--motion-ease); }
.home-hero-actions .btn:hover span { transform: translateX(4px); }
.home-hero-link { position: relative; padding: 10px 0; color: #273243; font-size: 14px; font-weight: 750; text-decoration: none; }
.home-hero-link::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: #9fa8b4; transform-origin: right; transition: transform var(--motion-base) var(--motion-ease), background var(--motion-fast) ease; }
.home-hero-link:hover { color: var(--red); }
.home-hero-link:hover::after { background: var(--red); transform: scaleX(.55); }
.home-hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 650px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #d8dde3; }
.home-hero-proof > div { padding: 0 18px; border-left: 1px solid #d8dde3; }
.home-hero-proof > div:first-child { padding-left: 0; border-left: 0; }
.home-hero-proof strong, .home-hero-proof span { display: block; }
.home-hero-proof strong { font-size: 14px; font-weight: 850; }
.home-hero-proof span { margin-top: 5px; color: #7c8694; font-size: 11px; line-height: 1.4; }

.signature-workspace { position: relative; right: -22px; width: min(100%, 590px); min-height: 540px; justify-self: end; }
.signature-workspace::before { content: ""; position: absolute; top: 28px; right: -30px; width: 430px; height: 430px; border: 1px solid rgba(211,47,47,.15); border-radius: 50%; box-shadow: 0 0 0 68px rgba(211,47,47,.025); }
.signature-session-label { position: absolute; z-index: 5; top: 0; left: 18px; display: flex; align-items: center; gap: 9px; color: #7d8693; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.signature-session-label > span { padding: 5px 7px; border: 1px solid rgba(211,47,47,.25); border-radius: 5px; color: var(--red); background: #fff6f6; font-weight: 850; }
.signature-session-label > b { color: #5d6775; font-size: 8px; }
.signature-session-label > small { color: #a1a9b4; font-size: 8px; }
.signature-session-label > small::before { content: "/"; margin-right: 8px; color: #c3c9d0; }
.signature-connector { position: absolute; z-index: 1; top: 121px; right: 72px; width: 150px; height: 90px; color: var(--red); overflow: visible; transform: scaleX(-1); }
.signature-connector path { stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .55; animation: connector-flow 3s linear infinite; }
.signature-connector circle { fill: currentColor; animation: connector-point 1.8s ease-in-out infinite; }
.signature-rail { position: absolute; z-index: 4; top: 72px; right: -14px; bottom: 52px; width: 102px; padding: 20px 15px; border: 1px solid #dce1e7; border-top: 3px solid var(--red); border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 22px 48px rgba(17,24,39,.11); backdrop-filter: blur(10px); }
.signature-rail-label { display: block; padding-bottom: 15px; border-bottom: 1px solid #e5e8ec; color: #858e9a; font-size: 8px; font-weight: 850; text-align: center; text-transform: uppercase; letter-spacing: .07em; }
.signature-token { position: relative; display: grid; width: 56px; height: 88px; margin: 19px auto 24px; place-items: center; border: 1px solid #cfd5dc; border-radius: 11px 11px 14px 14px; color: #fff; background: #1a202b; box-shadow: 0 10px 22px rgba(17,24,39,.16); }
.signature-token::before { content: ""; position: absolute; top: -13px; width: 34px; height: 16px; border: 1px solid #b8c0ca; border-bottom: 0; border-radius: 5px 5px 0 0; background: #dfe3e8; }
.signature-token::after { content: ""; position: absolute; top: -8px; width: 5px; height: 7px; border-radius: 1px; background: #969fab; box-shadow: 13px 0 #969fab; }
.signature-token > i { position: absolute; top: 8px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: #ef4444; animation: token-light 2.2s ease-in-out infinite; }
.signature-token > b { position: absolute; bottom: 9px; color: #8f99a7; font-size: 7px; letter-spacing: .13em; }
.signature-token svg { width: 22px; height: 22px; }
.signature-rail-step { position: relative; display: flex; align-items: center; gap: 7px; min-height: 40px; color: #8b94a1; font-size: 8px; font-weight: 750; }
.signature-rail-step + .signature-rail-step::before { content: ""; position: absolute; left: 10px; bottom: 29px; width: 1px; height: 20px; background: #d9dee4; }
.signature-rail-step i { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border: 1px solid #d7dce2; border-radius: 50%; background: #fff; font-size: 7px; font-style: normal; }
.signature-rail-step.is-active { color: #364152; }
.signature-rail-step.is-active i { animation: rail-activate .36s cubic-bezier(.22,1,.36,1) both; }
.signature-rail-step.is-active:nth-of-type(2) i { animation-delay: .45s; }
.signature-rail-step.is-active:nth-of-type(3) i { animation-delay: .95s; }
.signature-rail-step.is-active:nth-of-type(4) i { animation-delay: 1.45s; }
.signature-document { position: absolute; z-index: 2; top: 31px; left: 0; width: 500px; border: 1px solid #d8dde3; border-radius: 18px; color: #1f2937; background: #fff; box-shadow: 0 32px 80px rgba(17,24,39,.13); overflow: hidden; transform: rotate(-1deg); transition: transform var(--motion-enter) var(--motion-ease), box-shadow var(--motion-base) ease; }
.signature-document::before { content: ""; position: absolute; z-index: 5; top: 0; left: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; animation: document-progress 2.45s .25s cubic-bezier(.22,1,.36,1) forwards; }
.signature-document-tab { position: absolute; z-index: 3; top: 92px; right: 0; padding: 7px 10px; border-radius: 7px 0 0 7px; color: #9f2020; background: #fff0f0; font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.signature-workspace:hover .signature-document { box-shadow: 0 38px 90px rgba(17,24,39,.16); transform: rotate(-.35deg) translateY(-4px); }
.signature-document > header { display: flex; min-height: 74px; padding: 0 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e3e7eb; }
.signature-document > header > div { display: flex; align-items: center; gap: 12px; }
.signature-file-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--red); background: #fff0f0; }
.signature-file-icon svg { width: 19px; height: 19px; }
.signature-document header p, .signature-document header strong, .signature-document header small { display: block; margin: 0; }
.signature-document header strong { font-size: 11px; }
.signature-document header small { margin-top: 3px; color: #89929e; font-size: 8px; }
.signature-secure { display: flex; align-items: center; gap: 7px; color: #5f6977; font-size: 9px; font-weight: 750; }
.signature-secure i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.signature-document-body { padding: 25px 27px 22px; }
.signature-meta span, .signature-meta strong, .signature-meta small { display: block; }
.signature-meta span { color: #939ba6; font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.signature-meta strong { margin-top: 7px; font-size: 16px; }
.signature-meta small { margin-top: 4px; color: #868f9b; font-size: 8px; }
.signature-text-lines { display: grid; gap: 7px; margin-top: 23px; }
.signature-text-lines i { width: 100%; height: 5px; border-radius: 4px; background: #edf0f3; }
.signature-text-lines i:nth-child(2) { width: 91%; }
.signature-text-lines i:nth-child(3) { width: 78%; }
.signature-text-lines i:nth-child(4) { width: 48%; }
.signature-field { position: relative; height: 126px; margin-top: 22px; border: 1px dashed #d6dce2; border-radius: 11px; color: var(--red); background: #fcfcfd; overflow: hidden; }
.signature-field > span { position: absolute; top: 12px; left: 14px; color: #89929e; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.signature-field > small { position: absolute; right: 14px; bottom: 10px; color: #9aa2ad; font-size: 7px; }
.signature-seal { position: absolute; z-index: 2; bottom: 8px; left: 13px; display: flex; align-items: center; gap: 6px; color: #166534; font-size: 7px; text-transform: uppercase; letter-spacing: .06em; opacity: 0; transform: translateY(5px); animation: reveal-seal .35s 2.65s ease forwards; }
.signature-seal i { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; color: #fff; background: #16a34a; font-size: 9px; font-style: normal; }
.signature-field svg { position: absolute; right: 16px; bottom: 13px; width: 80%; height: 84px; }
.signature-field path { stroke-dasharray: 530; stroke-dashoffset: 530; animation: draw-signature 2.1s .75s cubic-bezier(.55,.05,.2,1) forwards; }
.signature-document > footer { display: flex; min-height: 72px; padding: 0 22px; align-items: center; justify-content: space-between; border-top: 1px solid #e3e7eb; background: #f8f9fa; }
.signature-verify { display: flex; align-items: center; gap: 10px; }
.signature-verify > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #15803d; background: #eaf9ef; }
.signature-verify svg { width: 17px; height: 17px; }
.signature-verify p, .signature-verify strong, .signature-verify small { display: block; margin: 0; }
.signature-verify strong { color: #166534; font-size: 10px; text-transform: uppercase; }
.signature-verify small { margin-top: 3px; color: #8a939e; font-size: 8px; }
.signature-document code { color: #9aa2ad; font-family: inherit; font-size: 8px; }
.signature-live { position: absolute; z-index: 4; bottom: 11px; left: -14px; display: flex; min-width: 170px; min-height: 60px; padding: 12px 15px; align-items: center; gap: 11px; border: 1px solid #dce1e6; border-radius: 13px; background: rgba(255,255,255,.95); box-shadow: 0 18px 38px rgba(17,24,39,.1); backdrop-filter: blur(10px); }
.signature-live > i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px #dcfce7; animation: certificate-pulse 2.2s ease-in-out infinite; }
.signature-live strong, .signature-live small { display: block; }
.signature-live strong { font-size: 10px; }
.signature-live small { margin-top: 3px; color: #8b94a0; font-size: 8px; }
.hero-motion { opacity: 0; animation: home-hero-in var(--motion-enter) var(--motion-ease) forwards; }
.hero-motion-1 { animation-delay: .05s; }
.hero-motion-2 { animation-delay: .11s; }
.hero-motion-3 { animation-delay: .17s; }
.hero-motion-4 { animation-delay: .23s; }
.hero-motion-visual { animation-name: home-hero-visual-in; animation-delay: .16s; }
@keyframes home-hero-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-hero-visual-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes draw-signature { to { stroke-dashoffset: 0; } }
@keyframes certificate-pulse { 50% { opacity: .46; transform: scale(.82); } }
@keyframes token-light { 50% { opacity: .35; box-shadow: 0 0 0 4px rgba(239,68,68,.12); } }
@keyframes rail-activate { from { border-color: #d7dce2; color: #8b94a1; background: #fff; transform: scale(.78); } to { border-color: var(--red); color: #fff; background: var(--red); transform: scale(1); } }
@keyframes connector-flow { to { stroke-dashoffset: -36; } }
@keyframes connector-point { 50% { opacity: .35; transform: scale(.65); transform-origin: center; } }
@keyframes reveal-seal { to { opacity: 1; transform: translateY(0); } }
@keyframes document-progress { to { transform: scaleX(1); } }

@media (max-width: 1160px) {
  .home-hero-shell { grid-template-columns: minmax(0,1fr) 470px; gap: 46px; }
  .home-hero h1 { font-size: clamp(57px, 5.7vw, 72px); }
  .signature-workspace { right: -6px; transform: scale(.88); transform-origin: right center; }
}
@media (max-width: 900px) {
  .home-hero::before { top: auto; width: 100%; height: 44%; border-top: 1px solid rgba(17,24,39,.055); border-left: 0; }
  .home-hero-shell { grid-template-columns: 1fr; gap: 58px; padding-block: 58px 82px; }
  .home-hero-copy { max-width: 720px; }
  .signature-workspace { right: 0; justify-self: center; transform: none; }
}
@media (max-width: 600px) {
  .home-hero::after { display: none; }
  .home-hero-shell { width: min(calc(100% - 32px), 1280px); min-height: 0; gap: 48px; padding-block: 42px 66px; }
  .home-hero h1 { margin-top: 22px; font-size: clamp(46px, 13vw, 59px); line-height: .99; }
  .home-hero-copy > p { margin-top: 23px; font-size: 15px; }
  .home-hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }
  .home-hero-actions .btn { width: 100%; }
  .home-hero-proof { grid-template-columns: 1fr; gap: 13px; margin-top: 36px; }
  .home-hero-proof > div { padding: 0; border-left: 0; }
  .signature-workspace { width: 100%; min-height: 440px; }
  .signature-workspace::before { display: none; }
  .signature-session-label { left: 5px; }
  .signature-connector { top: 94px; right: 48px; width: 110px; }
  .signature-rail { top: 44px; right: -3px; bottom: auto; width: 78px; height: 348px; padding-inline: 10px; }
  .signature-token { width: 47px; height: 72px; margin-bottom: 18px; }
  .signature-rail-step span { display: none; }
  .signature-rail-step { justify-content: center; }
  .signature-rail-step + .signature-rail-step::before { left: 50%; }
  .signature-document { top: 13px; left: -2px; width: calc(100% - 55px); }
  .signature-document-tab { right: 18px; }
  .signature-document > header { min-height: 64px; padding-inline: 14px; }
  .signature-document header p { max-width: 125px; }
  .signature-document-body { padding: 19px 17px 16px; }
  .signature-field { height: 108px; }
  .signature-field svg { width: 88%; height: 72px; }
  .signature-document > footer { min-height: 64px; padding-inline: 15px; }
  .signature-document code { display: none; }
  .signature-live { bottom: -2px; left: 2px; min-width: 154px; }
}
@media (max-width: 380px) {
  .signature-secure { display: none; }
  .signature-document header p { max-width: 132px; }
  .signature-file-icon { width: 34px; height: 34px; }
  .signature-live { min-width: 146px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion { opacity: 1; animation: none; }
  .signature-field path { stroke-dashoffset: 0; animation: none; }
  .signature-live > i, .signature-token > i { animation: none; }
  .signature-rail-step.is-active i { border-color: var(--red); color: #fff; background: var(--red); animation: none; }
  .signature-connector path, .signature-connector circle { animation: none; }
  .signature-seal { opacity: 1; transform: none; animation: none; }
  .signature-document::before { transform: scaleX(1); animation: none; }
  .signature-document, .home-hero-actions .btn span { transition: none; }
}
