/* AIFace Pro — ücretsiz test sayfası (ucretsiz-test.html / .en.html). giris.css + sayfa.css + ic.css üstüne.
   Anasayfanın dili: mor gökyüzü, cam kartlar (.cam), sıcak degrade düğmeler, kristal küre (mikrofon). */

.ut .ic-bas { padding-bottom: clamp(34px, 3.4vw, 56px); }
.gizli { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ut [hidden] { display: none !important; }

.ut-sahne { position: relative; isolation: isolate; max-width: 780px; margin: 0 auto; padding: 0 var(--kenar) clamp(80px, 8vw, 130px); box-sizing: content-box; }
.ut-kart { padding: clamp(22px, 3.4vw, 46px); color: #fff; }

/* Adımlar */
.ut-adim + .ut-adim { margin-top: clamp(26px, 2.8vw, 38px); padding-top: clamp(26px, 2.8vw, 38px); border-top: 1px solid rgba(255,255,255,.16); }
.ut-adim h2 {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: #fff;
}
.ut-no {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1rem; font-weight: 800; color: #fff; background: var(--sicak);
  box-shadow: 0 10px 22px -10px rgba(255,90,170,.95), inset 0 1px 0 rgba(255,255,255,.45);
}
.ut-ipucu { margin: 12px 0 0; font-size: .98rem; line-height: 1.55; color: var(--yazi-acik); }

/* Fotoğraf */
.ut-yukle {
  position: relative; display: grid; place-items: center; min-height: 210px; border-radius: 24px; cursor: pointer; overflow: hidden;
  border: 2px dashed rgba(255,255,255,.5); background: rgba(255,255,255,.08);
  transition: border-color .2s, background .2s, transform .2s;
}
.ut-yukle:hover, .ut-yukle.surukle { border-color: #fff; background: rgba(255,255,255,.16); }
.ut-yukle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ut-yukle-bos { display: grid; justify-items: center; gap: 12px; padding: 26px; text-align: center; pointer-events: none; }
.ut-yukle-bos svg {
  width: 64px; height: 64px; padding: 15px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: linear-gradient(135deg, var(--mor), var(--eflatun) 55%, var(--pembe)); box-shadow: 0 14px 30px -12px rgba(98,52,220,.9);
}
.ut-yukle-bos b { font-size: 1.06rem; color: #fff; }
.ut-yukle img { display: block; max-width: 100%; max-height: 360px; pointer-events: none; }
.ut-yukle.dolu { min-height: 0; border-style: solid; border-color: rgba(255,255,255,.4); background: rgba(20,6,70,.25); }
.ut-yukle-degis {
  position: absolute; right: 12px; bottom: 12px; padding: 8px 15px; border-radius: 999px; pointer-events: none;
  font-size: .86rem; font-weight: 700; color: #fff; background: rgba(27,17,69,.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* Okunacak metin: parlayan beyaz kâğıt */
.ut-metin {
  position: relative; margin: 0; padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px); border-radius: 24px;
  font-size: clamp(1.18rem, 1.9vw, 1.5rem); font-weight: 700; line-height: 1.5; letter-spacing: -.012em; color: var(--murekkep);
  background: linear-gradient(180deg, #fff, #f7f1ff); border: 1px solid #fff;
  box-shadow: 0 26px 50px -28px rgba(16,4,70,.9), 0 0 0 6px rgba(255,255,255,.1);
}
.ut-metin::before {
  content: "“"; position: absolute; top: -18px; left: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2rem; line-height: 1; color: #fff; background: var(--sicak); box-shadow: 0 8px 18px -8px rgba(255,90,170,.9);
}

/* Kayıt: mikrofon = kristal küre */
.ut-kayit { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 32px); margin-top: 26px; }
.ut-kayit-yan { flex: 1; min-width: 0; }
.ut-kayit-yan .ut-ipucu { margin: 0; font-weight: 600; color: #fff; }
.ut-kayit-yan audio { display: block; width: 100%; max-width: 420px; margin-top: 12px; }
.ut-mik {
  --seviye: 0; flex: none; width: 118px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-appearance: none; appearance: none; font-family: inherit; color: #fff; transition: transform .2s;
}
.ut-mik:hover { transform: scale(1.04); }
.ut-mik:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 50%; }
.ut-mik::before { transform: scale(calc(.9 + var(--seviye) * .5)); }
.ut-mik.kayit::before { animation: none; opacity: 1; transition: transform .08s linear; }
.ut-mik .kure-ikon { width: 44%; height: 44%; }
.ut-mik.kayit .kure-ikon { display: none; }
.ut-mik.kayit { --k1: #ffb36b; --k2: #ff4f9a; --k3: #ffe9d8; --hale: rgba(255,130,150,.65); }
.ut-sayac { display: none; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 2px 8px rgba(30,8,90,.5); }
.ut-mik.kayit .ut-sayac { display: block; }
.ut-halka { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.ut-halka circle { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 4; }
.ut-halka .ut-halka-dolu { stroke: #ffe58a; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; filter: drop-shadow(0 0 4px rgba(255,220,140,.9)); }
.ut-ikincil {
  margin-top: 12px; padding: 10px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .95rem; font-weight: 700;
  color: #fff; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.55);
}
.ut-ikincil:hover { background: rgba(255,255,255,.2); }

/* Onay ve gönder */
.ut-kutu { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.5; color: var(--yazi-acik); cursor: pointer; }
.ut-kutu input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--pembe); cursor: pointer; }
.ut-kutu a { color: #fff; font-weight: 700; }
.ut-kutu--kucuk { font-size: .92rem; }
.ut-gonder { width: 100%; margin-top: 22px; }
.ut-gonder:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.ut-gonder:disabled::after { display: none; }
.ut-hata {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; font-size: .98rem; font-weight: 650; line-height: 1.5;
  color: #fff; background: rgba(240,72,154,.28); border: 1px solid rgba(255,170,210,.6);
}
.ut-hata:empty { display: none; }

/* Durum kartları */
.ut-durum { text-align: center; }
.ut-durum h2 { margin: 16px 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; color: #fff; }
.ut-durum p { margin: 0 auto; max-width: 32em; font-size: 1.04rem; line-height: 1.6; color: var(--yazi-acik); }
.ut-durum p b { color: #fff; }
.ut-donen { display: inline-block; width: 58px; height: 58px; border-radius: 50%; border: 5px solid rgba(255,255,255,.2); border-top-color: #ffe58a; border-right-color: #ff7dc7; animation: ut-don 1s linear infinite; }
@keyframes ut-don { to { transform: rotate(360deg); } }
.ut-tamam-ikon { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--sicak); box-shadow: 0 16px 34px -12px rgba(255,90,170,.95); }
.ut-tamam-ikon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ut-eposta { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 540px; margin: 24px auto 0; text-align: left; }
.ut-eposta input[type=email] {
  min-height: 56px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 1.04rem; color: var(--murekkep);
  border: 1px solid #fff; background: #fff; outline: none; box-shadow: 0 14px 30px -18px rgba(16,4,70,.9);
}
.ut-eposta input[type=email]:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.ut-eposta .dugme { min-height: 56px; }
.ut-eposta .ut-kutu, .ut-eposta .ut-hata { grid-column: 1 / -1; }

/* Fiyat bölümü (anasayfadan birebir; stili sayfa.css'te) + gizlilik notu */
.ut .teklif { padding-top: clamp(10px, 2vw, 40px); padding-bottom: clamp(30px, 3vw, 50px); }
.ut-alt-not { position: relative; padding: 0 var(--kenar) clamp(30px, 3vw, 50px); }
.ut-gizlilik { max-width: 46em; margin: 0 auto; text-align: center; font-size: .93rem; line-height: 1.6; color: var(--yazi-acik); }
.ut-gizlilik a { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
  .ut-kayit { flex-direction: column; text-align: center; }
  .ut-kayit-yan { width: 100%; }
  .ut-kayit-yan audio { margin-left: auto; margin-right: auto; }
  .ut-eposta { grid-template-columns: 1fr; }
  .ut-yukle { min-height: 180px; }
  .ut-adim h2 { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .ut-donen { animation-duration: 3s; } .ut-mik, .ut-mik::before { transition: none; } }

/* Kayıt sürerken süs animasyonları durur (telefonda işlemciyi kayda bırakır) */
.ut-kayitta .bulut, .ut-kayitta .isilti, .ut-kayitta .parlak, .ut-kayitta .dugme::after { animation-play-state: paused; }

/* Kayıt öncesi 3-2-1 geri sayım: mavi-mor küre, her saniye büyüyüp yerine oturan rakam */
.ut-mik.geri { --k1: #9aa8ff; --k2: #6c4dff; --k3: #e8ebff; --hale: rgba(130,140,255,.65); }
.ut-mik.geri .ut-sayac { font-size: 2.8rem; }
.ut-sayac.vur { animation: ut-vur .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ut-vur { from { transform: scale(1.7); opacity: 0; } 35% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ut-sayac.vur { animation: none; } }
