/* Hareket katmani: mevcut tasarimi degistirmez, ustune yalniz animasyon ekler.
   Geri almak icin index.html'deki polish.css/polish.js satirlarini silin (yedek: ../yedek-20261026-animasyon). */
@property --spot{syntax:'<color>';inherits:false;initial-value:#f2c56b00}
@keyframes polishRise{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes polishWord{from{opacity:0;transform:translateY(110%) rotate(7deg);filter:blur(12px)}to{opacity:1;transform:none;filter:none}}
@keyframes polishShimmer{from{background-position:100% 0}to{background-position:0 0}}
@keyframes polishProgress{to{transform:scaleX(1)}}
@keyframes polishDrift{0%{transform:translate(0,0) scale(1)}50%{transform:translate(120px,40px) scale(1.25)}100%{transform:translate(-80px,90px) scale(.9)}}
@keyframes polishSpin{to{transform:rotate(1turn)}}
@keyframes polishPulse{0%{box-shadow:0 0 0 0 #f2c56b70}70%,100%{box-shadow:0 0 0 18px #f2c56b00}}
@keyframes polishZoom{from{scale:.78;translate:0 140px}to{scale:1;translate:0 0}}
@keyframes polishHeroOut{to{scale:.86;translate:0 -90px;opacity:0}}
@keyframes polishSlide{from{opacity:0;transform:translateX(-60px)}to{opacity:1;transform:none}}

/* Basliklar maskeden yukselir */
h1 .line,h2 .line{display:block;padding-bottom:.14em;margin-bottom:-.14em;clip-path:inset(-.5em -.5em 0 -.5em)}
h1 .line>span,h2 .line>span{display:inline-block}
h1 .w,h2 .w{display:inline-block}

/* Altin baslik: isik suzulmesi; bitis hali eski gradyanla ayni */
.hero h1 em{background-image:linear-gradient(110deg,#fff0c6 0%,#dfae49 40%,#fff8e6 50%,#dfae49 60%,#dfae49 100%);background-size:250% 100%;background-position:0 0}

.hero{position:relative;overflow-x:clip}
.hero-glow{transform:translate3d(var(--gx,0px),var(--gy,0px),0);transition:transform 1.4s cubic-bezier(.16,1,.3,1)}

.story-card{background-image:radial-gradient(380px circle at var(--mx,50%) var(--my,0%),var(--spot),transparent 65%);transition:border-color .3s,transform .3s,--spot .5s}
.story-card:hover{--spot:#f2c56b1c;--lift:-10px}

.essentials-grid>article{background:linear-gradient(#e2c27a,#e2c27a) 0 0/0 2px no-repeat border-box}

.button:not(.secondary){position:relative;overflow:hidden}
.button:not(.secondary):after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,#ffffff80 50%,transparent 70%);transform:translateX(-120%);pointer-events:none}
.button:not(.secondary):hover:after{transform:translateX(120%);transition:transform .9s cubic-bezier(.16,1,.3,1)}
.button>span[aria-hidden],.text-button>span[aria-hidden]{display:inline-block;transition:transform .25s cubic-bezier(.16,1,.3,1)}
.button:hover>span[aria-hidden],.text-button:hover>span[aria-hidden]{transform:translate(3px,-3px)}

.final-cta>.container{position:relative;z-index:1}
.polish-cursor{position:fixed;left:0;top:0;width:560px;height:560px;margin:-280px 0 0 -280px;border-radius:50%;background:radial-gradient(circle,#f2c56b05,#f2c56b02 40%,transparent 68%);mix-blend-mode:screen;pointer-events:none;z-index:15;opacity:0;transition:opacity .6s}
.polish-cursor.on{opacity:1}

@media(prefers-reduced-motion:no-preference){
 /* Acilis */
 .hero:before,.hero:after{content:"";position:absolute;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:0;animation:polishDrift 16s ease-in-out infinite alternate}
 .hero:before{width:560px;height:560px;left:4%;top:20px;background:#c8902f45}
 .hero:after{width:480px;height:480px;right:4%;top:140px;background:#f2c56b2e;animation-duration:21s;animation-direction:alternate-reverse}
 body.paused .hero:before,body.paused .hero:after{animation-play-state:paused}
 .hero-top>.eyebrow,.hero-top>.hero-description,.hero-top>.hero-actions,.hero-top>.hero-benefits{animation:polishRise 1s cubic-bezier(.16,1,.3,1) both}
 .hero-top>.eyebrow{animation-delay:.05s}
 .hero-top>.hero-description{animation-delay:.85s}
 .hero-top>.hero-actions{animation-delay:1s}
 .hero-top>.hero-benefits{animation-delay:1.15s}
 .hero h1 .w{animation:polishWord 1.1s cubic-bezier(.16,1,.3,1) both}
 .hero h1 span.w:nth-child(1){animation-delay:.15s}
 .hero h1 span.w:nth-child(2){animation-delay:.27s}
 .hero h1 span.w:nth-child(3){animation-delay:.39s}
 .hero h1 em.w{animation:polishWord 1.1s cubic-bezier(.16,1,.3,1) .55s both,polishShimmer 2.2s cubic-bezier(.45,0,.2,1) 1.2s both}
 .button:not(.secondary){animation:polishPulse 2.6s ease-out 2s infinite}
 body.paused .button{animation-play-state:paused}

 /* Bolum girisleri: daha uzun yol, kelime kelime basliklar */
 .js .reveal{transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1.1s cubic-bezier(.16,1,.3,1)}
 .js .reveal:not(.visible){transform:translateY(70px)}
 .js .reveal h2 .w{transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity .9s,filter .9s;transition-delay:calc(var(--i,0) * 80ms + .1s)}
 .js .reveal:not(.visible) h2 .w{opacity:0;transform:translateY(110%) rotate(7deg);filter:blur(12px)}

 /* Kartlar sirayla; backwards dolgu hover hareketlerini kilitlemez */
 .js .story-panels>.reveal.visible,.js .essentials-grid>.reveal.visible{animation:polishRise 1s cubic-bezier(.16,1,.3,1) backwards}
 .js .story-panels>.reveal:nth-child(2),.js .essentials-grid>.reveal:nth-child(2){animation-delay:.15s}
 .js .story-panels>.reveal:nth-child(3),.js .essentials-grid>.reveal:nth-child(3){animation-delay:.3s}
 .js .essentials-grid>.reveal:nth-child(4){animation-delay:.45s}
 .js .story-card.reveal.visible{transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px));transition:opacity 1s cubic-bezier(.16,1,.3,1),transform .4s cubic-bezier(.16,1,.3,1),border-color .3s,box-shadow .4s,--spot .5s}
 .js .story-card.reveal.visible:hover{box-shadow:0 34px 90px #000b,0 0 40px #f2c56b14}
 .js .essentials-grid>article{transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1.1s cubic-bezier(.16,1,.3,1),background-size 1.2s cubic-bezier(.65,0,.35,1) .45s,translate .4s cubic-bezier(.16,1,.3,1)}
 .js .essentials-grid>article.visible{background-size:100% 2px}
 .js .essentials-grid>article:hover{translate:0 -8px}
 .js .essentials-grid>article:nth-child(2){transition-delay:0s,0s,.6s,0s}
 .js .essentials-grid>article:nth-child(3){transition-delay:0s,0s,.75s,0s}
 .js .essentials-grid>article:nth-child(4){transition-delay:0s,0s,.9s,0s}
 .js .mirror-benefits.visible>article,.js .faq-items.visible>details{animation:polishSlide .9s cubic-bezier(.16,1,.3,1) backwards}
 .js .mirror-benefits.visible>article:nth-child(2),.js .faq-items.visible>details:nth-child(2){animation-delay:.12s}
 .js .mirror-benefits.visible>article:nth-child(3),.js .faq-items.visible>details:nth-child(3){animation-delay:.24s}
 .js .faq-items.visible>details:nth-child(4){animation-delay:.36s}
 .js .faq-items.visible>details:nth-child(5){animation-delay:.48s}

 /* Kapanis: arkada donen altin isik */
 .final-cta:before{content:"";position:absolute;inset:-60%;background:conic-gradient(from 0deg,transparent,#f2c56b24,transparent 28%,#c8902f2e,transparent 58%,#f2c56b1a,transparent 85%);animation:polishSpin 22s linear infinite;pointer-events:none}
 body.paused .final-cta:before{animation-play-state:paused}

 /* Kaydirmaya bagli: vitrinler yaklasarak buyur, acilis kaydirinca geri cekilir */
 @supports(animation-timeline:view()){
  .sequence-scene,.discovery-stage,.monitor-scene,.console-proof,.story-panels{animation:polishZoom linear both;animation-timeline:view();animation-range:entry 0% cover 38%}
  .sequence-section{overflow:clip} /* hidden kaydirma kutusu yaratir, view() kaymaz; clip ayni gorunur */
  .hero-top{animation:polishHeroOut linear both;animation-timeline:view();animation-range:exit 0% exit 95%}
 }
 @supports(animation-timeline:scroll()){
  .site-header:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:linear-gradient(90deg,#b8862f,#f2c56b,#ffe6ad);box-shadow:0 0 14px #f2c56b99;transform:scaleX(0);transform-origin:0 50%;animation:polishProgress linear both;animation-timeline:scroll(root);pointer-events:none}
 }

 /* SSS acilip kapanirken yumusak yukseklik */
 @supports(interpolate-size:allow-keywords){
  .faq-items{interpolate-size:allow-keywords}
  .faq-items details::details-content{block-size:0;overflow:hidden;transition:block-size .5s cubic-bezier(.16,1,.3,1),content-visibility .5s allow-discrete}
  .faq-items details[open]::details-content{block-size:auto}
 }
}
