/* ana sayfa sahneleri — düz renkler, 1px kenarlıklar, efekt yok */

/* ---------- HERO: kart + telefon dokunuşu ---------- */
.hero { position: relative; height: 100svh; }
.hero-stage { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1600px; border-bottom: 1px solid var(--line); }

.hero-copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 640px; z-index: 5; }
.hero-copy .display { margin: 22px 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.hero-card-wrap { position: absolute; left: 50%; top: 50%; width: min(460px, 36vw); z-index: 3; transform-style: preserve-3d;
  transform: translate(calc(-50% + 22vw), -50%) rotateY(-24deg) rotateX(14deg) rotateZ(-8deg); }
.hero-card { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero-card .ncard { position: relative; }
.hero-card-float { animation: bob 6s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-phone-wrap { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); opacity: 0; }
.hero-phone-wrap .phone { width: min(340px, 26vw, 40vh); }

.hero-caption { position: absolute; left: var(--gutter); bottom: 12vh; z-index: 5; max-width: 520px; opacity: 0; pointer-events: none; }
/* sahnedeki görsel katmanlar butonların tıklanmasını engellemesin */
.hero-card-wrap, .hero-phone-wrap, .scroll-hint { pointer-events: none; }
.hero-caption .h2 { font-size: clamp(34px, 4.4vw, 64px); }
.hero-caption p { margin-top: 14px; }
.hero-caption.right { left: auto; right: var(--gutter); text-align: right; }
.hero-caption.right p { margin-left: auto; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1px; height: 44px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--text); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { to { top: 110%; } }

/* hero telefonu: iPhone görünümü (titanyum çerçeve, yan tuşlar, Dynamic Island) */
.iphone { container-type: inline-size; padding: 3.4%; border: 0; border-radius: 15.5% / 7.2%; background: #050505;
  box-shadow: 0 0 0 1.5px #1c1c1e, 0 0 0 3px #6e6e73, 0 0 0 4.5px #2c2c2e, 0 0 0 5px #8e8e93, 0 60px 90px -30px rgba(0, 0, 0, .9); }
.iphone::before { top: 3.6%; width: 31%; height: auto; aspect-ratio: 3.5; z-index: 6; }
.iphone .phone-screen { border: 0; border-radius: 12.4% / 5.8%; background: #000; }
.ip-btn { position: absolute; width: 1.4%; border-radius: 2px; background: linear-gradient(90deg, #3a3a3c, #8e8e93 60%, #3a3a3c); }
.ip-action { left: -2.6%; top: 17%; height: 5%; }
.ip-vol-up { left: -2.6%; top: 25%; height: 9%; }
.ip-vol-down { left: -2.6%; top: 36%; height: 9%; }
.ip-power { right: -2.6%; top: 27%; height: 13%; }
.iphone .phone-status { position: relative; z-index: 5; height: 13cqw; padding: 1.5cqw 7cqw 0 9cqw; font-size: 4.6cqw; }
.iphone .phone-status svg { height: 3.6cqw; }
.ip-home { position: absolute; left: 50%; bottom: 1.4%; z-index: 8; width: 36%; height: 1.6cqw; border-radius: 9px; transform: translateX(-50%); background: #fff; opacity: .9; mix-blend-mode: difference; }

/* kilit ekranı */
.lock { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; padding-top: 14cqw; color: #fff; font-family: -apple-system, 'SF Pro Display', var(--sans);
  background:
    radial-gradient(70% 45% at 105% 38%, rgba(120, 120, 128, .55), transparent 70%),
    radial-gradient(80% 40% at -10% 72%, rgba(90, 90, 96, .45), transparent 70%),
    radial-gradient(60% 30% at 70% 95%, rgba(218, 170, 50, .18), transparent 70%),
    linear-gradient(165deg, #1c1c1e 0%, #0a0a0a 55%, #000 100%); }
.ip-lock-status { position: absolute; top: 0; right: 0; height: 13cqw; display: flex; align-items: center; padding: 1.5cqw 7cqw 0 0; }
.ip-lock-status svg { display: block; height: 3.6cqw; width: auto; }
.ip-lock-status .ps-icons { display: flex; gap: 1.6cqw; }
.lock .date { font-size: 5.4cqw; font-weight: 600; opacity: .85; margin-top: 4cqw; }
.lock .time { font-size: 27cqw; font-weight: 700; letter-spacing: -0.02em; line-height: .95; margin-top: 1cqw; }
.lock .tap-hint { position: absolute; bottom: 30%; display: flex; flex-direction: column; align-items: center; gap: 2.4cqw; font-size: 4.2cqw; color: rgba(255, 255, 255, .7); }
.lock .tap-hint svg { width: 10cqw; color: #fff; }
.ip-lock-btns { position: absolute; left: 9%; right: 9%; bottom: 7%; display: flex; justify-content: space-between; }
.ip-lock-btns span { width: 14cqw; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }

/* NFC bildirimi (iOS banner) */
.nfc-note { position: absolute; left: 4%; right: 4%; top: 15cqw; z-index: 7; display: flex; align-items: center; gap: 3cqw; padding: 3.2cqw; border-radius: 6cqw; opacity: 0;
  background: rgba(70, 70, 74, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-family: -apple-system, var(--sans); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.nfc-note-ic { flex: none; width: 10cqw; aspect-ratio: 1; border-radius: 2.4cqw; display: grid; place-items: center; background: #1c1c1e; }
.nfc-note-ic svg { width: 6cqw; color: #fff; }
.nfc-note-txt { flex: 1; min-width: 0; font-size: 3.5cqw; line-height: 1.3; color: rgba(255, 255, 255, .75); }
.nfc-note-txt b { display: block; font-size: 3.8cqw; color: #fff; }
.nfc-note-safari { flex: none; width: 9.5cqw; aspect-ratio: 1; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.nfc-note-safari svg { display: block; width: 100%; height: 100%; }

/* demo açılınca altta Safari adres çubuğu */
.ip-url { position: absolute; left: 4%; right: 4%; bottom: 6.5%; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; height: 11cqw; padding: 0 4cqw; border-radius: 6cqw; opacity: 0;
  background: rgba(40, 40, 42, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-family: -apple-system, var(--sans); font-size: 3.8cqw; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ip-aa { font-weight: 600; font-size: 3.4cqw; }
.ip-reload { width: 3.6cqw; aspect-ratio: 1; border: .6cqw solid #fff; border-top-color: transparent; border-radius: 50%; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(120px, 20vh, 220px) 0; border-bottom: 1px solid var(--line); }
.manifesto p { font-family: var(--serif); font-size: clamp(32px, 5vw, 76px); line-height: 1.1; letter-spacing: -0.01em; max-width: 1080px; }
.manifesto .w { opacity: .18; transition: opacity .2s; }
.manifesto em { color: var(--gold); }

/* ---------- yatay ürün kaydırma ---------- */
.hscroll { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.htrack { display: flex; height: 100svh; width: max-content; }
.hpanel { width: 100vw; height: 100%; flex: none; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4vw; padding: 90px var(--gutter) 60px; }
.hpanel.intro { grid-template-columns: 1fr; }
.hpanel .p-index { font-family: var(--serif); font-size: 18px; color: var(--muted); letter-spacing: .08em; }
.hpanel .p-index b { font-size: 60px; font-weight: 500; margin-right: 8px; color: var(--text); }
.hpanel .h2 { margin: 14px 0 18px; }
.hpanel .p-links { display: flex; gap: 26px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.hpanel .art-box { height: min(70vh, 620px); border-radius: var(--r); }
.hpanel .art { width: 70%; }
.hprogress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; height: 1px; background: var(--line); z-index: 3; }
.hprogress i { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(0); }
@media (max-width: 899px) {
  .htrack { display: block; height: auto; width: auto; }
  .hpanel, .hpanel.intro { width: auto; height: auto; grid-template-columns: 1fr; padding: 60px var(--gutter); gap: 30px; border-bottom: 1px solid var(--line); }
  .hpanel .art-box { height: auto; aspect-ratio: 1; order: -1; }
  .hprogress { display: none; }
}

/* ---------- link değişmez ---------- */
.keep { position: relative; border-bottom: 1px solid var(--line); }
.keep-stage { min-height: 100svh; display: grid; align-items: center; padding: 90px var(--gutter) 40px; max-width: 760px; margin: 0 auto; }
.keep-steps { list-style: none; display: grid; gap: 4px; margin-top: 32px; }
.keep-steps li { padding: 12px 0 12px 22px; border-left: 1px solid var(--line); opacity: .35; transition: opacity .4s, border-color .4s; }
.keep-steps li.on { opacity: 1; border-color: var(--text); }
.keep-steps b { display: block; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.1; }
.keep-steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 899px) { .keep-stage { padding-top: 80px; } }

/* ---------- nasıl çalışır ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.steps-line { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; }
.step { position: relative; padding: 36px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--muted); margin-bottom: 26px; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- özellikler ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 34px 30px; min-height: 240px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat.glass { background: none; border-radius: 0; border-top: 0; border-left: 0; }
.feat .f-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); }
.feat .f-ic .sic { width: 20px; height: 20px; }
.feat h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-top: auto; }
.feat p { color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- kayan şerit ---------- */
.marquee { overflow: hidden; padding: 8px 0; }
.marquee-row { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 46s; }
.marquee-row span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 8px; border: 1px solid var(--line); font-size: 16px; white-space: nowrap; }
.marquee-row span .sic { width: 17px; height: 17px; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- canlı demo ---------- */
.demo-wrap { display: grid; grid-template-columns: 1fr auto; gap: 6vw; align-items: center; }
.demo-tabs { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.demo-tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; color: var(--muted); transition: color .2s; }
.demo-tab b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.demo-tab span { color: var(--dim); font-size: 13.5px; display: block; }
.demo-tab svg { width: 20px; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s var(--ease); flex: none; }
.demo-tab:hover, .demo-tab.on { color: var(--text); }
.demo-tab.on svg { opacity: 1; transform: none; }
.demo-phone { position: relative; }
.demo-phone .phone { width: min(360px, 82vw); }
.demo-phone .phone-screen iframe { transition: opacity .3s; }
.demo-phone .open-demo { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 899px) { .demo-wrap { grid-template-columns: 1fr; } .demo-phone { justify-self: center; } }

/* ---------- final çağrı ---------- */
.cta-final { position: relative; text-align: center; padding: clamp(120px, 16vw, 200px) 0; border-top: 1px solid var(--line); }
.cta-final .display { font-size: clamp(54px, 9.5vw, 150px); }
.cta-final .lead { margin: 26px auto 0; }
.cta-final .hero-actions { justify-content: center; }

/* animasyon yüklenemezse/azaltılmış hareket: hero sade görünür */
.no-anim .hero-phone-wrap, .no-anim .hero-caption { display: none; }
@media (max-width: 899px) {
  .hero-copy { left: var(--gutter); right: var(--gutter); top: auto; bottom: 9vh; transform: none; }
  .hero-copy .display { font-size: clamp(46px, 13vw, 76px); margin: 16px 0 16px; }
  .hero-copy .lead { font-size: 15.5px; }
  .hero-actions { margin-top: 22px; }
  .hero-card-wrap { width: min(320px, 72vw); transform: translate(-50%, calc(-50% - 24vh)) rotateY(-18deg) rotateX(18deg) rotateZ(-6deg); }
  .hero-phone-wrap .phone { width: min(270px, 66vw, 40vh); }
  .hero-caption { left: var(--gutter); right: var(--gutter); top: 88px; bottom: auto; }
  .hero-caption .lead { font-size: 15px; }
  #cap2 { display: none; }
  .scroll-hint { display: none; }
}
