/* okipulse.com ortak görünüm (5 Aralık 2026): ana sayfa, Hakkında, İndir. */
:root {
  --turuncu: #f08c0a; --mavi: #10a2e5; --yesil: #2e9e6b;
  --gecis: linear-gradient(90deg, var(--turuncu) 0%, var(--mavi) 52%, var(--yesil) 100%);
  --zemin: #ffffff; --kart: #ffffff; --yazi: #0f1419; --soluk: #536471; --cizgi: #cfd9de; --hafif: #eff3f4;
}
@media (prefers-color-scheme: dark) {
  :root { --zemin: #000000; --kart: #16181c; --yazi: #e7e9ea; --soluk: #8b98a5; --cizgi: #333639; --hafif: #202327; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--zemin); color: var(--yazi); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--mavi); }
[lang="tr"] [data-dil="en"], [lang="en"] [data-dil="tr"] { display: none !important; }

/* Pulse işareti: arada bir bildirim gibi çift atar (hareketi azaltma tercihine uyar). */
@keyframes at { 0%, 46%, 100% { transform: scale(1); } 8% { transform: scale(1.12); } 16% { transform: scale(.97); } 24% { transform: scale(1.08); } 32% { transform: scale(1); } }
@keyframes halka { 0% { transform: scale(.55); opacity: .55; } 100% { transform: scale(1.35); opacity: 0; } }
.nabiz { animation: at 2.6s ease-in-out infinite; transform-origin: 50% 54%; }
@media (prefers-reduced-motion: reduce) { .nabiz, .isaret .halka { animation: none !important; } .isaret .halka { opacity: 0; } }

/* ---- Ana sayfa (X düzeni) ---- */
.giris { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  max-width: 1280px; width: 100%; margin: 0 auto; padding: 40px 32px; gap: 32px; }
.giris .sol { max-width: 470px; justify-self: center; width: 100%; }
.giris h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 40px; font-weight: 800; }
.giris h1 span { background: var(--gecis); -webkit-background-clip: text; background-clip: text; color: transparent; }
.giris h2 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 22px; font-weight: 800; }
.dugmeler { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.dugme { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; border: 1px solid var(--cizgi);
  background: var(--kart); color: var(--yazi); transition: background .15s, filter .15s; }
.dugme:hover { background: var(--hafif); }
.dugme:focus-visible { outline: 3px solid var(--mavi); outline-offset: 2px; }
.dugme svg { width: 20px; height: 20px; flex: none; }
.dugme.dolu { background: var(--yazi); color: var(--zemin); border-color: transparent; }
.dugme.dolu:hover { filter: brightness(1.25); }
.dugme.mavi { background: transparent; color: var(--mavi); }
.veya { display: flex; align-items: center; gap: 10px; color: var(--soluk); font-size: 15px; }
.veya::before, .veya::after { content: ""; flex: 1; height: 1px; background: var(--cizgi); }
.hukuk { font-size: 12.5px; color: var(--soluk); line-height: 1.45; margin: 2px 0 0; }
.hukuk a { color: var(--mavi); text-decoration: none; }
.hukuk a:hover { text-decoration: underline; }
.hesapvar { margin-top: 44px; max-width: 360px; }
.hesapvar p { font-weight: 700; font-size: 17px; margin: 0 0 14px; }

.isaret { position: relative; justify-self: center; width: min(440px, 38vw); aspect-ratio: 1; display: grid; place-items: center; }
.isaret .hale { position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,140,10,.22) 0%, rgba(16,162,229,.18) 45%, rgba(46,158,107,0) 70%); filter: blur(6px); }
.isaret .halka { position: absolute; inset: 10%; border-radius: 50%; border: 3px solid var(--mavi); opacity: 0; animation: halka 2.6s ease-out infinite; }
.isaret .halka.iki { border-color: var(--turuncu); animation-delay: .35s; }
.isaret .halka.uc { border-color: var(--yesil); animation-delay: .7s; }
.isaret svg { position: relative; width: 72%; height: 72%; }

/* Bilgisayarda: uygulamayı indir QR kutusu (X'teki gibi sağ altta). */
.qr { position: fixed; right: 28px; bottom: 112px; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 18px;
  padding: 14px 18px 16px; text-align: center; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); z-index: 5; }
.qr p { margin: 0 0 10px; font-size: 14px; color: var(--soluk); }
.qr .kod { width: 132px; height: 132px; margin: 0 auto; color: var(--yazi); position: relative; }
.qr .kod svg { width: 100%; height: 100%; display: block; }
.qr .kod i { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%,-50%); background: var(--kart);
  border-radius: 8px; display: grid; place-items: center; }
.qr .kod i svg { width: 24px; height: 24px; }
.qr button { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--soluk); font-size: 18px; cursor: pointer; line-height: 1; padding: 4px; }

/* Uygulamaya geçiş penceresi (bilgisayarda düğmeye basınca). */
dialog.ac { border: 0; border-radius: 20px; padding: 28px 28px 24px; max-width: 380px; width: calc(100% - 32px); background: var(--kart); color: var(--yazi); text-align: center; }
dialog.ac::backdrop { background: rgba(91,112,131,.45); }
dialog.ac h3 { margin: 6px 0 8px; font-size: 22px; }
dialog.ac p { margin: 0 0 16px; color: var(--soluk); font-size: 15px; }
dialog.ac .kod { width: 168px; height: 168px; margin: 0 auto 16px; color: var(--yazi); }
dialog.ac .kod svg { width: 100%; height: 100%; }
dialog.ac .dugme { max-width: none; }

/* ---- Alt bilgi ---- */
footer.alt { padding: 14px 24px 18px; font-size: 13px; color: var(--soluk); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px 24px; }
footer.alt nav { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 980px; }
footer.alt nav > * { white-space: nowrap; }
footer.alt nav > *:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--soluk); }
footer.alt a { color: var(--soluk); text-decoration: none; }
footer.alt a:hover { text-decoration: underline; }
footer.alt .not { grid-column: 2; text-align: center; font-size: 12px; margin: 0; max-width: 820px; justify-self: center; line-height: 1.45; }
footer.alt select { font: inherit; font-size: 13px; color: var(--soluk); background: transparent; border: 0; cursor: pointer; padding: 0; }
.ruscus { grid-column: 3; grid-row: 1 / span 2; justify-self: end; display: flex; flex-direction: column; align-items: center; text-decoration: none !important; padding: 4px 6px; border-radius: 12px; }
.ruscus small { font-size: 9.5px; letter-spacing: .24em; font-weight: 600; color: var(--soluk); }
.ruscus .imza { width: 118px; height: 38px; transform: rotate(-3deg); margin: 3px 0 1px;
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 55%, #22d3ee 100%);
  -webkit-mask: url(/ruscus.png) center / contain no-repeat; mask: url(/ruscus.png) center / contain no-repeat; }
.ruscus .cizgi { width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--soluk) 45%, transparent); opacity: .7; }

/* ---- Hakkında / İndir sayfaları ---- */
.ust { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; width: 100%; margin: 0 auto; padding: 18px 22px; }
.marka { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; text-decoration: none; color: inherit; }
.marka svg { width: 34px; height: 34px; }
.sayfa { flex: 1; max-width: 1040px; width: 100%; margin: 0 auto; padding: 0 22px 48px; }

@media (max-width: 900px) {
  .giris { grid-template-columns: 1fr; padding: 20px 22px 32px; gap: 8px; }
  .giris .sol { justify-self: start; }
  .isaret { grid-row: 1; justify-self: start; width: 112px; }
  .giris h1 { margin-bottom: 28px; }
  .qr { display: none; }
  footer.alt { grid-template-columns: 1fr; }
  footer.alt nav, footer.alt .not { grid-column: 1; }
  .ruscus { grid-column: 1; grid-row: auto; justify-self: center; margin-top: 6px; }
}
