/* ==========================================================================
   Asistbel — asistbel.org
   Belediyeler için yapay zekâ destekli mobil başvuru ve iletişim platformu
   Saf CSS. Harici bağımlılık yoktur.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Yazı tipleri (kendi sunucumuzda, Türkçe karakter setine indirgenmiş)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sourceserif4-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sourceserif4-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sourceserif4-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. Tasarım değişkenleri
   -------------------------------------------------------------------------- */
:root {
  /* Zemin katmanları */
  --ink-000: #05070E;
  --ink-050: #070B15;
  --ink-100: #0A0F1C;
  --ink-200: #0E1524;
  --ink-300: #131B2E;
  --ink-400: #1A2439;

  /* Metin */
  --text-100: #F4F7FC;
  --text-200: #C9D5E8;
  --text-300: #93A5C2;
  --text-400: #6A7C99;
  --text-500: #4A5872;

  /* Kurumsal mavi (logo) */
  --blue-300: #7BA9FF;
  --blue-400: #4E8BFF;
  --blue-500: #2F6BE0;
  --blue-600: #1E4FB5;
  --blue-700: #143681;

  /* Pirinç / ağırbaşlı vurgu */
  --brass-300: #E3C97F;
  --brass-400: #C9A94E;
  --brass-500: #A98A34;

  /* Çizgiler */
  --rule: rgba(147, 165, 194, 0.16);
  --rule-strong: rgba(147, 165, 194, 0.30);
  --rule-faint: rgba(147, 165, 194, 0.08);

  /* Tipografi */
  --serif: 'Source Serif 4', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Ölçü */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 9vw, 9.5rem);
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;

  /* Geçiş */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Sıfırlama ve temel
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--ink-000);
  color: var(--text-200);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

img { height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text-100);
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

strong, b { color: var(--text-100); font-weight: 600; }

::selection {
  background: var(--blue-600);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Ekran okuyucu metni */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.85rem 1.4rem;
  background: var(--blue-500);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-m);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   4. Yerleşim yardımcıları
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--hairline { border-top: 1px solid var(--rule-faint); }

.section--tint { background: linear-gradient(180deg, var(--ink-050), var(--ink-000) 70%); }

/* Bölüm başlığı bloğu */
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.section-head--center .eyebrow { justify-content: center; }

.eyebrow::before {
  content: '';
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-500), transparent);
}

.eyebrow__num {
  color: var(--brass-400);
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-size: clamp(1.95rem, 4.1vw, 3.35rem);
  font-weight: 600;
}

.section-lead {
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, 1.35vw, 1.19rem);
  line-height: 1.72;
  color: var(--text-300);
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  line-height: 1.55;
  color: var(--text-100);
  font-weight: 400;
  letter-spacing: -0.008em;
}

/* --------------------------------------------------------------------------
   5. Arka plan dokusu — ince ızgara ve ışık
   -------------------------------------------------------------------------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--rule-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-faint) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.7;
}

.page { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   6. Başlık / navigasyon
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 14, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--rule-faint);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 84px;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .header-inner { height: 68px; }

/* Marka */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 10px rgba(47, 107, 224, 0.45));
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.015em;
}

.brand__tag {
  margin-top: 3px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--text-400);
}

/* Ana menü */
.nav { display: flex; align-items: center; gap: 2rem; }

.nav__list { display: flex; align-items: center; gap: 1.9rem; }

.nav__link {
  position: relative;
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--text-300);
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--blue-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover { color: var(--text-100); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text-100); }

/* Düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius-m);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(180deg, var(--blue-400), var(--blue-500));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 10px 30px -12px rgba(47, 107, 224, 0.75);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 18px 40px -14px rgba(47, 107, 224, 0.9);
}

.btn--ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--text-100);
}
.btn--ghost:hover {
  border-color: var(--blue-400);
  background: rgba(47, 107, 224, 0.08);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.68rem 1.25rem; font-size: 0.84rem; }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 0.95rem; }

.nav__cta { flex: 0 0 auto; }

/* Mobil menü paneli yalnızca dar ekranlarda görünür */
.mobile-nav { display: none; }

/* Mobil menü düğmesi */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bars { position: relative; width: 18px; height: 12px; }

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text-100);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.25px; }
.nav-toggle__bars span:nth-child(3) { top: 10.5px; }

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(8.5rem, 15vw, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

/* Yatay ortalama transform ile değil, margin ile yapılır; parallax transform
   alanını serbest bırakmak için. */
.hero__glow {
  position: absolute;
  top: -18%;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(1500px, 150vw);
  height: 900px;
  background:
    radial-gradient(ellipse 46% 52% at 50% 42%, rgba(47, 107, 224, 0.26), transparent 68%),
    radial-gradient(ellipse 30% 40% at 22% 62%, rgba(20, 54, 129, 0.30), transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem 0.5rem 0.65rem;
  margin-bottom: 2rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(14, 21, 36, 0.6);
  font-size: 0.755rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  color: var(--text-300);
}

.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ED47A;
  box-shadow: 0 0 0 4px rgba(46, 212, 122, 0.16);
}

.hero__title {
  font-size: clamp(3.6rem, 10.5vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
  color: var(--text-100);
  margin-bottom: 1.6rem;
}

.hero__title-sub {
  display: block;
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.7vw, 2.05rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--text-200);
}

.hero__rule {
  width: 68px;
  height: 2px;
  margin-bottom: 1.9rem;
  background: linear-gradient(90deg, var(--brass-400), rgba(201, 169, 78, 0));
}

.hero__text {
  max-width: 54ch;
  font-size: clamp(1rem, 1.3vw, 1.11rem);
  line-height: 1.78;
  color: var(--text-300);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.hero__platforms {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.4rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--rule-faint);
  flex-wrap: wrap;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-300);
}

.platform-chip svg { width: 17px; height: 17px; fill: var(--text-200); flex: 0 0 auto; }

.platform-chip__sep {
  width: 1px; height: 20px;
  background: var(--rule);
}

/* Hero görsel bloğu */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 430px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95);
  will-change: transform;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 700 / 989;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03) brightness(0.86);
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(5,7,14,0.12) 0%, rgba(5,7,14,0.55) 62%, rgba(5,7,14,0.92) 100%);
  pointer-events: none;
}

.hero__device {
  position: absolute;
  right: -6%;
  bottom: -4%;
  width: min(212px, 46%);
  z-index: 2;
  will-change: transform;
}

.hero__caption {
  position: absolute;
  left: 0;
  bottom: 1.35rem;
  z-index: 3;
  padding-inline: 1.5rem;
  max-width: 62%;
  font-size: 0.775rem;
  line-height: 1.6;
  color: var(--text-300);
}

.hero__caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   8. Telefon çerçevesi
   -------------------------------------------------------------------------- */
.device {
  position: relative;
  border-radius: 13.5%/6.4%;
  background: linear-gradient(155deg, #313C55 0%, #151C2C 55%, #232D42 100%);
  padding: 2.2%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.055),
    0 34px 70px -26px rgba(0,0,0,0.9),
    0 8px 22px -12px rgba(0,0,0,0.7);
}

.device__screen {
  position: relative;
  border-radius: 11.6%/5.5%;
  overflow: hidden;
  background: #05070E;
}

.device__screen img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
  display: block;
}

.device::after {
  content: '';
  position: absolute;
  inset: 2.2%;
  border-radius: 11.6%/5.5%;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 72%, rgba(255,255,255,0.045) 100%);
}

/* --------------------------------------------------------------------------
   9. Ölçüt şeridi
   -------------------------------------------------------------------------- */
.metrics {
  border-block: 1px solid var(--rule-faint);
  background: linear-gradient(180deg, rgba(10,15,28,0.85), rgba(5,7,14,0.4));
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  padding: clamp(1.9rem, 3.5vw, 2.9rem) clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--rule-faint);
}
.metric:first-child { border-left: 0; }

.metric__value {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  font-weight: 600;
  color: var(--text-100);
  letter-spacing: -0.022em;
  line-height: 1.1;
}

.metric__value span { color: var(--brass-400); }

.metric__label {
  margin-top: 0.6rem;
  font-size: 0.815rem;
  line-height: 1.55;
  color: var(--text-400);
}

/* --------------------------------------------------------------------------
   10. Tanım bloğu (Asistbel nedir)
   -------------------------------------------------------------------------- */
.definition {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem) 0 clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 3vw, 2.8rem);
  border-left: 2px solid var(--blue-600);
  max-width: 76ch;
}

.definition p + p { margin-top: 1.35rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.pillar {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--ink-050);
  transition: background-color 0.35s var(--ease);
}
.pillar:hover { background: var(--ink-200); }

.pillar__idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass-400);
}

.pillar__title {
  margin-top: 1.1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.pillar__text {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-400);
}

/* --------------------------------------------------------------------------
   11. Özellik bölümleri (dönüşümlü)
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.feature + .feature { margin-top: clamp(5rem, 10vw, 9rem); }

.feature--reverse .feature__media { order: -1; }

.feature__title {
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  font-weight: 600;
}

.feature__text {
  margin-top: 1.4rem;
  font-size: clamp(0.98rem, 1.25vw, 1.075rem);
  line-height: 1.78;
  color: var(--text-300);
}

.feature__list {
  margin-top: 2rem;
  display: grid;
  gap: 0.05rem;
}

.feature__list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-top: 1px solid var(--rule-faint);
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-300);
}
.feature__list li:last-child { border-bottom: 1px solid var(--rule-faint); }

.feature__list li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 1.45rem;
  width: 7px; height: 7px;
  border-radius: 1px;
  background: var(--blue-500);
  transform: rotate(45deg);
}

.feature__list li strong { color: var(--text-100); font-weight: 600; }

/* Medya düzenleri */
.feature__media { position: relative; }

.media-single {
  max-width: 300px;
  margin-inline: auto;
  will-change: transform;
}

.media-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
  max-width: 540px;
  margin-inline: auto;
}

.media-pair .device:nth-child(1) { margin-top: clamp(1.5rem, 4vw, 3.4rem); }


.media-halo {
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  background: radial-gradient(ellipse 50% 42% at 50% 45%, rgba(47, 107, 224, 0.20), transparent 70%);
  pointer-events: none;
}

.media-caption {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.755rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-500);
}

/* Mağaza rozetleri (şimdilik bağlantısız) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem 0.7rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--ink-300), var(--ink-100));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.store-badge__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: var(--text-100);
}

.store-badge__icon--play { fill: none; }

.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }

.store-badge__top {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-400);
}

.store-badge__name {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-100);
  letter-spacing: -0.012em;
}

.stores__note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-500);
}

/* --------------------------------------------------------------------------
   12. İşleyiş zinciri
   -------------------------------------------------------------------------- */
.chain {
  position: relative;
  display: grid;
  gap: 0;
  counter-reset: step;
  max-width: 880px;
}

.chain::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--rule-strong) 8%, var(--rule-strong) 92%, transparent);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(1.3rem, 3vw, 2.6rem);
  padding-block: clamp(1.5rem, 2.6vw, 2.2rem);
}

.step__marker {
  position: relative;
  z-index: 1;
  width: 55px; height: 55px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--ink-100);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-300);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.step.is-in .step__marker {
  border-color: var(--blue-500);
  background: linear-gradient(180deg, var(--ink-300), var(--ink-100));
  color: var(--text-100);
  box-shadow: 0 0 0 6px rgba(47, 107, 224, 0.08);
}

.step__body { padding-top: 0.55rem; }

.step__title {
  font-size: clamp(1.12rem, 1.9vw, 1.38rem);
  font-weight: 600;
}

.step__text {
  margin-top: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-400);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   13. Şerit / alıntı bandı
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--rule-faint);
}

.band__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}

.band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.42) saturate(0.85);
}

.band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,14,0.97) 0%, rgba(5,7,14,0.80) 45%, rgba(5,7,14,0.62) 100%),
    linear-gradient(180deg, rgba(5,7,14,0.95) 0%, rgba(5,7,14,0.25) 40%, rgba(5,7,14,0.95) 100%);
}

.band__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 11vw, 9rem);
}

.band__quote {
  max-width: 20ch;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.2vw, 3.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--text-100);
}

.band__quote em {
  font-style: normal;
  color: var(--blue-300);
}

.band__note {
  margin-top: 1.9rem;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-300);
}

/* --------------------------------------------------------------------------
   13b. Ara şerit — Teknopark Ar-Ge tescili
   -------------------------------------------------------------------------- */
.credential {
  position: relative;
  border-block: 1px solid var(--rule-faint);
  background:
    radial-gradient(ellipse 60% 90% at 18% 50%, rgba(47, 107, 224, 0.10), transparent 70%),
    linear-gradient(180deg, var(--ink-100), var(--ink-050));
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.credential__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* Belge, koyu zeminde duran bir kâğıt gibi sunulur. Alt kenardaki yumuşak
   geçiş, belgenin alıntı olduğunu görsel olarak belli eder. */
.credential__doc { margin: 0; }

.credential__paper {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 34px 68px -30px rgba(0, 0, 0, 0.95),
    0 10px 26px -16px rgba(0, 0, 0, 0.8);
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
}

.credential__paper img {
  width: 100%;
  aspect-ratio: 560 / 604;
  object-fit: cover;
  object-position: top;
}

.credential__caption {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.045em;
  color: var(--text-500);
}

.credential__title {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 600;
}

.credential__text {
  margin-top: 1.35rem;
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  line-height: 1.78;
  color: var(--text-300);
  max-width: 60ch;
}

.credential__facts {
  display: grid;
  gap: 0;
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--rule-faint);
}

.credential__facts > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-faint);
}

.credential__facts dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-500);
  padding-top: 0.2rem;
}

.credential__facts dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-200);
}

/* --------------------------------------------------------------------------
   14. Kart ızgarası (belediyeler için kazanımlar / hizmetler)
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1px;
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ink-050);
  transition: background-color 0.35s var(--ease);
}

.card:hover { background: var(--ink-200); }

.card__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: rgba(47, 107, 224, 0.09);
}

.card__icon svg {
  width: 19px; height: 19px;
  stroke: var(--blue-300);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.card__text {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-400);
}

/* Hizmet listesi (etiket bulutu değil, kurumsal dizin) */
.registry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule-faint);
  border-block: 1px solid var(--rule-faint);
}

.registry__item {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1.05rem 1.35rem;
  background: var(--ink-000);
  font-size: 0.9rem;
  color: var(--text-300);
}

.registry__item span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--brass-500);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   15. Entegrasyon şeması
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.flow__node {
  position: relative;
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--rule-faint);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--ink-200), var(--ink-050));
  text-align: center;
}

.flow__node::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.72rem;
  width: 0.44rem;
  height: 0.44rem;
  border-top: 1px solid var(--rule-strong);
  border-right: 1px solid var(--rule-strong);
  transform: translateY(-50%) rotate(45deg);
}
.flow__node:last-child::after { display: none; }

.flow__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-500);
}

.flow__value {
  margin-top: 0.55rem;
  font-family: var(--serif);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--text-100);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   16. Sıkça sorulan sorular
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule-faint); }

.faq__item {
  border-bottom: 1px solid var(--rule-faint);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.55rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.65vw, 1.24rem);
  font-weight: 600;
  color: var(--text-100);
  line-height: 1.42;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}

.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue-300); }

.faq__q::after {
  content: '';
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: 0.45rem;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--text-400);
  border-bottom: 1.5px solid var(--text-400);
  transform: rotate(45deg);
  transition: transform 0.32s var(--ease), border-color 0.25s var(--ease);
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
  border-color: var(--blue-400);
}

.faq__a {
  padding: 0 0 1.75rem;
  max-width: 78ch;
  font-size: 0.955rem;
  line-height: 1.8;
  color: var(--text-300);
}

.faq__a p + p { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   17. İletişim / kapanış
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--ink-300) 0%, var(--ink-050) 58%);
  padding: clamp(2.6rem, 6vw, 5rem);
}

.cta::before {
  content: '';
  position: absolute;
  top: -55%; right: -12%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 224, 0.24), transparent 62%);
  pointer-events: none;
}

.cta__inner { position: relative; z-index: 1; max-width: 62ch; }

.cta__title {
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  font-weight: 600;
}

.cta__text {
  margin-top: 1.3rem;
  font-size: clamp(0.98rem, 1.3vw, 1.09rem);
  line-height: 1.78;
  color: var(--text-300);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* Ayırıcı çizgiler 1px'lik gap ile kurulur; bunun çalışması için
   .contact-item zemininin donuk olması gerekir. */
/* Sütun sayısı sabittir: auto-fit kullanılırsa ara genişliklerde 3 sütun
   oluşup 4. öge tek başına ikinci satırda kalıyor ve boş blok bırakıyor. */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.contact-item {
  padding: clamp(1.5rem, 2.4vw, 1.9rem) clamp(1.35rem, 2vw, 1.7rem);
  background: rgba(7, 11, 21, 0.72);
}

.contact-item__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-500);
}

.contact-item__value {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--text-100);
  font-weight: 500;
  word-break: break-word;
}

.contact-item__value a { transition: color 0.25s var(--ease); }
.contact-item__value a:hover { color: var(--blue-300); }

.contact-item__address {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-200);
}

/* --------------------------------------------------------------------------
   18. Demo talebi formu
   -------------------------------------------------------------------------- */
.form-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, var(--ink-200) 0%, var(--ink-050) 62%);
}

.form-panel::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 224, 0.18), transparent 62%);
  pointer-events: none;
}

.form-panel__head {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.4rem) clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--rule-faint);
}

.form-panel__title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
}

.form-panel__text {
  margin-top: 0.95rem;
  max-width: 68ch;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-300);
}

.demo-form {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  padding-top: clamp(0.75rem, 2vw, 1.2rem);
}

/* Alan kümesi — numaralı, hat çizgisiyle ayrılmış */
.form-block {
  margin: 0;
  padding: clamp(1.9rem, 3.4vw, 2.6rem) 0 0;
  border: 0;
  border-top: 1px solid var(--rule-faint);
  min-width: 0;
}

.form-block:first-of-type { border-top: 0; }

.form-block::after { content: ''; display: table; clear: both; }

/* legend varsayılan olarak kenarlık hizasında çizilir; float ile normal
   akışa alınıp kümenin üst boşluğuna uyar. */
.form-block__legend {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-100);
}

.form-block__num {
  color: var(--brass-400);
  font-variant-numeric: tabular-nums;
}

.form-block__note {
  clear: both;
  max-width: 78ch;
  margin: 0 0 1.7rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-400);
}

.form-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  margin-bottom: clamp(1.9rem, 3.4vw, 2.6rem);
}

.field--tam { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; min-width: 0; }

.field__label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-300);
}

.field__req { color: var(--brass-400); }

.field__opt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--text-500);
}

.field__control {
  width: 100%;
  padding: 0.92rem 1.05rem;
  font-family: var(--sans);
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--text-100);
  background: rgba(5, 7, 14, 0.55);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field__control::placeholder { color: var(--text-500); }

.field__control:hover { border-color: var(--rule-strong); }

.field__control:focus {
  outline: none;
  border-color: var(--blue-400);
  background: rgba(5, 7, 14, 0.8);
  box-shadow: 0 0 0 3px rgba(47, 107, 224, 0.22);
}

.field__control:focus-visible { outline: none; }

textarea.field__control {
  min-height: 128px;
  resize: vertical;
  line-height: 1.7;
}

/* Açılır listeler — kendi ok simgesiyle */
select.field__control {
  padding-right: 2.9rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393A5C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px 17px;
}

select.field__control option {
  background: var(--ink-200);
  color: var(--text-100);
}

/* Tarayıcının kendi doğrulaması — yalnızca gönderim denendikten sonra */
.demo-form.is-validated .field__control:invalid {
  border-color: rgba(201, 169, 78, 0.65);
}

/* Koşullu alanlar: JavaScript kapalıysa hepsi görünür kalır */
.field[hidden] { display: none; }

/* Bal küpü — gerçek kullanıcı görmez, ekran okuyucu atlar */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Onay ve gönderim */
.form-foot {
  padding-top: clamp(1.9rem, 3.4vw, 2.6rem);
  border-top: 1px solid var(--rule-faint);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-300);
  cursor: pointer;
}

.form-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0.22rem 0 0;
  accent-color: var(--blue-500);
  cursor: pointer;
}

.form-consent a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 3px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.9rem;
}

.form-actions__note {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-500);
  max-width: 42ch;
}

.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Gönderim sonucu */
.form-status {
  margin-top: 1.7rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--rule);
  border-left-width: 3px;
  border-radius: var(--radius-m);
  background: rgba(5, 7, 14, 0.5);
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-200);
}

.form-status[hidden] { display: none; }

.form-status__title {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-100);
}

.form-status__list { margin-top: 0.7rem; }

.form-status__list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.9rem;
  color: var(--text-300);
}

.form-status__list li + li { margin-top: 0.25rem; }

.form-status__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass-400);
}

.form-status--ok      { border-left-color: var(--blue-400); }
.form-status--hata    { border-left-color: var(--brass-400); }
.form-status--bekle   { border-left-color: var(--text-500); }

/* --------------------------------------------------------------------------
   19. Alt bilgi
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule-faint);
  background: var(--ink-050);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-faint);
}

.footer-about { max-width: 44ch; }

.footer-about__text {
  margin-top: 1.4rem;
  font-size: 0.885rem;
  line-height: 1.75;
  color: var(--text-400);
}

.footer-address {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-faint);
  font-style: normal;
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--text-400);
}

.footer-address span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-500);
}

.footer-address a { transition: color 0.25s var(--ease); }
.footer-address a:hover { color: var(--text-100); }

.footer-col__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 1.3rem;
}

.footer-col__list { display: grid; gap: 0.75rem; }

.footer-col__list a {
  font-size: 0.89rem;
  color: var(--text-300);
  transition: color 0.25s var(--ease);
}
.footer-col__list a:hover { color: var(--text-100); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.79rem;
  color: var(--text-500);
}

.footer-bottom a { color: var(--text-400); }
.footer-bottom a:hover { color: var(--text-200); }

/* Yukarı çık */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-200);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, border-color 0.25s;
  padding: 0;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--blue-400); color: var(--text-100); }
.to-top svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   20. Kaydırma animasyonları (yalnızca JS etkinken)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal--d1 { transition-delay: 0.09s; }
.js .reveal--d2 { transition-delay: 0.18s; }
.js .reveal--d3 { transition-delay: 0.27s; }
.js .reveal--d4 { transition-delay: 0.36s; }

/* --------------------------------------------------------------------------
   21. Duyarlı düzen
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav__list { gap: 1.3rem; }
  .nav__link { font-size: 0.8rem; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--rule-faint); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__list,
  .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-nav {
    display: grid;
    position: fixed;
    inset: 84px 0 auto 0;
    z-index: 99;
    background: rgba(5, 7, 14, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gutter) 2rem;
    gap: 0.15rem;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }

  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .mobile-nav a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule-faint);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-200);
  }

  .mobile-nav .btn { margin-top: 1.5rem; width: 100%; }

  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__visual { min-height: auto; }
  .hero__photo { max-width: 390px; }
  .hero__device { width: min(190px, 44%); right: -2%; }

  .feature { grid-template-columns: 1fr; gap: 3rem; }
  .feature--reverse .feature__media { order: 0; }

  .pillars { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }

  .flow__node::after { display: none; }

  .credential__inner { grid-template-columns: 1fr; gap: 3rem; }
  .credential__paper { max-width: 320px; }

  .form-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 84px; }
  body { font-size: 0.965rem; }

  .metrics__grid { grid-template-columns: 1fr; }
  .metric { border-left: 0; }
  .metric:not(:first-child) { border-top: 1px solid var(--rule-faint); }

  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 1.1rem; }
  .step__marker { width: 43px; height: 43px; font-size: 0.72rem; }
  .chain::before { left: 21px; }

  .media-pair { max-width: 340px; }

  .hero__caption { position: static; max-width: none; padding-inline: 0; margin-top: 1.2rem; }
  .hero__photo::after { background: linear-gradient(190deg, rgba(5,7,14,0.10) 0%, rgba(5,7,14,0.35) 70%, rgba(5,7,14,0.7) 100%); }

  /* Dar ekranda tek sütun; ayırıcılar yine 1px gap ile oluşur. */
  .contact-grid { grid-template-columns: 1fr; }

  .registry__item { padding-inline: 1rem; }

  .credential__facts > div { grid-template-columns: 1fr; gap: 0.3rem; }

  /* Dokunmatik ekranda 16px altı yazı iOS'ta yakınlaştırmayı tetikler. */
  .field__control { font-size: 1rem; padding: 0.88rem 0.95rem; }
  .form-actions .btn { width: 100%; }
  .form-actions__note { max-width: none; }
}

/* --------------------------------------------------------------------------
   22. Hareket azaltma tercihi ve yazdırma
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .bg-grid, .hero__glow, .band__bg { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3, h4 { color: #000; }
  .device, .cards, .pillars { break-inside: avoid; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #555; }
}
