/* =========================================================
   Okul Turnike Sistemleri — ana stil dosyası
   ========================================================= */

:root {
  --paper: #f7f9fb;
  --surface: #ffffff;
  --tint: #edf2f6;
  --ink: #142235;
  --ink-soft: #2c3d53;
  --muted: #56667b;
  --line: #d9e1ea;
  --pass: #15905c;
  /* turnikenin yeşil "geçiş" ışığı */
  --pass-soft: #d8f0e4;
  --screen: #0f1c2d;
  --screen-line: #22344b;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

img,
video,
iframe,
figure {
  max-width: 100%;
}

img,
video {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--radius-s);
}

.skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--pass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Butonlar ve bağlantılar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.btn:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-small {
  padding: .6rem 1rem;
  font-size: .9375rem;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--pass-soft);
  border-color: var(--pass-soft);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--pass);
  padding-bottom: 2px;
}

.link:hover {
  color: var(--pass);
}

.link-quiet {
  text-decoration: none;
  color: var(--muted);
  font-size: .9375rem;
}

.link-quiet:hover {
  color: var(--ink);
}

/* ---------- Üst bölüm ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.brand img {
  width: 100px;
  height: auto;
}

.brand span {
  font: 700 1rem/1.1 var(--font-display);
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav ul a {
  text-decoration: none;
  font-weight: 500;
  font-size: .975rem;
  color: var(--ink-soft);
  padding: .3rem 0;
}

.nav ul a:hover {
  color: var(--ink);
}

.nav ul a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--pass);
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.menu-toggle {
  display: none;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
    padding: 0;
  }

  .menu-toggle-bar,
  .menu-toggle-bar::before,
  .menu-toggle-bar::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, background .2s;
  }

  .menu-toggle-bar {
    position: relative;
  }

  .menu-toggle-bar::before {
    position: absolute;
    top: -6px;
  }

  .menu-toggle-bar::after {
    position: absolute;
    top: 6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav ul a {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav ul a[aria-current="page"] {
    box-shadow: none;
    color: var(--pass);
  }

  .nav-extra {
    justify-content: space-between;
    padding-top: .5rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  max-width: 13ch;
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
  margin: 1.5rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-points li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  background: var(--pass-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%2315905c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Okul Güvenliği & Sekizdesekiz Logo Vitrini */

.hero-brand-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 25px 60px -20px rgba(15, 28, 45, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-brand-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 75px -20px rgba(15, 28, 45, 0.6), 0 0 0 1px rgba(21, 144, 92, 0.35);
}

.hero-brand-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2752 / 1536;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

/* ---------- Açılır duyuru (Popup / Modal) ---------- */

.promo {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  width: min(94vw, 860px);
  max-width: 860px;
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 1000;
  border-radius: var(--radius-m);
  display: none;
}

.promo[open],
.promo.is-open {
  display: block;
  animation: promoPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.promo.is-closing {
  animation: promoPopOut 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.promo::backdrop {
  background: rgba(10, 18, 30, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: promoBackdropIn 0.35s ease forwards;
}

@keyframes promoPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes promoPopOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
}

@keyframes promoBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.promo-link {
  display: block;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 45px 100px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.promo-link img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.promo-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: none !important;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, color 0.2s, border-color 0.2s;
}

.promo-close:hover,
.promo-close:focus,
.promo-close:focus-visible,
.promo-close:active {
  outline: none !important;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.45);
}

.promo-close:hover {
  transform: scale(1.12) rotate(90deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

@media (max-width: 620px) {
  .promo {
    width: min(96vw, 540px);
  }

  .promo-close {
    top: -12px;
    right: -8px;
    width: 38px;
    height: 38px;
  }
}

/* ---------- Rakamlar ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

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

.stat {
  padding: 2rem 1.5rem;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat strong {
  display: block;
  font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat strong::after {
  content: "+";
  color: var(--pass);
  margin-left: .05em;
}

.stat span {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.4;
}

/* ---------- Bölümler ---------- */

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-tint {
  background: var(--tint);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 2.25rem;
}

/* Ürünler */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product {
  display: flex;
  flex-direction: column;
}

.product-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

.product p {
  color: var(--muted);
  flex: 1;
}

.product .link {
  align-self: flex-start;
}

/* Eğitimde teknoloji */

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.tech-text p {
  color: var(--ink-soft);
  max-width: 32em;
}

.tech-text .link {
  display: inline-block;
  margin-top: .75rem;
}

.tech-media {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 1rem 0;
  min-height: 520px;
}

/* Veli telefonu (HTML ile çizildi) */
.phone {
  width: 280px;
  flex: none;
  padding: 10px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 40px 70px -35px rgba(20, 34, 53, .6);
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #dfe8f1 0%, #eef3f7 100%);
  padding: .8rem .8rem 1.4rem;
  min-height: 500px;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 .6rem .4rem;
  font-variant-numeric: tabular-nums;
}

.phone-notch {
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
}

.phone-date {
  margin: 1.1rem .4rem .5rem;
  font: 700 1.05rem/1 var(--font-display);
  color: var(--ink);
}

.notice {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: .6rem;
  align-items: start;
  background: rgba(255, 255, 255, .88);
  border-radius: 16px;
  padding: .7rem .75rem;
  margin-bottom: .45rem;
  box-shadow: 0 1px 2px rgba(20, 34, 53, .06);
}

.notice b {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.notice>div span {
  display: block;
  font-size: .875rem;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
}

.notice time {
  font-size: .6875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: .1rem;
}

.notice.is-old {
  opacity: .6;
}

.notice-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.notice-icon.is-in {
  background: var(--pass-soft);
  color: var(--pass);
}

.notice-icon.is-out {
  background: #fcebd8;
  color: #b8681c;
}

/* Yönetim raporu kartı */
.report {
  width: 230px;
  flex: none;
  margin-left: -28px;
  align-self: flex-end;
  margin-bottom: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 24px 50px -28px rgba(20, 34, 53, .45);
  position: relative;
}

.report-title {
  font: 700 1rem/1.2 var(--font-display);
  margin: 0 0 .8rem;
}

.report dl {
  margin: 0;
  display: grid;
  gap: .35rem;
}

.report dl div {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
}

.report dt {
  color: var(--muted);
}

.report dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.report-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

.report-bars span {
  flex: 1;
  background: var(--pass);
  border-radius: 3px 3px 0 0;
  opacity: .85;
}

.report-axis {
  display: flex;
  justify-content: space-between;
  margin: .35rem 0 0;
  font-size: .6875rem;
  color: var(--muted);
}

@media (max-width: 620px) {
  .tech-media {
    flex-direction: column;
    min-height: 0;
  }

  .phone {
    width: 260px;
  }

  .phone-screen {
    min-height: 0;
  }

  .report {
    margin: -40px 0 0 80px;
    align-self: auto;
    width: 210px;
  }

  .notice.is-old:last-child {
    display: none;
  }
}

/* Basında biz */

.press {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.press-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-m);
  object-fit: contain;
}

.press-now {
  margin-top: .9rem;
  font-weight: 600;
}

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.press-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: .9rem;
  align-items: center;
  padding: .5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: 500 .95rem/1.35 var(--font-body);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.press-list button:hover {
  background: var(--surface);
}

.press-list button.is-active {
  background: var(--surface);
  border-color: var(--line);
}

.press-list button.is-active .press-title {
  font-weight: 600;
}

.press-list img {
  width: 96px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-s);
}

.press-dur {
  color: var(--muted);
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
  padding-right: .3rem;
}

/* Katalog */

.catalog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.catalog .section-title {
  margin-bottom: 1rem;
}

.catalog p {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* İletişim çağrısı */

.cta {
  background: var(--ink);
  color: #fff;
}

.cta-inner {
  max-width: 760px;
}

.cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.cta p {
  color: #b9c6d6;
  font-size: 1.125rem;
  max-width: 36em;
  margin-bottom: 2rem;
}

/* ---------- Alt bölüm (Footer) ---------- */

.site-footer {
  background: var(--screen);
  color: #b9c6d6;
  padding: 4rem 0 2rem;
  font-size: .975rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--screen-line);
}

.footer-brand a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.footer-brand a:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.footer-brand img {
  border-radius: var(--radius-m);
  margin-bottom: 1rem;
  background: #fff;
}

.footer-brand p {
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.site-footer address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
  color: #b9c6d6;
  line-height: 1.45;
}

.site-footer a {
  color: #e3ebf3;
  text-decoration: none;
  transition: color .2s, transform .2s;
}

.site-footer a:hover {
  color: #5fe0a5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #e3ebf3;
  text-decoration: none;
  transition: color .2s, transform .2s;
}

.footer-link-item:hover {
  color: #5fe0a5;
  transform: translateX(4px);
}

.footer-ico {
  flex: none;
  color: #5fe0a5;
  opacity: .9;
  transition: transform .2s;
}

.footer-link-item:hover .footer-ico {
  transform: scale(1.15);
}

.footer-bottom {
  padding-top: 1.5rem;
  color: #8ea3ba;
}

/* ---------- WhatsApp (Sol Alt) ---------- */

.whatsapp {
  position: fixed;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.15rem .75rem .95rem;
  border-radius: 999px;
  background: #25d366;
  color: #0b3d22;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s;
}

.whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.65), 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ---------- Video penceresi stilleri ana blokta (satır 3060+) tanımlıdır ---------- */

/* ---------- Duyarlı yerleşim ---------- */

@media (max-width: 960px) {

  .hero-grid,
  .tech-grid,
  .press {
    grid-template-columns: 1fr;
  }

  .hero-brand-media {
    max-width: 520px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

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

  .tech-media {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

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

  .stat {
    padding: 1.5rem 1rem;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
  }

  .press-list button {
    grid-template-columns: 80px 1fr auto;
  }

  .press-list img {
    width: 80px;
  }

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

  .whatsapp {
    left: 1rem;
    right: auto;
    bottom: 1rem;
    padding: .85rem;
  }

  .whatsapp span {
    display: none;
  }

  .catalog-actions .btn,
  .cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* =========================================================
   Hakkımızda sayfası
   ========================================================= */

.about-hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.page-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-hero .lead {
  margin-bottom: 0;
  max-width: 32em;
}

/* Kurum kartı */
.id-card {
  aspect-ratio: 1.586;
  /* gerçek kart oranı */
  max-width: 400px;
  width: 100%;
  justify-self: end;
  background: var(--screen);
  color: #dbe5ef;
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(20, 34, 53, .55);
  transform: rotate(-3deg);
  position: relative;
  overflow: hidden;
}

.id-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 28px solid rgba(52, 209, 137, .08);
}

.id-card-top {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #8ea3ba;
  position: relative;
  z-index: 1;
}

.id-wave {
  margin-left: auto;
  display: flex;
}

.id-chip {
  width: 42px;
  height: 32px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(15, 28, 45, .35) 32% 36%, transparent 36% 64%, rgba(15, 28, 45, .35) 64% 68%, transparent 68%),
    linear-gradient(180deg, transparent 45%, rgba(15, 28, 45, .35) 45% 55%, transparent 55%),
    linear-gradient(135deg, #e9c979, #c99a3b);
}

.id-name {
  margin: auto 0 .6rem;
  font: 700 1.05rem/1.25 var(--font-display);
  color: #fff;
}

.id-rows {
  margin: 0;
  display: grid;
  gap: .15rem;
  font-size: .8125rem;
}

.id-rows div {
  display: flex;
  gap: .6rem;
}

.id-rows dt {
  color: #8ea3ba;
  width: 5.2rem;
  flex: none;
}

.id-rows dd {
  margin: 0;
  color: #dbe5ef;
}

.id-status {
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: #5fe0a5;
}

.id-status+.id-wave {
  margin-left: 0;
}

.id-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d189;
  box-shadow: 0 0 0 3px rgba(52, 209, 137, .2);
}

/* Fotoğraf */
.about-photo {
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  background: var(--tint);
}

/* Kimiz biz */
.about-story {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.story-grid .section-title {
  margin-bottom: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.story-text p {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 36em;
}

.story-text p:first-child {
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.5;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pillar {
  border-left: 3px solid var(--pass);
  padding: .3rem 0 .3rem 1.4rem;
}

.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  max-width: 30em;
}

/* Firma profili */
.profile {
  border-top: 1px solid var(--line);
}

.profile-row {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(1rem, 5vw, 4rem);
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  align-self: start;
}

.profile-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--pass);
  border: 1px solid var(--line);
}

.profile-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.profile-head h3 a {
  text-decoration: none;
}

.profile-head h3 a:hover {
  color: var(--pass);
}

.profile-more {
  display: inline-block;
  margin-top: 1.3rem;
}

.profile-body p {
  color: var(--ink-soft);
  max-width: 38em;
  margin: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.service-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .9rem;
  font-weight: 500;
}

@media (max-width: 960px) {

  .about-hero-grid,
  .story-grid,
  .profile-row {
    grid-template-columns: 1fr;
  }

  .id-card {
    justify-self: start;
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .id-card {
    transform: rotate(-2deg);
  }

  .story-text p:first-child {
    font-size: 1.15rem;
  }
}

/* =========================================================
   Ürünler sayfası
   ========================================================= */

.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.page-hero .lead {
  margin-bottom: 2rem;
  max-width: 36em;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  font-weight: 500;
  font-size: .9375rem;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(20, 34, 53, 0.03);
  transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.jump a:hover {
  border-color: var(--pass);
  color: var(--pass);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -4px rgba(21, 144, 92, 0.2);
}

.catalog-list {
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.item {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.item-flip {
  grid-template-columns: .85fr 1.15fr;
}

.item-flip .item-media {
  order: 2;
}

.item-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(20, 34, 53, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -25px rgba(20, 34, 53, 0.22);
}

.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-media:hover img {
  transform: scale(1.035);
}

.item-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.item-text p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.6rem;
}

.item-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.item-tag.is-highlight {
  background: var(--pass-soft);
  color: var(--pass);
  border-color: rgba(21, 144, 92, 0.25);
}

@media (max-width: 960px) {

  .item,
  .item-flip {
    grid-template-columns: 1fr;
  }

  .item-flip .item-media {
    order: 0;
  }
}

/* =========================================================
   Fotoğraflar sayfası (Galeri, Slayt, Filtre ve Lightbox)
   ========================================================= */

/* Öne çıkanlar slaytı */
.featured {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.slider {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--screen);
  box-shadow: 0 30px 60px -25px rgba(20, 34, 53, 0.25);
  border: 1px solid var(--line);
  margin-inline: auto;
}

.slides {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0 auto;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 28, 45, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: none !important;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.slider-btn:hover {
  background: rgba(15, 28, 45, 0.95);
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: .5rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(15, 28, 45, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  outline: none !important;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.slider-dot.is-active {
  width: 26px;
  background: #fff;
}

/* Filtre çubuğu */
.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(247, 249, 251, 0.95);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font: 500 .9375rem/1 var(--font-body);
  cursor: pointer;
  outline: none !important;
  box-shadow: 0 2px 5px rgba(20, 34, 53, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip span {
  font-size: .8125rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Galeri Grupları */
.gallery-group {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.gallery-group[hidden] {
  display: none !important;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 1.25rem;
}

.gallery-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.2;
}

.gallery-count {
  font-size: .9375rem;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-bottom: 4px;
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery li.is-extra {
  display: none;
}

.gallery.is-expanded li.is-extra {
  display: block;
}

.tile {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(20, 34, 53, 0.05);
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.2s;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 28, 45, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(20, 34, 53, 0.18);
  border-color: rgba(21, 144, 92, 0.35);
}

.tile:hover::after {
  opacity: 1;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile:hover img {
  transform: scale(1.05);
}

.gallery-more {
  display: table;
  margin: 2.5rem auto 0;
  padding: .85rem 2rem;
  font-weight: 600;
}

/* Lightbox Görüntüleyici */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox::backdrop {
  background: rgba(10, 18, 30, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  color: #fff;
  z-index: 10;
}

.lb-caption {
  margin: 0;
  font-size: 1rem;
  color: #b8c7d7;
  font-variant-numeric: tabular-nums;
}

.lb-caption strong {
  display: inline-block;
  margin-right: .75rem;
  color: #fff;
  font-weight: 700;
}

.lb-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: none !important;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lb-close:hover {
  background: #fff;
  color: var(--ink);
  transform: scale(1.1) rotate(90deg);
}

.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 4rem;
  min-height: 0;
}

#lbImg {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#lbImg.is-loading {
  opacity: 0.3;
  transform: scale(0.98);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 28, 45, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: none !important;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.lb-nav:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-50%) scale(1.1);
}

.lb-prev {
  left: 1.5rem;
}

.lb-next {
  right: 1.5rem;
}

@media (max-width: 620px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }

  .filter-bar {
    top: 76px;
    padding: .75rem 0;
  }

  .chip {
    padding: .45rem .85rem;
    font-size: .85rem;
  }

  .lb-stage {
    padding: 1rem;
  }

  .lb-prev {
    left: .5rem;
    width: 42px;
    height: 42px;
  }

  .lb-next {
    right: .5rem;
    width: 42px;
    height: 42px;
  }
}

/* =========================================================
   Blog sayfası
   ========================================================= */

.blog-list {
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.posts {
  display: grid;
  gap: 2rem;
}

.post {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 4px 18px rgba(20, 34, 53, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -15px rgba(20, 34, 53, 0.14);
  border-color: rgba(21, 144, 92, 0.35);
}

.post-lead {
  border-left: 4px solid var(--pass);
}

.post-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
  width: 100%;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.post-cover svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.post:hover .post-cover svg {
  transform: scale(1.12);
}

.post-cover-app {
  background: linear-gradient(135deg, rgba(21, 144, 92, 0.15) 0%, rgba(21, 144, 92, 0.04) 100%);
  color: var(--pass);
}

.post-cover-gate {
  background: linear-gradient(135deg, rgba(15, 28, 45, 0.12) 0%, rgba(15, 28, 45, 0.03) 100%);
  color: var(--ink);
}

.post-cover-support {
  background: linear-gradient(135deg, rgba(233, 201, 121, 0.22) 0%, rgba(201, 154, 59, 0.06) 100%);
  color: #c99a3b;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: .6rem;
}

.post-updated {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .15rem .6rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: .8125rem;
  color: var(--ink-soft);
}

.post-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 .85rem;
}

.post-body h2 a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}

.post:hover .post-body h2 a {
  color: var(--pass);
}

.post-excerpt {
  color: var(--ink-soft);
  font-size: 1.025rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--pass);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link:hover {
  color: #0e6c43;
}

.link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 840px) {
  .post {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .post-cover {
    max-height: 200px;
  }
}

/* =========================================================
   İletişim sayfası (contact.html)
   ========================================================= */

.contact {
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 10px 30px -10px rgba(20, 34, 53, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.contact-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1.75rem;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 1rem;
}

.ci-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  flex: 1;
  min-width: 0;
}

.ci-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  min-width: 0;
}

.ci-list li>div {
  min-width: 0;
  flex: 1;
}

.ci-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--pass);
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, color 0.3s;
}

.ci-list li:hover .ci-icon {
  transform: translateY(-2px) scale(1.05);
  background: var(--pass-soft);
  border-color: rgba(21, 144, 92, 0.3);
}

.ci-list h3 {
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 .25rem;
}

.ci-value {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  margin: 0;
  line-height: 1.5;
  transition: color 0.2s;
  overflow-wrap: anywhere;
  word-break: break-word;
}

a.ci-value:hover {
  color: var(--pass);
}

.ci-list .link {
  margin-top: .4rem;
  font-size: .9rem;
}

.btn-wa {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  background: #25d366;
  border-color: #25d366;
  color: #0b3d22;
  font-weight: 700;
  padding: .95rem 1.6rem;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background 0.2s;
}

.btn-wa:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  color: #052614;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.6);
}

/* Harita */
.map {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -10px rgba(20, 34, 53, 0.06);
  min-height: 420px;
  background: var(--tint);
  position: relative;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map {
    min-height: 360px;
  }

  .map iframe {
    min-height: 360px;
  }
}

/* =========================================================
   Ürün Detay Sayfası: Okul Turnike Sistemi
   ========================================================= */

.detail-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background: radial-gradient(120% 80% at 50% -10%, rgba(21, 144, 92, 0.08) 0%, transparent 70%);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.crumbs a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.crumbs a:hover {
  color: var(--pass);
}

.crumbs span[aria-current="page"] {
  color: var(--muted);
  font-weight: 600;
}

.detail-title {
  text-wrap: balance;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
}

.detail-hero-media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(20, 34, 53, 0.18), 0 0 0 1px var(--line);
  background: #000;
  aspect-ratio: 16/9;
}

.detail-hero-media video,
.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-block {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.prose-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.prose p {
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Mozaik Görseller */
.mosaic {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

.mosaic-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mosaic-2 {
  grid-template-columns: repeat(2, 1fr);
}

.mosaic figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 34, 53, 0.08);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--surface);
}

.mosaic figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mosaic figure:hover img {
  transform: scale(1.06);
}

/* Kurallar (Okul öğrencisi olmayan giremez vb.) */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.rule {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(20, 34, 53, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.rule:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 34, 53, 0.09);
  border-color: rgba(21, 144, 92, 0.4);
}

.rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.rule-icon.is-in {
  background: var(--pass-soft);
  color: var(--pass);
}

.rule-icon.is-out {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.rule h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--ink);
  line-height: 1.25;
}

.rule p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

/* Özellikler Tablosu / Listesi */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 3rem;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.25s;
}

.features li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--pass-soft);
  color: var(--pass);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 1px;
}

.features li:hover {
  transform: translateY(-2px);
  border-color: var(--pass);
  box-shadow: 0 8px 18px rgba(20, 34, 53, 0.06);
}

.features li a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.features li a:hover {
  color: var(--pass);
  text-decoration: underline;
}

.features-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  text-align: center;
  box-shadow: 0 8px 24px rgba(20, 34, 53, 0.04);
}

.features-cta p {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

/* Katalog Alanı */
.catalog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  background: linear-gradient(135deg, var(--screen) 0%, #172b43 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-l);
  box-shadow: 0 20px 45px -10px rgba(15, 28, 45, 0.35);
}

.catalog .section-title {
  color: #fff;
  margin-bottom: 0.5rem;
}

.catalog p {
  color: #a3b8cc;
  font-size: 1.0625rem;
  margin: 0;
}

.catalog-actions {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
}

.catalog-actions .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.catalog-actions .btn:hover {
  background: var(--pass-soft);
  border-color: var(--pass-soft);
}

.catalog-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.catalog-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Videolar Bölümü (Press Player & Playlist) */
.press {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.press-player {
  position: sticky;
  top: 90px;
  background: #000;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(20, 34, 53, 0.12);
}

.press-player video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
}

.press-now {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--screen);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.press-now::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.press-list-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.5rem;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.press-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.press-list-scroll::-webkit-scrollbar-track {
  background: var(--tint);
  border-radius: 4px;
}

.press-list-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.press-list-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.press-list-scroll li button {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  color: var(--ink);
}

.press-list-scroll li button:hover {
  border-color: var(--pass);
  background: var(--pass-soft);
  transform: translateX(4px);
}

.press-list-scroll li button.is-active {
  border-color: var(--pass);
  background: var(--pass-soft);
  box-shadow: 0 0 0 1.5px var(--pass);
}

.press-list-scroll li button img {
  width: 88px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.press-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.press-dur {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  padding: 2px 6px;
  background: var(--tint);
  border-radius: 4px;
}

/* Tanıtım Animasyonu Butonu */
.anim {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(20, 34, 53, 0.1);
  cursor: pointer;
  padding: 0;
  background: #000;
  margin-top: 1.5rem;
}

.anim img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}

.anim:hover img {
  transform: scale(1.03);
  filter: brightness(0.92);
}

.anim-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--pass);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(21, 144, 92, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

/* Tanıtım Animasyonu Oynatıcı */
.anim-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px -10px rgba(20, 34, 53, 0.14);
  background: #000;
  margin-top: 1.5rem;
}

.anim-player video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Video Modal */
.video-modal {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  width: min(92vw, 960px);
  max-width: 960px;
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 1000;
  display: none;
}

.video-modal[open],
.video-modal.is-open {
  display: block;
  animation: promoPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.video-modal.is-closing {
  animation: promoPopOut 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.video-modal::backdrop {
  background: rgba(10, 18, 30, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: promoBackdropIn 0.3s ease forwards;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.15);
  line-height: 0;
  padding: 0 !important;
  margin: 0 !important;
}

.video-modal-inner video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
  border-radius: var(--radius-l);
  object-fit: contain;
  padding: 0 !important;
  margin: 0 !important;
}

.video-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

.video-close:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.1);
}

/* Responsive Düzenlemeler */
@media (max-width: 960px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .mosaic-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .press {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .press-player {
    position: static;
  }

  .catalog {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2.25rem 1.5rem;
  }

  .catalog-actions {
    flex-direction: column;
    width: 100%;
  }

  .catalog-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {

  .mosaic-4,
  .mosaic-3,
  .mosaic-2 {
    grid-template-columns: 1fr;
  }

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

  .features-cta {
    flex-direction: column;
  }

  .features-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   Mobil Uygulama Detay Sayfası
   ========================================================= */

.app-hero-media {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-hero-media figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 10px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 28, 45, 0.8) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.store-badges a {
  display: inline-flex;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s;
}

.store-badges a:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
}

.store-badges img {
  height: 52px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: block;
}

.store-legal {
  margin-top: 1.25rem;
  text-align: right;
  font-size: 0.9375rem;
}

/* Mobil Uygulama Ekran Görüntüleri Sliderı */
.gallery-sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.app-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  outline: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  box-shadow: 0 4px 12px rgba(20, 34, 53, 0.06);
}

.app-slider-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.08);
}

.app-slider-btn:active {
  transform: scale(0.96);
}

.app-slider-wrap {
  position: relative;
  width: 100%;
}

.gallery-slider {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.25rem 1.25rem;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

.app-slide {
  flex: 0 0 210px;
  width: 210px;
  scroll-snap-align: start;
}

.gallery-slider .tile {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-m);
  border: 1.5px solid var(--line);
  box-shadow: 0 8px 24px -6px rgba(20, 34, 53, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.2s;
  background: var(--screen);
  overflow: hidden;
  display: block;
}

.gallery-slider .tile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px -8px rgba(20, 34, 53, 0.22);
  border-color: var(--pass);
}

.gallery-slider .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Telefon Ekran Görüntüleri Galerisi (Fallback) */
.gallery-phone {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}

.gallery-phone .tile {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-m);
}

/* =========================================================
   Scroll Reveal & Lazy Loading Animasyonları
   ========================================================= */

/* Varsayılan reveal: öğeler aşağıdan yukarıya yumuşakça belirir */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Farklı yön ve biçim varyasyonları */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade.is-revealed {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Kademeli gecikmeler */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-150 {
  transition-delay: 0.15s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-250 {
  transition-delay: 0.25s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* Kademeli container (Staggered Children) */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stagger.is-revealed>*:nth-child(1) {
  transition-delay: 0.08s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-revealed>*:nth-child(2) {
  transition-delay: 0.18s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-revealed>*:nth-child(3) {
  transition-delay: 0.28s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-revealed>*:nth-child(4) {
  transition-delay: 0.38s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-revealed>*:nth-child(5) {
  transition-delay: 0.48s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-revealed>*:nth-child(6) {
  transition-delay: 0.58s;
  opacity: 1;
  transform: translateY(0);
}

/* Görsel Efektleri */
img[loading="lazy"],
.lazy-img {
  opacity: 1;
  transition: opacity 0.35s ease;
}

img[loading="lazy"].is-loaded,
.lazy-img.is-loaded {
  opacity: 1;
}

/* Shimmer / Skeleton Placeholder */
.product-media,
.about-photo,
.item-media,
.app-hero-media {
  position: relative;
  overflow: hidden;
}

.product-media::before,
.about-photo::before,
.item-media::before,
.app-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 1.8s infinite;
  pointer-events: none;
  z-index: 1;
}

.product-media.is-img-ready::before,
.about-photo.is-img-ready::before,
.item-media.is-img-ready::before,
.app-hero-media.is-img-ready::before {
  display: none;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* =========================================================
   Kullanım Koşulları ve Gizlilik Sözleşmesi (privacy.html)
   ========================================================= */

.legal-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}

.legal-sheet {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 5vw, 3.75rem);
  box-shadow: 0 10px 30px -10px rgba(20, 34, 53, 0.05);
  box-sizing: border-box;
}

.legal-sheet .crumbs {
  margin-bottom: 2rem;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legal-brand-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px;
  object-fit: contain;
  flex: none;
}

.legal-brand-text {
  display: flex;
  flex-direction: column;
}

.legal-app-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.legal-app-sub {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2rem;
}

.legal-divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0 0 2rem;
}

.legal-body {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.legal-body p {
  margin: 0 0 1.25rem;
}

.legal-disclaimer {
  background: var(--tint);
  border-left: 3px solid var(--pass);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.legal-clause {
  margin-top: 2rem;
}

.legal-clause-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.legal-foot {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.925rem;
  color: var(--muted);
}

.legal-company a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.legal-company a:hover {
  color: var(--pass);
}

/* =========================================================
   GENEL VE TÜM SAYFALAR İÇİN DUYARLI (RESPONSIVE) DÜZELTMELER
   ========================================================= */

@media (max-width: 960px) {

  /* Sayfa animasyonlarının mobil ve tablette ekranı sağa taşırmasını engelle */
  .reveal-left,
  .reveal-right {
    transform: translateY(20px) !important;
  }

  .reveal-left.is-revealed,
  .reveal-right.is-revealed {
    transform: translateY(0) !important;
  }

  /* Gridleri ve esnek alanları tek sütuna düşür */
  .detail-hero-grid,
  .prose-grid,
  .contact-grid,
  .about-hero-grid,
  .story-grid,
  .profile-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* index.html ve ürün detaylarındaki video oynatıcı gridi */
  .press {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .press-player {
    position: static !important;
  }

  /* index.html: Eğitimde teknoloji telefon + rapor kartı hizalaması */
  .tech-media {
    flex-direction: column !important;
    min-height: auto !important;
    gap: 1.5rem !important;
    padding: 1rem 0 !important;
    max-width: 100% !important;
  }

  .tech-media .phone {
    width: min(100%, 280px) !important;
  }

  .tech-media .report {
    width: min(100%, 270px) !important;
    margin-left: 0 !important;
    align-self: center !important;
    margin-bottom: 0 !important;
  }

  /* products.html: Ürün listesi ve kartları */
  .item,
  .item-flip {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    padding: 2.5rem 0 !important;
  }

  .item-flip .item-media {
    order: -1 !important;
  }

  .item-media,
  .item-text {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Katalog ve İndirme alanları */
  .catalog {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 1.5rem !important;
    padding: 2rem 1.25rem !important;
  }

  .catalog-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .catalog-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .store-badges {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }

  /* Mobil uygulama ekran görüntüleri tablet görünümü */
  .app-slide {
    flex: 0 0 185px !important;
    width: 185px !important;
  }

  .gallery-phone {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }

  .hero-brand-media img {
    width: 100% !important;
    height: auto !important;
  }

  /* Tablet ve mobilde dikey bölüm boşluklarını dengele */
  .section {
    padding: clamp(2.5rem, 5vw, 3.75rem) 0 !important;
  }

  .detail-block {
    padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 !important;
  }

  .detail-hero {
    padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2.25rem) !important;
  }

  .gallery-group {
    padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(2.5rem, 5vw, 3.5rem) !important;
  }

  .cta {
    padding: clamp(2.75rem, 5.5vw, 3.75rem) 0 !important;
  }

  .site-footer {
    padding: 3rem 0 1.75rem !important;
  }

  .page-hero,
  .about-hero {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.75rem, 3.5vw, 2.25rem) !important;
  }

  .hero {
    padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 2.75rem) !important;
  }
}

@media (max-width: 768px) {

  /* Mozaik görseller */
  .mosaic-4,
  .mosaic-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .rules {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
    gap: 1.25rem !important;
  }

  .features {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important;
    gap: 0.85rem !important;
  }

  /* Mobilde animasyon süresini kısalt ve hızlı açılmasını sağla */
  .reveal,
  .reveal-up,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .reveal-stagger > * {
    transition-duration: 0.4s !important;
  }
}

@media (max-width: 620px) {

  /* about.html kimlik kartı rotasyonunu sıfırla */
  .id-card {
    transform: none !important;
    max-width: 100% !important;
    justify-self: center !important;
  }

  /* contact.html kart içi dolgular ve yazı kırılmaları */
  .contact-info {
    padding: 1.5rem 1.25rem !important;
  }

  .ci-value {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* Basında biz liste elemanları */
  .press-list button {
    grid-template-columns: 76px 1fr auto !important;
    gap: 0.65rem !important;
  }

  .press-title {
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Mozaik tek sütun */
  .mosaic-4,
  .mosaic-3,
  .mosaic-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Legal sözleşme kağıdı */
  .legal-sheet {
    padding: 1.5rem 1.2rem !important;
    border-radius: var(--radius-m) !important;
  }

  /* Mobil uygulama ekran görüntüleri sliderı mobilde 160px genişlik ve akıcı dokunmatik */
  .app-slide {
    flex: 0 0 160px !important;
    width: 160px !important;
  }

  .gallery-slider {
    gap: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .app-slider-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .gallery-sub {
    font-size: 0.875rem !important;
  }

  /* Mobil uygulama ekran görüntüleri fallback */
  .gallery-phone {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .gallery-phone .tile {
    aspect-ratio: 9 / 16 !important;
    border-radius: var(--radius-m) !important;
  }

  .store-legal {
    text-align: center !important;
    margin-top: 1rem !important;
  }

  /* Video modal mobilde kompakt */
  .video-modal {
    width: min(96vw, 540px) !important;
  }

  .video-close {
    top: 8px !important;
    right: 8px !important;
    width: 36px !important;
    height: 36px !important;
  }

  /* Mobil cihazlarda dikey boşlukları optimize et (aşırı boşluk hissini yok eder) */
  .section {
    padding: 2rem 0 !important;
  }

  .detail-block {
    padding: 1.75rem 0 !important;
  }

  .detail-hero {
    padding: 1.75rem 0 1.25rem !important;
  }

  .gallery-group {
    padding: 1.75rem 0 2rem !important;
  }

  .cta {
    padding: 2.25rem 0 !important;
  }

  .cta h2 {
    margin-bottom: 0.75rem !important;
  }

  .cta p {
    margin-bottom: 1.25rem !important;
  }

  .site-footer {
    padding: 2.25rem 0 1.25rem !important;
  }

  .footer-grid {
    gap: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }

  .page-hero,
  .about-hero {
    padding: 2rem 0 1.25rem !important;
  }

  .hero {
    padding: 2.25rem 0 1.75rem !important;
  }

  .gallery-head {
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.75rem !important;
  }

  .section-title {
    margin-bottom: 1.25rem !important;
  }

  .lead {
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-up,
  .reveal-fade,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .reveal-stagger>*,
  img[loading="lazy"],
  .lazy-img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}