/* h-hero.css (v4, 2026-11-17): ana sayfa ilk ekran. v3.css ve hero3d.css'ten SONRA yüklenir.
   Fikir: dosya kutusu düz bir çerçeve değil, GERÇEK bir tepsi: solunda içinde kâğıtlar duran bir göz var. Dosya sayfaya
   sürüklenince göz açılır (kâğıtlar yana yaslanır, yer açılır); bırakılınca dosya bir sayfa olarak içine düşer, cevap kartı
   tepsinin altından kâğıt gibi çıkar. Sürüklerken bütün sayfa buzlu cama döner; imlecin altında bir sayfa süzülür ve
   üstünden tarama ışığı geçer ("yalnız türüne bakıyoruz"). Hareket yalnız html.motion altında. */
html .rv.pre { opacity: 1; transform: none; }
html h2.rv.pre { color: inherit; }

/* ---------- açılış: başlığın ilk satırı hemen boyanır (LCP); ikinci satır yarıktan yükselir, tepsi yerine oturur ---------- */
.motion .hx-title em { display: inline-block; animation: mc-mask var(--mc-t4) var(--mc-out) 180ms backwards; }
.motion .hx-drop { animation: hh-set .8s var(--mc-out) 120ms backwards; }
@keyframes hh-set { from { transform: translateY(10px); box-shadow: 0 0 0 rgba(18, 20, 24, 0); } }
.motion .tw-s0 { animation: hh-slip .9s var(--mc-out) 420ms backwards; }
@keyframes hh-slip { from { transform: translateY(-46px) rotate(9deg); opacity: 0; } }
@supports (animation-timeline: scroll()) {
  @keyframes mh-drift { to { translate: 0 -36px; } }
  @media (min-width: 961px) {
    .motion .hx-r { animation: mh-drift linear both; animation-timeline: scroll(root block); animation-range: 0 640px; }
  }
}

/* ---------- tepsi ---------- */
.hero .hx-drop { position: relative; z-index: 2; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, #FFFFFF, #FBFBFC);
  box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(18, 20, 24, .05), 0 22px 44px rgba(18, 20, 24, .11); transition: box-shadow .4s var(--mc-out), border-color .25s, transform .4s var(--mc-out); }
.hero .hx-drop::before { display: none; }
.hero .hx-drop.is-over, .hero .hx-drop.over { border-color: var(--brand); background: linear-gradient(180deg, #FFFFFF, #FBFBFC); transform: translateY(-2px);
  box-shadow: 0 1px 0 #fff inset, 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent), 0 28px 54px rgba(18, 20, 24, .15); }
.hero .hx-go { gap: 16px; padding: 16px 20px 16px 16px; }
.hero .hx-safe { border-radius: 0 0 15px 15px; }
.hero .hx-go .txt b { font-size: 15.5px; }
.hero .hx-go .txt span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; }
.hero .hx-go .btn { flex: none; }
/* göz: içe gömük, içinde üç sayfa, önünde tepsinin dudağı */
.tw { position: relative; flex: none; width: 84px; height: 84px; border-radius: 12px; background: linear-gradient(180deg, #DDE2E9, #EDF0F4 55%, #F4F6F9);
  box-shadow: 0 4px 7px rgba(18, 20, 24, .16) inset, 0 0 0 1px rgba(18, 20, 24, .06) inset, 0 1px 0 #fff; transition: box-shadow .3s; }
.tw-s { position: absolute; left: 20px; top: 13px; width: 44px; height: 58px; border-radius: 4px; background: linear-gradient(160deg, #FFFFFF, #F4F5F7); border: 1px solid #D5DAE2;
  transform-origin: 50% 100%; transition: transform .55s var(--mc-out); }
.tw-s2 { transform: rotate(7deg) translate(5px, 1px); background: #F3F5F8; }
.tw-s1 { transform: rotate(-6deg) translate(-4px, 2px); background: #F8F9FB; }
.tw-s0 { display: grid; align-content: start; gap: 4px; padding: 8px 6px; box-shadow: 0 6px 12px rgba(18, 20, 24, .14); transform: rotate(-1.5deg); }
.tw-s0 > i { display: block; height: 3px; border-radius: 2px; background: #DCE0E7; }
.tw-s0 > i:first-child { width: 62%; height: 4px; background: #2A2F38; }
.tw-s0 > i:nth-child(3) { width: 78%; }
.tw-s0 > b { position: absolute; left: -5px; bottom: 19px; width: 22px; height: 10px; border-radius: 3px; background: var(--tw-c, var(--brand)); box-shadow: 0 3px 6px rgba(18, 20, 24, .22); transition: background-color .3s; }
.tw-lip { position: absolute; left: 0; right: 0; bottom: 0; height: 23px; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #FFFFFF, #F1F3F6); border-top: 1px solid #D5DAE2;
  box-shadow: 0 -5px 9px rgba(18, 20, 24, .09), 0 0 0 1px rgba(18, 20, 24, .05) inset; transition: transform .4s var(--mc-out); }
.tw-lip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 22px; height: 4px; margin-left: -11px; border-radius: 2px; background: #D5DAE2; box-shadow: 0 1px 0 #fff; }
@media (hover: hover) {
  .hx-drop:hover .tw-s0 { transform: translateY(-9px) rotate(-4deg); }
  .hx-drop:hover .tw-s1 { transform: rotate(-9deg) translate(-6px, 2px); }
  .hx-drop:hover .tw-s2 { transform: rotate(10deg) translate(7px, 1px); }
}
/* dosya sürükleniyor: göz açılır, sayfalar iki yana yaslanır, ortada yer kalır */
.hx-drop.is-over .tw { box-shadow: 0 6px 10px rgba(18, 20, 24, .22) inset, 0 0 0 1.5px var(--brand) inset, 0 1px 0 #fff; }
.hx-drop.is-over .tw-s0 { transform: translateY(-4px) rotate(-15deg) translateX(-10px); }
.hx-drop.is-over .tw-s1 { transform: rotate(-19deg) translate(-12px, 3px); }
.hx-drop.is-over .tw-s2 { transform: rotate(17deg) translate(13px, 2px); }
.hx-drop.is-over .tw-lip { transform: translateY(3px); }
/* dosya geldi: yeni sayfa içine düşer, dudak hafifçe esner */
.motion .hx-drop.is-land .tw-s0 { animation: hh-land .7s var(--mc-out) both; }
.motion .hx-drop.is-land .tw-lip { animation: hh-lip .5s var(--mc-out) .22s both; }
@keyframes hh-land { 0% { transform: translateY(-64px) rotate(10deg); opacity: 0; } 30% { opacity: 1; } 62% { transform: translateY(3px) rotate(-2.5deg); } 100% { transform: rotate(-1.5deg); } }
@keyframes hh-lip { 30% { transform: translateY(2.5px); } }
.hx-drop .tw-s0 > b[data-fam="doc"], .hx-drop .tw-s0 > b[data-fam="xls"], .hx-drop .tw-s0 > b[data-fam="ppt"], .hx-drop .tw-s0 > b[data-fam="pub"] { --tw-c: var(--c-doc); }
.hx-drop .tw-s0 > b[data-fam="img"] { --tw-c: var(--c-img); } .hx-drop .tw-s0 > b[data-fam="aud"] { --tw-c: var(--c-aud); } .hx-drop .tw-s0 > b[data-fam="vid"] { --tw-c: var(--c-vid); }
.hx-drop .tw-s0 > b[data-fam="cad"], .hx-drop .tw-s0 > b[data-fam="txt"] { --tw-c: var(--c-txt); }
/* imleçten göze uçan sayfa (yalnız gerçek bırakmada; h-hero.js kurar, bitince siler) */
.tw-fly { position: fixed; left: 0; top: 0; z-index: 90; width: 44px; height: 58px; margin: -29px 0 0 -22px; border-radius: 4px; background: linear-gradient(160deg, #FFFFFF, #F4F5F7); border: 1px solid #D5DAE2;
  box-shadow: 0 18px 30px rgba(18, 20, 24, .22); pointer-events: none; will-change: transform; }

/* ---------- cevap kartı: tepsinin altından çıkan kâğıt ---------- */
.hero .dropper__res { z-index: 1; margin: -10px 12px 0; max-width: none; padding: 26px 18px 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #F6F7F9 0, #FFFFFF 22px); box-shadow: 0 16px 34px rgba(18, 20, 24, .10); }
.hero .dropper__res[hidden] { display: none; }
.motion .hero .dropper__res:not([hidden]) { animation: hh-out .6s var(--mc-out) backwards; }
.motion .hero .dropper__res:not([hidden]) > :not(.dropper__x) { animation: hh-ink .45s var(--mc-out) .22s backwards; }
.motion .hero .dropper__res:not([hidden]) > .dropper__opts { animation-delay: .3s; }
@keyframes hh-out { from { clip-path: inset(0 0 100% 0); transform: translateY(-22px); } to { clip-path: inset(0 -40px -60px -40px); transform: none; } }
@keyframes hh-ink { from { opacity: 0; transform: translateY(-6px); } }
.hero .dropper__x { top: 14px; inset-inline-end: 6px; right: auto; }
[dir="ltr"] .hero .dropper__x { right: 6px; }
.hero .dropper__file { display: inline-flex; height: 26px; padding: 0 10px 0 8px; border-radius: 7px; background: var(--bg-3); color: var(--ink); font-size: 12.5px; }
.hero .dropper__file i { width: 9px; height: 9px; border-radius: 3px; }
.hero .dropper__file i[data-fam="doc"], .hero .dropper__file i[data-fam="xls"], .hero .dropper__file i[data-fam="ppt"] { background: var(--c-doc); }
.hero .dropper__file i[data-fam="img"] { background: var(--c-img); } .hero .dropper__file i[data-fam="aud"] { background: var(--c-aud); }
.hero .dropper__file i[data-fam="vid"] { background: var(--c-vid); } .hero .dropper__file i[data-fam="cad"] { background: var(--c-txt); }
.hero .dropper__q { font-size: 20px; letter-spacing: -.012em; margin: 10px 44px 14px 0; }
[dir="rtl"] .hero .dropper__q { margin: 10px 0 14px 44px; }
.hero .dropper__opts { gap: 8px; }
.hero .dropper__opts a { height: 44px; padding: 0 16px; border-radius: 10px; font-size: 15px; transition: transform .25s var(--mc-out), box-shadow .25s var(--mc-out), border-color .2s, background-color .2s; }
.hero .dropper__opts a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(18, 20, 24, .10); }
.hero .dropper__opts a.is-main { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px rgba(227, 38, 43, .26); }
.hero .dropper__opts a.is-main:hover { background: #D41F24; border-color: #D41F24; }
.hero .dropper__opts a:active { transform: scale(.97); }
.hero .dropper__warn { font-size: 14.5px; font-weight: 500; }
.hero .dropper__carry, .hero .dropper__soon { font-size: 13.5px; line-height: 1.5; }

/* ---------- sık kullanılanlar: simgeli ---------- */
.hero .hx-q a { height: 54px; gap: 9px; padding: 0 10px; border-radius: 12px; transition: transform .3s var(--mc-out), box-shadow .3s var(--mc-out), border-color .2s; }
.hero .hx-q a:active { transform: scale(.97); }
.hq-i { flex: none; display: grid; place-items: center; }
.hq-i svg { display: block; height: 26px; width: auto; max-width: 44px; transition: transform .45s var(--mc-out); }
.hx-q a:hover .hq-i svg, .hx-q a:focus-visible .hq-i svg, .hx-q a.hv .hq-i svg { transform: scale(1.14); }
.hq-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hero .hx-son a .hq-i { display: none; }

/* ---------- son kullandıkların (h-hero.js §3; yalnız geçmişi olan tarayıcıda) ---------- */
.hero .hx-q a.hq-off { display: none; }
.hero .hx-q.is-son .ql { grid-column: 1 / 3; align-self: center; }
.hq-clr { grid-column: 3; justify-self: end; align-self: center; margin: -6px -8px -7px 0; padding: 6px 8px; border: 0; border-radius: 8px; background: none; font: 500 13.5px/1.2 var(--f-body); color: var(--ink-3); cursor: pointer; transition: color .2s, background-color .2s; }
[dir="rtl"] .hq-clr { margin: -6px 0 -7px -8px; }
.hq-clr:hover { color: var(--ink); background: var(--bg-3, rgba(18, 20, 24, .05)); }
.hq-clr:focus-visible { color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
.hero .hx-q a.hq-new { justify-content: center; }
/* yer doldurmak için kalan varsayılanlar: bir kademe geride (geçmişten olmadıkları belli olsun) */
.hero .hx-q.is-son a.hq-fill:not(:hover):not(:focus-visible):not(.hv) { border-color: var(--line); box-shadow: none; color: var(--ink-2); }
.hero .hx-q a.hq-long { white-space: normal; font-size: 13.5px; line-height: 1.18; }
.hero .hx-q a.hq-long .hq-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ---------- güven şeridi: küçük dokunuş ---------- */
.hx-f > svg { transition: background-color .25s, transform .4s var(--mc-out); }
@media (hover: hover) { .hx-f:hover > svg { background: var(--bg-4); transform: scale(1.06); } }

/* ---------- bırakma perdesi: buzlu cam + imlecin altında süzülen sayfa ---------- */
.dropveil { background: radial-gradient(90% 80% at 50% 46%, rgba(255, 255, 255, .93), rgba(240, 243, 247, .86)); -webkit-backdrop-filter: blur(14px) saturate(.7); backdrop-filter: blur(14px) saturate(.7); overflow: hidden; }
.dropveil::before { display: none; }
.dv-frame { position: absolute; inset: 18px; border-radius: 28px; padding: 2px; background: linear-gradient(120deg, #E3262B 8%, #8440AA 50%, #2E6BE6 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transform: scale(1.04); transition: opacity .3s var(--mc-out), transform .6s var(--mc-out); }
.dropveil.is-on .dv-frame { opacity: 1; transform: none; }
.dropveil__in { position: relative; transform: translateY(14px); opacity: 0; transition: opacity .3s var(--mc-out), transform .6s var(--mc-out); }
.dropveil.is-on .dropveil__in { transform: none; opacity: 1; }
.dropveil .dropveil__big { font-size: clamp(56px, 9vw, 120px); letter-spacing: -.045em; }
.dropveil .dropveil__t { margin-top: 16px; font-size: 18px; font-weight: 500; }
.dv-sheet { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .25s; will-change: transform; z-index: 2; }
.dv-sheet.on { opacity: 1; }
.dv-pg { position: absolute; left: -46px; top: -40px; width: 132px; height: 172px; padding: 20px 16px; display: grid; align-content: start; gap: 10px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, #FCFCFD 60%, #F4F5F8 100%); border: 1px solid #D5DAE2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 44px 70px rgba(18, 20, 24, .22), 0 12px 24px rgba(18, 20, 24, .10); transform: perspective(700px) rotateX(16deg) rotateZ(-4deg); }
.dv-pg > i { display: block; height: 6px; border-radius: 3px; background: #DCE0E7; }
.dv-pg > i:first-child { width: 64%; height: 8px; background: #2A2F38; margin-bottom: 4px; }
.dv-pg > i:nth-child(3) { width: 84%; } .dv-pg > i:nth-child(5) { width: 52%; }
.dv-pg > b { position: absolute; left: 16px; bottom: 18px; width: 40px; height: 16px; border-radius: 4px; background: var(--brand); }
.dv-pg > em { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, rgba(227, 38, 43, 0), #E3262B 18%, #8440AA 50%, #2E6BE6 82%, rgba(46, 107, 230, 0));
  box-shadow: 0 0 14px 3px rgba(132, 64, 170, .45), 0 0 30px 8px rgba(46, 107, 230, .25); }
.motion .dv-sheet.on .dv-pg > em { animation: dv-scan 1.5s var(--mc-io) infinite alternate; }
@keyframes dv-scan { from { transform: translateY(6px); } to { transform: translateY(160px); } }

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  .hero .hx-go { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; padding: 14px; }
  .hero .hx-go .btn { grid-column: 1 / -1; width: 100%; height: 56px; font-size: 17.5px; border-radius: 12px; }
  .hero .hx-how { text-align: start; font-size: 15.5px; }
  .hero .hx-go .tw { order: 1; } .hero .hx-how { order: 2; }
  .tw { width: 64px; height: 62px; border-radius: 10px; }
  .tw-s { left: 15px; top: 9px; width: 34px; height: 44px; }
  .tw-s0 { padding: 6px 5px; gap: 3px; } .tw-s0 > b { width: 17px; height: 8px; bottom: 14px; left: -4px; }
  .tw-lip { height: 17px; border-radius: 0 0 10px 10px; } .tw-lip::after { top: 6px; }
  .hero .dropper__res { margin-inline: 8px; padding: 24px 14px 16px; }
  .hero .dropper__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .dropper__opts a { height: auto; min-height: 48px; padding: 6px 10px; justify-content: center; text-align: center; font-size: 15.5px; line-height: 1.2; }
  .hero .dropper__opts a.is-main { grid-column: 1 / -1; min-height: 52px; font-size: 17px; }
  .hero .dropper__carry, .hero .dropper__soon { font-size: 14.5px; }
}
@media (max-width: 520px) {
  /* uygulama çekmecesi gibi: üçlü sıra, simge üstte, ad altta */
  .hero .hx-q:not(.hx-son) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero .hx-q:not(.hx-son) a { flex-direction: column; justify-content: center; gap: 7px; height: 84px; padding: 8px 4px; font-size: 13.5px; line-height: 1.2; white-space: normal; text-align: center; border-radius: 14px; }
  .hero .hx-q:not(.hx-son) .hq-i svg { height: 30px; max-width: 52px; }
  .hero .hx-q:not(.hx-son) .hq-t { overflow: visible; }
  .hero .hx-q a.hq-new .hq-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
  .hero .hx-q a.hq-long { font-size: 12.5px; }
  .hq-clr { font-size: 14.5px; margin-block: -8px -9px; padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) { .tw-s, .tw-lip, .hx-drop, .dv-frame, .dropveil__in { transition: none !important; } }
