/* ============================================================
   PROTASIS TASARIM SISTEMI
   Renk paleti logodan turetildi. Turuncu (panel markasinin rengi) KULLANILMAZ —
   o Onur Temirel Mimarlik / panel kimligidir.
   ============================================================ */

:root {
  --lacivert:      #1f2a47;
  --lacivert-koyu: #141c31;
  --lacivert-acik: #2b3b63;
  --mavi:          #4a7fd6;
  --mavi-koyu:     #3d6dc0;
  --mavi-acik:     #8fb3ff;
  --yesil:         #3cb371;
  --yesil-koyu:    #1f7a45;
  --yesil-zemin:   #e8f7ee;
  --mavi-zemin:    #eaf1fc;
  --zemin:         #ffffff;
  --zemin-alt:     #fafbfd;
  --zemin-gri:     #f7f8fb;
  --kenar:         #e6e9f0;
  --kenar-ince:    #eef0f4;
  --metin:         #1f2a47;
  --metin-soluk:   rgba(31, 42, 71, .78);
  --golge-kart:    0 12px 28px rgba(31, 42, 71, .10);
  --golge-ekran:   0 14px 40px rgba(31, 42, 71, .18);
  --gecis:         .35s cubic-bezier(.2, .7, .3, 1);
  --sinir-en:      1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--zemin);
  color: var(--metin);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, .marka { font-family: 'Manrope', system-ui, sans-serif; margin: 0; }
h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.8px; font-weight: 800; }
h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.6px; font-weight: 800; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.4px; font-weight: 700; }
p { margin: 0 0 14px; }
a { color: var(--mavi); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.sinir { max-width: var(--sinir-en); margin: 0 auto; padding: 0 32px; width: 100%; }
.bolum { padding: 72px 0; position: relative; }
.bolum-alt { background: var(--zemin-alt); }
.bolum-gri  { background: var(--zemin-gri); }
.orta { text-align: center; }
.orta .aciklama { margin-left: auto; margin-right: auto; }
.aciklama { font-size: 15px; color: var(--metin-soluk); max-width: 560px; margin: 0 0 32px; }
.etiket {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--mavi); text-transform: uppercase; margin-bottom: 10px;
}
.etiket::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mavi); box-shadow: 0 0 0 4px rgba(74, 127, 214, .16);
}

/* --- Butonlar --- */
.dugme {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .2px;
  padding: 11px 20px; border-radius: 8px; border: 0; cursor: pointer;
  transition: transform var(--gecis), box-shadow var(--gecis), background-color .2s ease, color .2s ease;
}
.dugmeBirincil { background: var(--mavi); color: #fff; }
.dugmeBirincil:hover { background: var(--mavi-koyu); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74, 127, 214, .35); }
.dugmeIkincil { border: 1.5px solid var(--lacivert); color: var(--lacivert); background: transparent; }
.dugmeIkincil:hover { background: var(--lacivert); color: #fff; transform: translateY(-2px); }
.dugmeAcik { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.dugmeAcik:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

/* --- Ilerleme cubugu + menu --- */
.ilerleme { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.ilerleme i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mavi), var(--yesil)); transition: width .1s linear; }

.ustMenu {
  position: sticky; top: 3px; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--kenar-ince);
  transition: box-shadow .3s ease, padding .3s ease;
}
.ustMenu.kucuk { box-shadow: 0 6px 24px rgba(31, 42, 71, .10); }
.menuIc { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.marka { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .6px; font-size: 16px; color: var(--lacivert); }
.marka img { border-radius: 8px; }
.menuLinkler { display: flex; align-items: center; gap: 22px; }
.menuLinkler a:not(.dugme) { color: var(--metin-soluk); font-size: 13px; position: relative; }
.menuLinkler a:not(.dugme)::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--mavi); transition: width .25s ease;
}
.menuLinkler a:not(.dugme):hover::after { width: 100%; }

/* --- Hero (bolunmus) --- */
.hero { display: flex; align-items: stretch; min-height: 480px; }
.hero .sol { flex: 1; padding: 72px 40px 72px 32px; display: flex; flex-direction: column; justify-content: center; max-width: 560px; margin-left: auto; }
.hero .sag { flex: 1.15; background: var(--lacivert); border-radius: 70px 0 0 0; padding: 48px 0 48px 40px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero .sag::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero .sag::after {
  content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(74,127,214,.38) 0%, rgba(74,127,214,0) 70%);
  animation: nefes 7s ease-in-out infinite;
}
@keyframes nefes { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.14); opacity: 1; } }
.hero p { font-size: 15px; color: var(--metin-soluk); max-width: 420px; margin-bottom: 22px; }
.hero .dugmeler { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .guvenSatiri { font-size: 12px; color: var(--metin-soluk); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.hero .guvenSatiri::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yesil); flex: 0 0 8px; }

.ekranKutu { position: relative; width: 100%; max-width: 720px; margin-left: auto; }
.ekranCerceve { border-radius: 12px 0 0 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); background: #fff; }
.ekranCerceve img { width: 100%; }

/* --- Suzülen bildirim cipleri --- */
.cip {
  position: absolute; display: flex; align-items: flex-start; gap: 8px;
  background: #fff; color: var(--metin); border-radius: 12px; padding: 9px 13px;
  font-size: 11.5px; font-weight: 600; line-height: 1.3;
  box-shadow: 0 12px 30px rgba(0,0,0,.28); opacity: 0; z-index: 3;
}
.cip .rozet { width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 22px; }
.cip.yesil .rozet { background: var(--yesil-zemin); color: var(--yesil-koyu); }
.cip.mavi  .rozet { background: var(--mavi-zemin);  color: #2f5fb3; }
.cip .altMetin { font-weight: 500; opacity: .6; display: block; }
.cip .miniCubuk { display: block; width: 74px; height: 5px; border-radius: 99px; background: var(--kenar-ince); overflow: hidden; margin-top: 5px; }
.cip .miniCubuk b { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--yesil); animation: doldur 1.6s cubic-bezier(.3,.8,.3,1) 1.9s forwards; }
@keyframes doldur { to { width: 64%; } }
.cip-1 { left: -26px; top: 24%; animation: cipGir .7s cubic-bezier(.2,.7,.3,1) .9s forwards, suzul 5.5s ease-in-out 1.7s infinite; }
.cip-2 { left: -16px; bottom: 14%; animation: cipGir .7s cubic-bezier(.2,.7,.3,1) 1.25s forwards, suzul 6.5s ease-in-out 2.1s infinite; }
@keyframes cipGir { from { opacity: 0; transform: translateX(-14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes suzul { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --- Hero giris animasyonu --- */
.hero .sol > * { opacity: 0; transform: translateY(14px); animation: girisYukari .7s cubic-bezier(.2,.7,.3,1) forwards; }
.hero .sol > *:nth-child(1) { animation-delay: .05s; }
.hero .sol > *:nth-child(2) { animation-delay: .14s; }
.hero .sol > *:nth-child(3) { animation-delay: .23s; }
.hero .sol > *:nth-child(4) { animation-delay: .32s; }
.hero .sol > *:nth-child(5) { animation-delay: .41s; }
.hero .ekranKutu { opacity: 0; transform: translateX(26px); animation: girisSag .85s cubic-bezier(.2,.7,.3,1) .2s forwards; }
@keyframes girisYukari { to { opacity: 1; transform: none; } }
@keyframes girisSag { to { opacity: 1; transform: none; } }

/* --- Baslik alti cizgisi --- */
.cizgili { position: relative; padding-bottom: 14px; }
.cizgili::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--mavi), var(--yesil));
  transition: width .8s cubic-bezier(.2,.7,.3,1) .15s;
}
.orta .cizgili::after { left: 50%; transform: translateX(-50%); }
.cizgili.gorundu::after, .gorundu .cizgili::after { width: 64px; }

/* --- Kartlar --- */
.uclu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kart {
  border: 1px solid var(--kenar); border-radius: 14px; padding: 22px;
  background: var(--zemin); font-size: 13.5px; line-height: 1.55;
  transition: transform var(--gecis), box-shadow var(--gecis);
}
.kart:hover { transform: translateY(-4px); box-shadow: var(--golge-kart); }
.kart b { display: block; font-family: 'Manrope', sans-serif; font-size: 16px; margin-bottom: 6px; }
.kart .ikon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--mavi-zemin); color: #2f5fb3;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
  margin-bottom: 14px; transition: transform var(--gecis);
}
.kart:hover .ikon { transform: scale(1.1) rotate(-4deg); }

/* --- Ozellik zigzag --- */
.ozellik { display: flex; gap: 44px; align-items: center; padding: 44px 0; border-top: 1px solid var(--kenar-ince); }
.ozellik:first-of-type { border-top: 0; padding-top: 0; }
.ozellik.ters { flex-direction: row-reverse; }
.ozellik .yazi { flex: 1; }
.ozellik .yazi p { color: var(--metin-soluk); font-size: 14px; }
.ozellik .yazi ul { margin: 0 0 18px; padding-left: 18px; font-size: 13.5px; line-height: 1.9; color: var(--metin-soluk); }
.ozellik .gorsel { flex: 1.15; }
.ekranKart {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--kenar);
  box-shadow: var(--golge-ekran); background: #fff;
  transition: transform var(--gecis), box-shadow var(--gecis);
  transform-style: preserve-3d; will-change: transform;
}
.ozellik:not(.ters) .ekranKart:hover { transform: perspective(1100px) rotateY(-4deg) rotateX(2deg) translateY(-6px); box-shadow: 0 22px 55px rgba(31,42,71,.26); }
.ozellik.ters .ekranKart:hover { transform: perspective(1100px) rotateY(4deg) rotateX(2deg) translateY(-6px); box-shadow: 0 22px 55px rgba(31,42,71,.26); }
.telefonCerceve {
  width: 250px; margin: 0 auto; border-radius: 28px; overflow: hidden;
  border: 6px solid var(--lacivert); box-shadow: 0 20px 50px rgba(31,42,71,.3);
  transition: transform var(--gecis);
}
.telefonCerceve:hover { transform: perspective(1100px) rotateY(-6deg) translateY(-6px); }

/* --- Adimlar --- */
.adimlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.adimlar::before {
  content: ''; position: absolute; top: 45px; left: 16%; right: 16%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, #dbe2ee 12%, #dbe2ee 88%, transparent);
}
.adim {
  position: relative; z-index: 1; background: var(--zemin); text-align: center;
  padding: 24px 16px; font-size: 13.5px; line-height: 1.55;
  border: 1px solid var(--kenar); border-radius: 14px;
  transition: transform var(--gecis), box-shadow var(--gecis);
}
.adim:hover { transform: translateY(-4px); box-shadow: var(--golge-kart); }
.adim .no {
  width: 42px; height: 42px; border-radius: 50%; background: var(--lacivert); color: #fff;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  transition: transform var(--gecis), background-color .3s ease;
}
.adim:hover .no { transform: scale(1.08); background: var(--mavi); }
.adim b { display: block; font-family: 'Manrope', sans-serif; font-size: 16px; margin-bottom: 6px; }

/* --- Guven --- */
.guvenKutu { display: flex; gap: 32px; align-items: center; max-width: 820px; margin: 0 auto; }
.guvenKutu blockquote { flex: 1.5; margin: 0; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 17px; line-height: 1.65; }
.guvenKisi { flex: 1; display: flex; gap: 14px; align-items: center; font-size: 13px; }
.guvenKisi img { width: 54px; height: 54px; border-radius: 50%; flex: 0 0 54px; background: #d5d9e2; }

/* --- Koyu bolum + kapanis --- */
.koyu {
  background: radial-gradient(1000px 400px at 50% 0%, var(--lacivert-acik) 0%, var(--lacivert) 55%, var(--lacivert-koyu) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.koyu h2 { color: #fff; font-size: 34px; }
.koyu p { color: rgba(255, 255, 255, .8); }
.kapanis { text-align: center; position: relative; }
.kapanis::before {
  content: ''; position: absolute; width: 520px; height: 320px; left: 50%; top: -90px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse, rgba(74,127,214,.30) 0%, rgba(74,127,214,0) 70%);
}

/* --- Altbilgi --- */
.altbilgi { background: var(--lacivert-koyu); color: rgba(255,255,255,.72); font-size: 12px; }
.altbilgiIc { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 32px; flex-wrap: wrap; }
.altbilgiLinkler { display: flex; gap: 16px; flex-wrap: wrap; }
.altbilgi a { color: rgba(255,255,255,.72); }
.altbilgi a:hover { color: #fff; }

/* --- Form --- */
.form { max-width: 620px; }
.alanSatir { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alan { margin-bottom: 16px; }
.alan label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.alan .zorunlu { color: #c0392b; }
.alan input, .alan select, .alan textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 11px 13px;
  border: 1px solid var(--kenar); border-radius: 8px; background: #fff; color: var(--metin);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.alan input:focus, .alan select:focus, .alan textarea:focus {
  outline: none; border-color: var(--mavi); box-shadow: 0 0 0 3px rgba(74,127,214,.16);
}
.alan textarea { min-height: 96px; resize: vertical; }
.alan.hatali input, .alan.hatali select, .alan.hatali textarea { border-color: #c0392b; }
.alanHata { display: none; color: #c0392b; font-size: 12px; margin-top: 5px; }
.alan.hatali .alanHata { display: block; }
.onayKutu { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.onayKutu input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.tuzak { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formDurum { margin-top: 14px; font-size: 13.5px; padding: 12px 14px; border-radius: 8px; display: none; }
.formDurum.gorunur { display: block; }
.formDurum.hata { background: #fdecea; color: #922b21; }
.yedekKanal { margin-top: 18px; font-size: 13px; color: var(--metin-soluk); }

/* --- Kaydirinca belirme --- */
.belir { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.belir.gorundu { opacity: 1; transform: none; }
.gecikme-1 { transition-delay: .08s; }
.gecikme-2 { transition-delay: .16s; }
.gecikme-3 { transition-delay: .24s; }

/* --- Duyarli --- */
@media (max-width: 900px) {
  .sinir { padding: 0 20px; }
  .bolum { padding: 44px 0; }
  h1 { font-size: 29px; }
  h2 { font-size: 23px; }
  .koyu h2 { font-size: 26px; }
  .menuLinkler a:not(.dugme) { display: none; }
  .hero { flex-direction: column; min-height: 0; }
  .hero .sol { padding: 34px 20px 26px; max-width: none; margin: 0; }
  .hero .sag { border-radius: 0; padding: 26px 0 26px 16px; }
  .cip { display: none; }
  .uclu, .adimlar, .alanSatir { grid-template-columns: 1fr; }
  .adimlar::before { display: none; }
  .ozellik, .ozellik.ters { flex-direction: column; gap: 22px; padding: 30px 0; }
  .telefonCerceve { width: 220px; }
  .guvenKutu { flex-direction: column; }
  .guvenKutu blockquote { font-size: 15px; }
  .altbilgiIc { flex-direction: column; text-align: center; padding: 20px; }
}

/* --- Hareket azaltma --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .belir, .hero .sol > *, .hero .ekranKutu, .cip { opacity: 1 !important; transform: none !important; }
  .cip .miniCubuk b { width: 64%; }
  .cizgili::after { width: 64px; }
}
