/* =========================================================
   DIAMOND PIXELS — style.css
   Mobil öncelikli (mobile-first): önce telefon stilleri,
   sonra @media ile büyük ekranlar için eklemeler.
   ========================================================= */


/* =========================================================
   1. DEĞİŞKENLER (renkler, fontlar, ölçüler tek yerde)
   ========================================================= */
:root {
  /* Marka renkleri */
  --bg: #13161E;
  --surface: #1B1F29;
  --surface-2: #222734;
  --border: #2F3544;
  --text: #F2F3F5;
  --muted: #A9B0BD;
  --accent: #4F8CFF;
  --accent-2: #8B6CFF;

  /* Fontlar */
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Köşeler */
  --radius-card: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  /* Yerleşim */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --section-pad: 88px;

  /* Efektler */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --glow: 0 22px 50px -22px rgba(79, 140, 255, .55), 0 0 0 1px rgba(79, 140, 255, .35);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 72px; --section-pad: 120px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 40px; }
}


/* =========================================================
   2. TEMEL SIFIRLAMA (reset) ve genel stiller
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Bölümlere kayarken başlık header'ın altında kalmasın */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

/* Yumuşak kaydırma sadece hareket azaltma kapalıysa */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Yatay kaydırma olmasın (clip, sticky header'ı bozmaz) */
  overflow-x: clip;
}

/* Modal açıkken sayfa kaymasın */
body.no-scroll { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }

/* "hidden" özelliği her zaman gizlesin (display kurallarını ezsin) */
[hidden] { display: none !important; }
img, video { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
strong { font-weight: 600; color: var(--text); }

::selection { background: rgba(79, 140, 255, .35); }

/* Klavye ile gezinirken görünür odak çerçevesi */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Sadece ekran okuyucular için görünmez metin */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* "İçeriğe atla" linki: sadece odaklanınca görünür */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }


/* =========================================================
   3. YARDIMCI SINIFLAR (container, başlıklar, pill, chip)
   ========================================================= */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }
.section--alt {
  background: linear-gradient(180deg, rgba(34, 39, 52, 0), rgba(34, 39, 52, .75) 18%, rgba(34, 39, 52, .75) 82%, rgba(34, 39, 52, 0));
}

/* Küçük üst etiket */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 1px;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-title { font-size: clamp(2rem, 3.2vw + 1rem, 3rem); }
.section-text { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* Mavi→mor gradyan yazı */
.gradient-text {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Küçük yuvarlak etiket */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #BFD3FF;
  background: rgba(79, 140, 255, .12);
  border: 1px solid rgba(79, 140, 255, .3);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Özellik etiketleri (chip) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 4px 10px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}


/* =========================================================
   4. BUTONLAR
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

/* Dolu mavi buton (koyu yazı = iyi kontrast) */
.btn--primary {
  background: var(--accent);
  color: #06080D;
}
.btn--primary:hover {
  background: #6A9DFF;
  box-shadow: 0 10px 30px -10px rgba(79, 140, 255, .8);
  transform: translateY(-1px);
}

/* Çerçeveli buton */
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: #3A404C;
}
.btn--outline:hover { border-color: var(--accent); color: #fff; background: rgba(79, 140, 255, .08); }

/* Hafif yüzeyli buton */
.btn--ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(79, 140, 255, .1); }

/* Boyutlar */
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--xl { padding: 18px 34px; font-size: 18px; }

/* Pasif buton ("Link coming soon") */
.btn.is-disabled {
  background: transparent;
  color: var(--muted);
  border: 1px dashed #3A404C;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Kare/yuvarlak ikon butonu */
.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  padding: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: #fff; background: rgba(79, 140, 255, .12); }
.icon-btn--lg { width: 46px; height: 46px; }


/* =========================================================
   5. HEADER ve NAVİGASYON
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

/* Kaydırınca bulanık koyu arka plan */
.header.is-scrolled,
.header.menu-open {
  background: rgba(11, 12, 16, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(38, 42, 51, .8);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo (resim veya yazı) */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo__img { height: 30px; width: auto; max-width: 200px; object-fit: contain; }
.logo__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo__diamond { color: var(--accent); margin-right: 2px; }

@media (min-width: 768px) {
  .logo__img { height: 36px; }
  .logo__text { font-size: 20px; }
}

/* Hamburger butonu (sadece mobil) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
/* Menü açıkken çizgiler X olur */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil açılır menü (tam genişlik) */
.nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(11, 12, 16, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  /* kapalıyken gizli ve tıklanamaz */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
.nav__list {
  display: flex;
  flex-direction: column;
  padding: 12px var(--gutter) 24px;
}
.nav__link {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__cta { margin-top: 20px; }
.nav__cta .btn { width: 100%; padding-block: 14px; font-size: 16px; }

/* Masaüstü: menü yatay ve her zaman görünür */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
  }
  .nav__list { flex-direction: row; align-items: center; gap: 4px; padding: 0; }
  .nav__link {
    padding: 8px 14px;
    font-size: 15px;
    border: 0;
    border-radius: var(--radius-pill);
  }
  .nav__link:hover { background: rgba(255, 255, 255, .04); }
  .nav__cta { margin: 0 0 0 12px; }
  .nav__cta .btn { width: auto; padding: 10px 18px; font-size: 14px; }
}


/* =========================================================
   6. HERO
   ========================================================= */
.hero {
  position: relative;
  padding-block: 56px 40px;
  overflow-x: clip;
}

/* Başlığın arkasındaki yumuşak mavi/mor parıltı */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(900px, 140vw);
  aspect-ratio: 1.4;
  transform: translateX(-60%);
  background:
    radial-gradient(closest-side at 40% 45%, rgba(79, 140, 255, .32), transparent 70%),
    radial-gradient(closest-side at 65% 60%, rgba(139, 108, 255, .24), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw + 1rem, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero__text {
  max-width: 560px;
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Küçük istatistikler */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.stats__item { display: flex; align-items: center; gap: 6px; }
/* Ayırıcı nokta sadece geniş ekranda (mobilde satır başına düşmesin) */
@media (min-width: 600px) {
  .stats__item + .stats__item::before {
    content: "·";
    margin-right: 16px;
    color: #4A5060;
  }
}
.stats__item strong { font-family: var(--font-head); color: var(--text); font-size: 15px; }

/* Kolaj: 3 eğik ekran görüntüsü */
.collage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 1.15;
}
.collage__item {
  position: absolute;
  animation: float 7s ease-in-out infinite;
}
.collage__item--1 { top: 0;     left: 0;  width: 80%; rotate: -5deg; z-index: 1; }
.collage__item--2 { top: 34%;   right: 0; width: 68%; rotate: 4deg;  z-index: 2; animation-delay: -2.5s; }
.collage__item--3 { bottom: 0;  left: 10%; width: 25%; rotate: -8deg; z-index: 3; animation-delay: -4.5s; }

/* Yavaşça süzülme animasyonu */
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* Masaüstü tarayıcı çerçevesi */
.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02);
  overflow: hidden;
}
.mock--desktop { border-radius: 12px; }
.mock__bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.mock__bar span { width: 7px; height: 7px; border-radius: 50%; background: #343946; }
.mock__screen { aspect-ratio: 16 / 10; overflow: hidden; }

/* Telefon çerçevesi */
.mock--phone {
  border: 5px solid #20232B;
  border-radius: 22px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--border);
}
.mock--phone .mock__screen { aspect-ratio: 9 / 19; border-radius: 16px; }

.mock__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (min-width: 1024px) {
  .hero { padding-block: 80px 120px; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .collage { max-width: none; }
}


/* =========================================================
   7. YER TUTUCU (resim yoksa görünen gradyan kutu)
   ========================================================= */
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(79, 140, 255, .18), transparent 60%),
    radial-gradient(120% 90% at 90% 100%, rgba(139, 108, 255, .14), transparent 60%),
    linear-gradient(160deg, #1B1E27, #111318);
}
.ph span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 20px);
  color: rgba(242, 243, 245, .7);
  letter-spacing: -0.01em;
}
.mock--phone .ph span { font-size: 11px; }


/* =========================================================
   8. WORK — şifre kutusu, filtreler, kartlar
   ========================================================= */

/* Şifre kutusu */
.password-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  margin-bottom: 28px;
  background: linear-gradient(100deg, rgba(79, 140, 255, .1), rgba(139, 108, 255, .06));
  border: 1px solid rgba(79, 140, 255, .28);
  border-radius: var(--radius-card);
}
.password-box__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--accent);
  background: rgba(79, 140, 255, .14);
  border-radius: 50%;
  flex: none;
}
.password-box__text { flex: 1 1 180px; color: var(--muted); }
.password-box__value {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: .02em;
  word-break: break-all;
}

/* Filtre butonları */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: color .2s, border-color .2s, background-color .2s;
}
.filter:hover { color: var(--text); border-color: #3A404C; }
.filter[aria-pressed="true"] {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

/* Kart ızgarası: mobil 1, tablet 2, masaüstü 3 sütun */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 700px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* Tek mağaza kartı */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
  border-color: rgba(79, 140, 255, .4);
}

/* Filtreleme sırasında kartın belirme animasyonu */
.card.is-entering { animation: cardIn .5s var(--ease) backwards; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* Kart kapağı: üzerine gelince uzun ekran görüntüsü aşağı kayar */
.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: object-position 1.2s var(--ease);
}
.card:hover .card__media img,
.card:focus-within .card__media img {
  object-position: center bottom;
  transition: object-position 6s linear;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 20px;
}
.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.card__title { font-size: 22px; letter-spacing: -0.015em; }
.card__desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.card__actions .btn { flex: 1 1 auto; padding-inline: 12px; }


/* =========================================================
   9. SERVICES
   ========================================================= */
.services { display: grid; gap: 20px; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
  border-color: rgba(79, 140, 255, .4);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  color: var(--accent);
  background: linear-gradient(140deg, rgba(79, 140, 255, .18), rgba(139, 108, 255, .12));
  border: 1px solid rgba(79, 140, 255, .25);
  border-radius: 14px;
}
.service__title { font-size: 21px; }
.service__text { margin-top: 10px; color: var(--muted); font-size: 15px; }
.service__list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.service__list li { position: relative; padding-left: 20px; font-size: 14.5px; }
.service__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}


/* =========================================================
   10. PROCESS (zaman çizelgesi)
   ========================================================= */
/* Mobil: dikey çizgi */
.process {
  position: relative;
  display: grid;
  gap: 32px;
}
.process::before {
  content: "";
  position: absolute;
  left: 23px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(var(--accent), var(--accent-2) 60%, var(--border));
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.step__num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(79, 140, 255, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px rgba(79, 140, 255, .5);
  position: relative;
  z-index: 1;
}
.step__title { font-size: 20px; margin-top: 10px; }
.step__text { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Masaüstü: yatay çizgi */
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .process::before {
    left: 24px; right: 0; top: 24px; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, var(--border));
  }
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step__title { margin-top: 4px; }
}


/* =========================================================
   11. ABOUT
   ========================================================= */
.about { display: grid; gap: 40px; align-items: center; }
.about__text p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 580px; }
.about__text .section-title { margin-bottom: 6px; }

.why { display: grid; gap: 14px; }
.why__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.why__icon { color: var(--accent); flex: none; }

@media (min-width: 600px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .about { grid-template-columns: 1.1fr 1fr; gap: 72px; } }


/* =========================================================
   12. CONTACT (son çağrı)
   ========================================================= */
.contact { overflow-x: clip; }
.contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(760px, 130vw);
  aspect-ratio: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 140, 255, .2), rgba(139, 108, 255, .08) 55%, transparent);
  filter: blur(40px);
  pointer-events: none;
}
.contact__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(2.4rem, 6vw + 1rem, 5rem); letter-spacing: -0.035em; }
.contact__text { margin: 20px auto 36px; max-width: 520px; color: var(--muted); font-size: 18px; }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.socials:empty, .socials li[hidden] { display: none; }
.socials__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: color .2s, border-color .2s;
}
.socials__link:hover { color: var(--text); border-color: var(--accent); }

@media (max-width: 420px) {
  .btn--xl { width: 100%; padding-inline: 20px; font-size: 17px; }
}


/* =========================================================
   13. FOOTER
   ========================================================= */
.footer {
  padding-block: 40px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.footer__meta { grid-column: 1 / -1; grid-row: 2; font-size: 14px; color: var(--muted); }
.footer__note { margin-top: 4px; font-size: 13px; color: #8A909C; }

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: auto 1fr auto; gap: 32px; }
  .footer__meta { grid-column: auto; grid-row: auto; text-align: center; }
}


/* =========================================================
   14. MODAL (vaka çalışması penceresi)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 12px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 9, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1040px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__dialog:focus { outline: none; }

.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  background: rgba(11, 12, 16, .75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Galeri */
.gallery { position: relative; background: #0E1015; border-bottom: 1px solid var(--border); }
.gallery__viewport { overflow: hidden; touch-action: pan-y; }
.gallery__track {
  display: flex;
  transition: transform .45s var(--ease);
}
.gallery__slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery__btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: rgba(11, 12, 16, .75);
  border: 1px solid var(--border);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color .2s, background-color .2s;
}
.gallery__btn:hover { border-color: var(--accent); background: rgba(20, 22, 28, .95); }
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }
.gallery__btn[hidden] { display: none; }
.gallery__counter {
  position: absolute;
  bottom: 12px; left: 50%;
  translate: -50% 0;
  padding: 3px 10px;
  font-size: 12.5px;
  color: var(--text);
  background: rgba(11, 12, 16, .75);
  border-radius: var(--radius-pill);
}
.gallery__counter:empty { display: none; }

/* Video */
.modal__video { padding: 20px 20px 0; }
.modal__video video {
  width: 100%;
  max-height: 70vh;
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* İçerik */
.modal__content { padding: 24px 20px 28px; }
.modal__header { padding-bottom: 22px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.modal__title { margin-top: 12px; font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem); }
.modal__desc { margin-top: 10px; color: var(--muted); font-size: 16.5px; }

.modal__grid { display: grid; gap: 8px; }
.modal__h {
  margin: 22px 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.modal__main p, .modal__tools { color: #C9CDD5; font-size: 15.5px; }

/* Onay işaretli liste */
.check-list { display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #C9CDD5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .22em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(79, 140, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F8CFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

@media (min-width: 768px) {
  .modal { padding: 32px; }
  .modal__dialog { max-height: calc(100dvh - 64px); }
  .modal__video { padding: 28px 36px 0; }
  .modal__content { padding: 32px 36px 40px; }
  .modal__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .modal__side {
    padding: 4px 0 0 28px;
    border-left: 1px solid var(--border);
  }
  .gallery__btn { width: 46px; height: 46px; }
  .gallery__btn--prev { left: 18px; }
  .gallery__btn--next { right: 18px; }
}


/* =========================================================
   15. TOAST (küçük bildirim)
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  background: #1C2030;
  border: 1px solid rgba(79, 140, 255, .45);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }


/* =========================================================
   16. KAYDIRMA ANİMASYONU (reveal)
   Sadece JS varsa gizlenir; JS yoksa içerik hep görünür.
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }


/* =========================================================
   17. HAREKET AZALTMA (prefers-reduced-motion)
   Kullanıcı animasyon istemiyorsa hepsini kapat.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .collage__item { animation: none; }
  .card:hover, .service:hover, .btn--primary:hover { transform: none; }
  /* Kart kapağı kaymasın */
  .card:hover .card__media img,
  .card:focus-within .card__media img { object-position: center top; }
}

/* Bölümler arası boşluğu biraz azalt */
:root { --section-pad: 72px; }
@media (min-width: 768px) {
  :root { --section-pad: 96px; }
}

/* Şifre kutusundaki kısa not — daha büyük, hafifçe parlayıp sönen */
.password-box__note {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
  color: #BFD3FF;
  animation: pwNoteGlow 2.6s ease-in-out infinite;
}
@keyframes pwNoteGlow {
  0%, 100% { opacity: .7;  text-shadow: none; }
  50%      { opacity: 1;   text-shadow: 0 0 12px rgba(79, 140, 255, .65); }
}
.password-box { animation: pwBoxGlow 2.6s ease-in-out infinite; }
@keyframes pwBoxGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(79, 140, 255, .18); }
  50%      { box-shadow: 0 0 0 1px rgba(79, 140, 255, .45), 0 0 26px -6px rgba(79, 140, 255, .45); }
}
@media (prefers-reduced-motion: reduce) {
  .password-box__note, .password-box { animation: none; }
  .password-box__note { opacity: 1; }
}

/* =========================================================
   18. HAKKIMDA FOTOĞRAFI
   images/me.jpg yoksa JS figure'ı gizler, düzen eski haline döner.
   ========================================================= */
.about__photo {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 6 / 7;
  max-width: 420px;
  box-shadow: var(--glow);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__photo[hidden] { display: none; }
@media (min-width: 960px) {
  .about.has-photo { grid-template-columns: 0.8fr 1.3fr; gap: 24px 56px; }
  .about.has-photo .about__photo { grid-row: 1 / span 2; align-self: center; }
  .about.has-photo .why { grid-column: 2; }
}

/* =========================================================
   19. YORUMLAR
   ========================================================= */
.reviews { display: grid; gap: 32px; }
@media (min-width: 960px) { .reviews { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.reviews__list { display: grid; gap: 16px; }
@media (min-width: 640px) { .reviews__list { grid-template-columns: 1fr 1fr; } }
.reviews__empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  color: var(--muted);
  text-align: center;
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review__text { color: var(--text); font-size: 15.5px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex: 0 0 auto;
}
.review__name { font-weight: 600; font-size: 15px; }
.reviews__more { grid-column: 1 / -1; justify-self: center; }

.review-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: grid;
  gap: 14px;
}
.review-form__title { font-size: 20px; }
.review-form__row { display: grid; gap: 14px; }
@media (min-width: 480px) { .review-form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; color: var(--muted); }
.field__input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
}
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 140, 255, .25); }
.field__input--area { resize: vertical; min-height: 110px; }
.review-form__status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.review-form__status.is-ok { color: #6EE7A8; }
.review-form__status.is-error { color: #FF8A8A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
