/* AIFace Pro — yeni anasayfa, giriş ekranı (Faz 1)
   Görsel: gorsel/giris-yatay.webp (1672x941) ve gorsel/giris-dikey.webp (941x1672).
   3D / WebGL yok; canlandırma SVG + CSS + küçük bir 2B tuval. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --murekkep: #1b1145;        /* başlık ve güçlü yazı */
  --murekkep-2: #40336f;      /* gövde yazısı */
  --mor: #5b3df5;
  --eflatun: #a83cf0;
  --pembe: #f0489a;
  --altin: #ff9d4d;

  /* Sayfa zemini: girişin alt kenarı bu renge erir (görselin alt satırlarının ortalaması);
     alt bölümler buradan referanstaki gibi canlı mora derinleşir (sayfa.css → .sayfa). */
  --zemin-ust: #d8a6d8;

  --kenar: clamp(20px, 6vw, 112px);
  --oran-yatay: .5628;        /* 941 / 1672 */
  /* Alt sayfanın girişin altına girdiği pay: girişin eriyen alt kenarının arkasında bulutlar görünür. */
  --dikis: clamp(170px, 17vw, 300px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: #a48cf0; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--murekkep);
  background: var(--zemin-ust);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }

/* ───────────── Üst menü (cam haplar) ─────────────
   Solda logo + menü, sağda giriş + demo. Aradaki boşluk görseldeki yıldızın üstünü açık bırakır;
   menü yalnızca yıldıza değmeyecek genişlikte (≥1280px) görünür. Kaydırınca tek cam şeride dönüşüp sabitlenir. */
.ust {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  padding: clamp(12px, 1.4vw, 22px) var(--kenar) 0;
}
.ust-cam { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ust-sol, .ust-sag { display: flex; align-items: center; }
.ust-sol .logo, .ust-sag .ust-giris { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ust-sol, .ust-sag, .logo, .ust-giris {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.38));
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 12px 34px -14px rgba(76,48,160,.34), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-radius: 999px;
}
.ust-sag { padding: 4px; gap: 4px; }
.menu { display: none; list-style: none; margin: 0; padding: 0 8px 0 2px; gap: 2px; }
.menu a {
  display: block; padding: 10px clamp(10px, .9vw, 15px); border-radius: 999px;
  text-decoration: none; font-weight: 650; font-size: clamp(.9rem, .95vw, .98rem); color: var(--murekkep);
  white-space: nowrap; transition: background .2s, color .2s;
}
.menu a:hover { background: rgba(255,255,255,.7); }
.ust-dugme {
  display: none; align-items: center; height: clamp(40px, 3.2vw, 46px); padding: 0 clamp(14px, 1.3vw, 20px);
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 750; font-size: clamp(.88rem, .95vw, .98rem); color: #fff;
  background: linear-gradient(100deg, var(--mor) 0%, #8a3ef2 50%, var(--pembe) 100%);
  box-shadow: 0 10px 24px -10px rgba(98,52,220,.7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .2s;
}
.ust-dugme:hover { transform: translateY(-1px); }
@media (min-width: 1280px) and (orientation: landscape) {
  .menu { display: flex; }
  .ust-dugme { display: inline-flex; }
}

/* Kaydırınca: tek parça mor cam şerit, ekranın üstüne sabitlenir. */
.ust--sabit { position: fixed; padding-top: 10px; animation: ust-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes ust-in { from { transform: translateY(-110%); } to { transform: none; } }
.ust--sabit .ust-cam {
  padding: 5px 5px 5px 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(64,36,160,.66), rgba(44,22,120,.58));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 44px -22px rgba(10,0,60,.8), inset 0 1px 0 rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.ust--sabit .ust-sol, .ust--sabit .ust-sag { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ust--sabit .logo { height: 50px; }
.ust--sabit .logo-yazi, .ust--sabit .menu a, .ust--sabit .ust-giris { color: #fff; }
.ust--sabit .menu a:hover, .ust--sabit .ust-giris:hover { background: rgba(255,255,255,.14); }
.ust--sabit .ust-dugme { display: inline-flex; background: linear-gradient(100deg, #ff9b58 0%, #ff6aa5 52%, #e052de 100%); box-shadow: 0 10px 24px -10px rgba(255,90,170,.7), inset 0 1px 0 rgba(255,255,255,.45); }
@media (min-width: 1100px) { .ust--sabit .menu { display: flex; } }

.logo {
  display: inline-flex; align-items: center; gap: clamp(8px, .8vw, 12px);
  height: clamp(54px, 4.5vw, 66px); padding: 0 clamp(16px, 1.6vw, 26px) 0 clamp(10px, 1vw, 16px);
  text-decoration: none; color: var(--murekkep);
}
.logo-isaret { height: clamp(36px, 3.1vw, 46px); width: auto; display: block; filter: drop-shadow(0 3px 8px rgba(91,61,245,.22)); }
.logo-yazi { font-weight: 800; font-size: clamp(1.2rem, 1.55vw, 1.55rem); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.logo-pro {
  display: inline-block; margin-left: .38em; padding: .2em .58em .24em;
  border-radius: 999px; font-size: .58em; letter-spacing: .03em; vertical-align: .22em;
  color: #fff; background: linear-gradient(100deg, var(--mor), var(--eflatun) 55%, var(--pembe));
  box-shadow: 0 4px 12px -4px rgba(140,60,240,.6);
}
.ust-giris {
  display: inline-flex; align-items: center; height: clamp(46px, 3.7vw, 54px); padding: 0 clamp(18px, 1.7vw, 28px);
  text-decoration: none; font-weight: 700; font-size: clamp(.92rem, 1.02vw, 1.04rem);
  color: var(--murekkep); transition: background .2s, transform .2s;
}
.ust-sag .ust-giris { height: clamp(40px, 3.2vw, 46px); padding: 0 clamp(14px, 1.3vw, 20px); }
.ust-giris:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }
.ust-sag .ust-giris:hover { background: rgba(255,255,255,.7); transform: none; }
/* Dil geçişi (TR ↔ EN) */
.ust-dil {
  display: inline-flex; align-items: center; height: clamp(40px, 3.2vw, 46px); padding: 0 12px; border-radius: 999px;
  text-decoration: none; font-weight: 800; font-size: .86rem; letter-spacing: .05em; color: var(--murekkep); transition: background .2s;
}
.ust-dil:hover { background: rgba(255,255,255,.7); }
.ust-dil:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ust--sabit .ust-dil { color: #fff; }
.ust--sabit .ust-dil:hover { background: rgba(255,255,255,.14); }

/* ───────────── Giriş ─────────────
   Giriş alt sayfanın ÜSTÜNDE durur (z-index 2) ve arka planı saydamdır: görselin maskeyle eriyen alt
   kenarından, altına giren sayfanın zemini ve bulutları görünür. Böylece sert bir çizgi oluşmaz. */
.giris {
  --giris-h: max(min(100vh, 56.28vw), 500px);
  position: relative; isolation: isolate; z-index: 2;
  height: var(--giris-h);
}
@supports (height: 100svh) {
  .giris { --giris-h: max(min(100svh, 56.28vw), 500px); }
}

.giris-kirp {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  /* Alt kenar sayfa zeminine fark edilmeden karışır. */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 73%, rgba(0,0,0,.74) 84%, rgba(0,0,0,.32) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 73%, rgba(0,0,0,.74) 84%, rgba(0,0,0,.32) 93%, transparent 100%);
}
/* Sahne: görselle aynı oranda kutu. Işıklar görselin piksel koordinatlarıyla bu kutuya oturur. */
.sahne {
  position: absolute; right: 0; top: 30%;
  width: max(100%, calc(var(--giris-h) / var(--oran-yatay)));
  aspect-ratio: 1672 / 941;
  /* --px / --py: imleç hareketiyle çok hafif kayma (giris.js); 1.035 büyütme kenar açılmasın diye. */
  transform: translateY(-30%) translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.035);
  will-change: transform;
}
.sahne picture { display: block; width: 100%; height: 100%; }
.sahne-gorsel { display: block; width: 100%; height: 100%; object-fit: cover; }
.sahne-ust { display: none; }

.isik { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.isik--dikey { display: none; }
.toz { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── Yıldız: nefes alan parlama, yayılan halkalar, dönen ışınlar, mercek parlaması ── */
.yildiz { transform: translate(var(--x), var(--y)); }
.yildiz-hale { transform-box: fill-box; transform-origin: center; animation: hale 3.6s ease-in-out infinite; }
@keyframes hale { 0%, 100% { opacity: .5; transform: scale(.84); } 50% { opacity: 1; transform: scale(1.14); } }
.yildiz-halka {
  fill: none; stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: halka 4.2s cubic-bezier(.2, .6, .3, 1) var(--bekle, 0s) infinite;
}
@keyframes halka { 0% { opacity: 0; transform: scale(.3); } 10% { opacity: .6; } 100% { opacity: 0; transform: scale(3.6); } }
.yildiz-isinlar { animation: don 70s linear infinite, isin 4.4s ease-in-out infinite; }
.yildiz-isinlar--ters { animation: don-ters 48s linear infinite, isin 3.1s ease-in-out -1s infinite; }
@keyframes don { to { transform: rotate(360deg); } }
@keyframes don-ters { to { transform: rotate(-360deg); } }
@keyframes isin { 0%, 100% { opacity: .42; } 50% { opacity: .95; } }
.yildiz-flare { animation: flare 5.2s ease-in-out infinite; }
@keyframes flare { 0%, 100% { opacity: .3; transform: scale(.5, .75); } 50% { opacity: .95; transform: scale(1.15, 1.1); } }
.yildiz-kivilcim { animation: kivilcim 2.8s ease-in-out infinite; }
@keyframes kivilcim { 0%, 100% { transform: scale(2) rotate(0deg); } 50% { transform: scale(3.9) rotate(45deg); } }

/* ── Video karelerinin üzerinden sırayla geçen parıltı ── */
.kare-isik {
  transform-box: fill-box; transform: translateX(-130%);
  animation: kare-isik 9.2s cubic-bezier(.5, 0, .3, 1) var(--bekle, 0s) infinite;
}
@keyframes kare-isik { 0%, 74% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* ── Işıltılar ── */
.par {
  opacity: 0; transform: translate(var(--x), var(--y)) scale(0);
  animation: par var(--sure, 3.5s) ease-in-out var(--bekle, 0s) infinite;
}
@keyframes par {
  0%, 28%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0) rotate(0deg); }
  54% { opacity: 1; transform: translate(var(--x), var(--y)) scale(calc(var(--s, 1) * var(--k, 1))) rotate(25deg); }
  76% { opacity: .45; transform: translate(var(--x), var(--y)) scale(calc(var(--s, 1) * var(--k, 1) * .55)) rotate(50deg); }
}

/* ── Cam şeritlerde akan ışık ──
   Şerit önce hafifçe ışır (taban), üzerinden dört katmanlı bir ışık geçer (geniş pembe hale → ince beyaz çekirdek),
   en önde de şeridi izleyen bir kıvılcım gider. */
.yol-taban {
  fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; opacity: .08;
  animation: taban 5.5s ease-in-out var(--bekle, 0s) infinite;
}
@keyframes taban { 0%, 100% { opacity: .05; } 50% { opacity: .26; } }
.yol > use {
  fill: none; stroke-linecap: round;
  stroke-dasharray: var(--L) 3000px; stroke-dashoffset: var(--L);
  animation: ak var(--sure, 8s) var(--bekle, 0s) infinite;
}
.yol > use:nth-child(1) { --L: 320px; stroke: #ff8fe0; stroke-width: 24; opacity: .16; }
.yol > use:nth-child(2) { --L: 240px; stroke: #ffc9f1; stroke-width: 13; opacity: .34; }
.yol > use:nth-child(3) { --L: 150px; stroke: #fff1cf; stroke-width: 6.5; opacity: .88; }
.yol > use:nth-child(4) { --L: 46px;  stroke: #fff;    stroke-width: 6; }
.yol--uzun > use:nth-child(1) { --L: 200px; }
.yol--uzun > use:nth-child(2) { --L: 150px; }
.yol--uzun > use:nth-child(3) { --L: 95px; }
.yol--uzun > use:nth-child(4) { --L: 30px; }
@keyframes ak {
  0% { stroke-dashoffset: var(--L); animation-timing-function: cubic-bezier(.45, .08, .3, 1); }
  58% { stroke-dashoffset: calc(var(--L) - 1000px); animation-timing-function: linear; }
  70%, 100% { stroke-dashoffset: calc(var(--L) - 1340px); }
}
.yol-bas { display: none; }
@supports (offset-path: path("M0 0L1 1")) {
  .yol-bas {
    display: inline; offset-rotate: 0deg; offset-distance: 0%; opacity: 0;
    animation: bas-yol var(--sure, 8s) var(--bekle, 0s) infinite, bas-gor var(--sure, 8s) var(--bekle, 0s) infinite;
  }
}
.yol-bas use { transform: scale(1.3); animation: bas-don 1.4s linear infinite; }
@keyframes bas-yol { 0% { offset-distance: 0%; animation-timing-function: cubic-bezier(.45, .08, .3, 1); } 58%, 100% { offset-distance: 100%; } }
@keyframes bas-gor { 0% { opacity: 0; } 4%, 55% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes bas-don { from { transform: scale(1.3) rotate(0deg); } 50% { transform: scale(1.8) rotate(45deg); } to { transform: scale(1.3) rotate(90deg); } }

/* Hizalama denetimi: adresin sonuna ?iz=1 eklenince yollar, kareler ve ışıltı noktaları sabit görünür. */
.iz .yol > use { animation: none; stroke-dasharray: none; stroke: #ff00d4; stroke-width: 2; opacity: 1; }
.iz .yol-bas, .iz .yol-taban { display: none; }
.iz .kare-isik { animation: none; transform: none; fill: rgba(255, 0, 212, .35); }
.iz .par { animation: none; opacity: 1; transform: translate(var(--x), var(--y)) scale(var(--s, 1)); }

/* ───────────── Giriş yazısı ───────────── */
.giris-yazi {
  position: absolute; z-index: 2;
  left: var(--kenar); top: 52%;
  width: min(38vw, 600px);
  transform: translateY(-46%);
}
/* Yazının arkasında çok hafif bir aydınlık: gökyüzünü ferahlatır, okumayı kolaylaştırır. */
.giris-yazi::before {
  content: ""; position: absolute; z-index: -1; inset: -34% -36% -34% -60%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.46), rgba(255,255,255,.2) 58%, rgba(255,255,255,0) 100%);
}
.giris-baslik {
  margin: 0; font-weight: 800; font-size: clamp(2.6rem, 5.5vw, 6rem);
  line-height: 1.04; letter-spacing: -.036em; color: var(--murekkep);
}
.vurgu {
  display: block; padding-bottom: .14em; margin-bottom: -.14em;
  background: linear-gradient(96deg, var(--mor) 0%, var(--eflatun) 36%, var(--pembe) 70%, var(--altin) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.giris-metin {
  margin: clamp(16px, 1.7vw, 28px) 0 0; max-width: 27em; text-wrap: balance;
  font-size: clamp(1rem, 1.34vw, 1.36rem); line-height: 1.55; font-weight: 500; color: var(--murekkep-2);
}
.giris-metin--guclu { margin-top: .55em; font-weight: 700; color: var(--murekkep); }

.giris-eylem { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(18px, 2vw, 30px); margin-top: clamp(22px, 2.5vw, 42px); }

.dugme {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: clamp(52px, 4.3vw, 64px); padding: 0 clamp(22px, 2.2vw, 34px);
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: clamp(1rem, 1.18vw, 1.18rem); letter-spacing: -.01em; color: #fff;
  background: linear-gradient(100deg, var(--mor) 0%, #8a3ef2 46%, var(--pembe) 100%);
  box-shadow: 0 18px 38px -14px rgba(98,52,220,.7), 0 4px 10px -4px rgba(240,72,154,.45), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.dugme::after { /* üzerinden geçen ince ışık */
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 34%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.42), rgba(255,255,255,0));
  transform: skewX(-18deg); animation: dugme-isik 6.5s ease-in-out 1.6s infinite;
}
@keyframes dugme-isik { 0%, 62% { left: -40%; } 82%, 100% { left: 115%; } }
.dugme:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -14px rgba(98,52,220,.78), 0 6px 14px -4px rgba(240,72,154,.5), inset 0 1px 0 rgba(255,255,255,.45); }
.dugme:active { transform: translateY(0); }
.dugme-fiyat { font-weight: 600; opacity: .92; }
.dugme-fiyat::before { content: "·"; margin-right: .6em; opacity: .8; }

/* Ücretsiz test düğmesi (girişte, 29 USD düğmesinin yanında): beyaz cam üstünde nabız atan mikrofon küresi */
.dugme--test {
  gap: .7em; padding: 0 clamp(18px, 1.8vw, 26px) 0 8px; color: var(--murekkep); white-space: normal; text-align: left; line-height: 1.22;
  font-size: clamp(.95rem, 1.05vw, 1.08rem); font-weight: 650;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.66));
  border: 1px solid #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px -16px rgba(76,48,160,.55), inset 0 1px 0 #fff;
}
.dugme--test b { font-weight: 800; color: var(--mor); }
.dugme--test::after { background: linear-gradient(100deg, rgba(168,60,240,0), rgba(168,60,240,.16), rgba(168,60,240,0)); }
.dugme--test:hover { box-shadow: 0 24px 44px -16px rgba(76,48,160,.68), inset 0 1px 0 #fff; }
.dugme-mik {
  flex: none; display: grid; place-items: center; width: clamp(38px, 3.2vw, 46px); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--mor), var(--eflatun) 55%, var(--pembe));
  animation: mik-nabiz 2.4s ease-in-out infinite;
}
.dugme-mik svg { width: 52%; height: 52%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mik-nabiz {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,72,154,.5), 0 6px 14px -6px rgba(91,61,245,.8); }
  60% { box-shadow: 0 0 0 9px rgba(240,72,154,0), 0 6px 14px -6px rgba(91,61,245,.8); }
}

.bag {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  text-decoration: none; font-weight: 700; font-size: clamp(.98rem, 1.12vw, 1.12rem); color: var(--murekkep);
}
.bag svg { transition: transform .25s; }
.bag:hover svg { transform: translateY(3px); }
.dugme:focus-visible, .bag:focus-visible, .ust-giris:focus-visible, .logo:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }

/* Açılış: yazı yumuşakça yerine oturur (betik beklemez). */
.giris-yazi > * { animation: gir .9s cubic-bezier(.2,.7,.2,1) both; }
.giris-yazi > :nth-child(2) { animation-delay: .1s; }
.giris-yazi > :nth-child(3) { animation-delay: .18s; }
.giris-yazi > :nth-child(4) { animation-delay: .28s; }
.giris-yazi > :nth-child(5) { animation-delay: .36s; }

/* ───────────── Hedef kitle ─────────────
   Masaüstü: heykel standının altında meslek rozetleri (.meslekler). Telefon: başlığın altında cümle (.hedef-alt). */
.hedef-alt { display: none; }
.meslekler {
  position: absolute; z-index: 3; left: 69%; bottom: clamp(60px, 6.4vw, 84px); transform: translateX(-50%);
  width: max-content; max-width: min(680px, 58vw); text-align: center;
}
.meslekler > * { animation: gir .9s cubic-bezier(.2,.7,.2,1) .55s both; }
.meslekler ul { animation-delay: .7s; }
.meslekler p {
  display: inline-block; margin: 0 0 8px; padding: 6px 15px; border-radius: 999px;
  font-size: clamp(.84rem, .95vw, 1rem); font-weight: 800; letter-spacing: -.01em; color: var(--murekkep);
  background: rgba(255,255,255,.78); border: 1px solid #fff; box-shadow: 0 8px 20px -12px rgba(70,30,160,.55);
}
.meslekler p b {
  background: linear-gradient(96deg, var(--mor), var(--eflatun) 50%, var(--pembe));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.meslekler ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.meslekler li {
  padding: 7px 13px; border-radius: 999px; font-size: clamp(.78rem, .84vw, .9rem); font-weight: 700; color: var(--murekkep);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 8px 20px -12px rgba(70,30,160,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.meslekler li:last-child { background: linear-gradient(100deg, var(--mor), var(--pembe)); color: #fff; border-color: transparent; }
/* Dar masaüstünde rozetler yazı sütununa taşmasın */
@media (max-width: 1180px) {
  .meslekler { left: 68%; max-width: 58vw; }
  .meslekler ul { gap: 5px; }
  .meslekler li { padding: 6px 10px; font-size: .74rem; }
}
@keyframes gir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ───────────── Telefon ve dikey ekran ───────────── */
@media (max-width: 760px), (orientation: portrait) {
  :root { --zemin-ust: #c597dc; --dikis: 200px; }
  .meslekler { display: none; }
  .hedef-alt {
    display: block; margin: clamp(10px, 3vw, 18px) auto 0; max-width: 26em; text-wrap: balance;
    font-size: clamp(.98rem, 4.3vw, 1.2rem); line-height: 1.45; font-weight: 600;
    color: rgba(255,255,255,.95); text-shadow: 0 1px 12px rgba(38,18,120,.5);
  }
  .hedef-alt b {
    display: block; font-weight: 800;
    background: linear-gradient(96deg, #fff4c6, #ffdc86 40%, #ffbde6);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none;
  }
  .giris {
    --sahne-w: max(100vw, calc(100vh * .5628));
    --sahne-h: calc(var(--sahne-w) / .5628);
    --yazi-h: min(calc(96px + 92vw), 540px);                       /* menü + yazı bloğunun kapladığı yükseklik */
    --ek: max(0px, calc(var(--yazi-h) - var(--sahne-h) * .285));    /* yazıya yer açmak için üste eklenen gökyüzü */
    height: calc(var(--sahne-h) + var(--ek));
    /* Yalnızca en üstte, aynalanan gökyüzünün eridiği yerde görünür; aşağısı saydam (alt sayfa görünsün). */
    background: linear-gradient(180deg, #8f7ded 0%, #9f8bf1 22%, rgba(180,150,236,.6) 42%, rgba(180,150,236,0) 56%);
  }
  @supports (height: 100svh) {
    .giris { --sahne-w: max(100vw, calc(100svh * .5628)); }
  }
  .giris-kirp {
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 79%, rgba(0,0,0,.72) 88%, rgba(0,0,0,.28) 95%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 79%, rgba(0,0,0,.72) 88%, rgba(0,0,0,.28) 95%, transparent 100%);
  }
  .sahne {
    right: auto; left: 50%; top: auto; bottom: 0;
    width: var(--sahne-w); aspect-ratio: 941 / 1672;
    transform: translateX(-50%);
  }
  /* Görselin üst kenarı yukarı doğru aynalanır: ek gökyüzü görselle dikişsiz birleşir. */
  .sahne-ust {
    display: block; position: absolute; left: 50%; bottom: calc(var(--sahne-h) - 1px);
    width: var(--sahne-w); height: calc(var(--ek) + 2px);
    transform: translateX(-50%) scaleY(-1);
    background: url(gorsel/giris-dikey.webp) top center / 100% auto no-repeat;
    /* Yalnızca boş gökyüzü aynalanır; daha yukarısı düz gökyüzü rengine erir (yıldız yansımasın). */
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--sahne-h) * .09), transparent calc(var(--sahne-h) * .23));
    mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--sahne-h) * .09), transparent calc(var(--sahne-h) * .23));
  }
  .isik--yatay { display: none; }
  .isik--dikey { display: block; }
  /* Dikey görsel ekranda yaklaşık yarı ölçekte çizilir; ışıklar buna göre kalınlaştırılır. */
  .isik--dikey .yol-taban { stroke-width: 15; }
  .isik--dikey .yol > use:nth-child(1) { stroke-width: 42; }
  .isik--dikey .yol > use:nth-child(2) { stroke-width: 23; }
  .isik--dikey .yol > use:nth-child(3) { stroke-width: 11; }
  .isik--dikey .yol > use:nth-child(4) { stroke-width: 10; }
  .isik--dikey .par { --k: 1.25; }
  .isik--dikey .yol-bas use { animation-name: bas-don-dikey; }
  @keyframes bas-don-dikey { from { transform: scale(1.9) rotate(0deg); } 50% { transform: scale(2.6) rotate(45deg); } to { transform: scale(1.9) rotate(90deg); } }

  .ust { padding: 12px 14px 0; }
  .logo { height: 50px; padding: 0 16px 0 10px; }
  .logo-isaret { height: 34px; }
  .logo-yazi { font-size: 1.14rem; }
  .ust-giris, .ust-sag .ust-giris { height: 42px; padding: 0 15px; font-size: .9rem; }
  .ust-dil { height: 42px; padding: 0 10px; font-size: .82rem; }
  .ust--sabit { padding: 8px 10px 0; }
  .ust--sabit .logo { height: 44px; padding: 0 10px 0 6px; }
  .ust--sabit .logo-isaret { height: 30px; }
  .ust--sabit .logo-yazi { font-size: 1.05rem; }
  .ust--sabit .ust-giris { display: none; }
  .ust--sabit .ust-dugme { height: 40px; padding: 0 16px; font-size: .9rem; }

  .giris-yazi {
    left: 0; right: 0; top: calc(66px + 5.2vw); width: auto; max-width: 600px; margin: 0 auto;
    padding: 0 6vw; transform: none; text-align: center;
  }
  /* Telefonda yazı mor gökyüzünün üstünde: koyu yazı boğuluyordu. Gökyüzünün tepesi biraz derinleşir, yazı beyaz olur. */
  .giris-yazi::before {
    inset: calc(-66px - 5.2vw) 0 -70px 0;
    background: linear-gradient(180deg, rgba(58,34,160,.54) 0%, rgba(66,40,172,.44) 55%, rgba(78,50,190,.2) 82%, rgba(90,60,200,0) 100%);
  }
  .giris-baslik { color: #fff; text-shadow: 0 3px 22px rgba(38,18,120,.45); }
  .vurgu {
    background: linear-gradient(96deg, #fff4c6 0%, #ffdc86 34%, #ffbde6 72%, #ffe9f8 100%);
    -webkit-background-clip: text; background-clip: text;
    text-shadow: none;   /* saydam dolgunun altından gölge görünüp rengi matlaştırmasın */
  }
  .giris-metin { color: rgba(255,255,255,.94); text-shadow: 0 1px 12px rgba(38,18,120,.5); }
  .giris-metin--guclu { color: #fff; }
  .bag { color: #fff; text-shadow: 0 1px 12px rgba(38,18,120,.5); }
  /* Telefonda giriş düğmesi beyaz (yalnızca girişte; alt bölümlerin düğmeleri kendi renginde kalır). */
  .giris-yazi .dugme {
    color: #2a1790; background: #fff;
    box-shadow: 0 18px 40px -14px rgba(30,12,110,.6), 0 0 0 1px rgba(255,255,255,.6), 0 0 34px -6px rgba(255,255,255,.55);
  }
  .giris-yazi .dugme-fiyat { color: #d92f86; font-weight: 700; opacity: 1; }
  .giris-yazi .dugme::after { background: linear-gradient(100deg, rgba(168,60,240,0), rgba(168,60,240,.18), rgba(168,60,240,0)); }
  .giris-baslik { font-size: clamp(2.3rem, 12.2vw, 4.4rem); }
  .giris-metin { margin: clamp(12px, 3.6vw, 22px) auto 0; font-size: clamp(.94rem, 4.1vw, 1.2rem); line-height: 1.5; }
  .giris-metin--guclu { margin-top: .5em; }
  .giris-eylem { flex-direction: column; gap: 6px; margin-top: clamp(18px, 5.4vw, 30px); }
  .giris-yazi .dugme { width: 100%; max-width: 420px; min-height: 54px; padding: 0 16px; font-size: clamp(.94rem, 4.1vw, 1.1rem); }
  /* Ücretsiz test düğmesi telefonda saydam cam + beyaz yazı: beyaz 29 USD düğmesinden ayrışsın */
  .giris-yazi .dugme--test {
    justify-content: flex-start; padding: 6px 16px 6px 7px; color: #fff; font-size: clamp(.9rem, 3.9vw, 1.02rem);
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 16px 34px -16px rgba(30,12,110,.7), inset 0 1px 0 rgba(255,255,255,.4);
  }
  .giris-yazi .dugme--test b { color: #ffe58a; }
  .giris { --yazi-h: min(calc(158px + 92vw), 610px); }
  .bag { font-size: clamp(.94rem, 4vw, 1.05rem); }
}

/* ───────────── Hareket azaltma: her şey sabit ve görünür kalır ───────────── */
@media (prefers-reduced-motion: reduce) {
  .meslekler > * { animation: none; }
  html { scroll-behavior: auto; }
  .giris-yazi > *, .yildiz-hale, .yildiz-isinlar, .yildiz-flare, .yildiz-kivilcim, .yol-taban { animation: none; }
  .yol, .yildiz-halka, .kare-isik, .dugme::after { display: none; }
  .yol-taban { opacity: .14; }
  .par { animation: none; opacity: .75; transform: translate(var(--x), var(--y)) scale(calc(var(--s, 1) * var(--k, 1) * .7)); }
  .sahne { will-change: auto; }
}
