/* Potios demo vitrini: ortak ve galeri stilleri */
:root {
  --wall: #ECEEF2;
  --paper: #FFFFFF;
  --ink: #181B34;
  --ink-2: #4A4E6A;
  --mute: #6B7088;
  --line: #D9DCE4;
  --blue: #3441F5;
  --blue-deep: #2631D6;
  --r: 10px;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* Üst şerit */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.mark {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 27px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none;
}
.mark i { width: 13px; height: 13px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 4px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
}
.pill:hover { background: var(--blue); }

/* Karşılama */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end;
  padding: clamp(32px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
}
.hero h1 {
  margin: 0; font-weight: 800; font-stretch: 84%;
  font-size: clamp(56px, 9.6vw, 144px); line-height: 0.92; letter-spacing: -0.012em;
}
.hero h1 span { display: block; }
.hero-side p { margin: 0 0 26px; max-width: 34ch; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; counter-reset: s; font-weight: 600; font-size: 16px; }
.steps li { display: flex; align-items: center; gap: 9px; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
}

/* Süzgeç çubuğu */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--wall) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.bar-in { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.chips { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; white-space: nowrap; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: 15px; font-weight: 500;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { margin-left: 7px; opacity: 0.55; font-variant-numeric: tabular-nums; }
.search { position: relative; flex: none; width: 250px; }
.search input {
  width: 100%; padding: 9px 16px 9px 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); font-size: 15px;
}
.search input::placeholder { color: var(--mute); }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--mute); pointer-events: none; }
.count { flex: none; min-width: 74px; text-align: right; font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }

/* Kart ızgarası */
.grid {
  list-style: none; margin: 0; padding: 48px 0 96px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 56px 32px;
}
.card a { display: block; text-decoration: none; }
.frame {
  border-radius: var(--r); background: var(--paper); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(24, 27, 52, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card a:hover .frame, .card a:focus-visible .frame {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--ink), 0 22px 34px -16px rgba(24, 27, 52, 0.4);
}
.chrome { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; background: #F6F7F9; border-bottom: 1px solid var(--line); }
.chrome i { width: 8px; height: 8px; border-radius: 50%; background: #CDD0D9; }
.chrome span {
  flex: 1; max-width: 62%; margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: #fff;
  font-size: 11px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--base, #fff); }
.shot iframe {
  position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0;
  transform-origin: 0 0; transform: scale(var(--s, 0.25)); pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.shot iframe.ready { opacity: 1; }
.meta { display: grid; gap: 6px; padding: 18px 2px 0; }
.meta h2 { margin: 0; font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.meta p { margin: 0; max-width: 46ch; font-size: 16px; color: var(--ink-2); }
.foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.sw { display: flex; padding-left: 4px; }
.sw i { width: 17px; height: 17px; margin-left: -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--wall); }
.go { font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; }
.card a:hover .go, .card a:focus-visible .go { color: var(--blue); border-color: currentColor; }

/* Sonuç yok */
.empty { padding: 72px 0 120px; max-width: 520px; }
.empty h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; }
.empty p { margin: 0 0 22px; color: var(--ink-2); }

/* Kapanış bandı */
.band { background: var(--blue); color: #fff; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px, 6vw, 72px) 0; }
.band h2 { margin: 0 0 8px; font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; font-stretch: 88%; line-height: 1.02; letter-spacing: -0.015em; }
.band p { margin: 0; max-width: 46ch; font-size: 18px; opacity: 0.9; }
.pill.light { background: #fff; color: var(--ink); flex: none; padding: 14px 26px; font-size: 17px; }
.pill.light:hover { background: var(--ink); color: #fff; }

.foot-bar { padding: 26px 0 34px; font-size: 14px; color: var(--mute); }
.foot-bar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .bar-in { flex-wrap: wrap; row-gap: 10px; }
  .chips { flex-basis: 100%; order: 2; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .search { flex: 1; width: auto; }
  .band-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .nav a:not(.pill) { display: none; }
  .grid { gap: 44px 0; padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
