/* ==========================================================================
   UTOPYAI — site.css
   Acik-oncelikli, sakin kurumsal tasarim sistemi.
   Marka renkleri: #002E4D (lacivert), #005F9A (mavi)
   ========================================================================== */

/* --- 1. Tokenlar ---------------------------------------------------------- */

:root {
  color-scheme: light;

  /* Marka */
  --navy: #002e4d;
  --blue: #005f9a;
  --blue-strong: #00486f;

  /* Yuzeyler ve metin */
  --surface: #ffffff;
  --surface-2: #f4f7fa;
  --surface-3: #e9eff5;
  --surface-invert: #002e4d;
  --ink: #0a1a2b;
  --ink-2: #4a5f73;
  --ink-3: #627687;
  --ink-invert: #ffffff;
  --ink-invert-2: #b9d2e4;
  --line: #e2e9f0;
  --line-strong: #c8d6e2;
  --accent: var(--blue);
  --accent-soft: #eaf2f8;
  --accent-ring: rgba(0, 95, 154, 0.28);

  /* Tipografi */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.06rem, 0.98rem + 0.3vw, 1.18rem);
  --fs-lg: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem);
  --fs-h2: clamp(1.65rem, 1.35rem + 1.3vw, 2.4rem);
  --fs-h1: clamp(2.15rem, 1.6rem + 2.7vw, 3.5rem);

  /* Olcu */
  --gutter: 20px;
  --shell: 1140px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 43, 0.06);
  --shadow: 0 10px 30px -18px rgba(10, 26, 43, 0.22);
  --shadow-lg: 0 30px 60px -32px rgba(10, 26, 43, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  color-scheme: dark;

  --navy: #cfe4f3;
  --blue: #52a8e4;
  --blue-strong: #7cc1ef;

  --surface: #091521;
  --surface-2: #0e2030;
  --surface-3: #14293c;
  --surface-invert: #0e2030;
  --ink: #e9f1f8;
  --ink-2: #a3b8ca;
  --ink-3: #768c9f;
  --ink-invert: #ffffff;
  --ink-invert-2: #a3c2d8;
  --line: #1c3448;
  --line-strong: #27465f;
  --accent: #52a8e4;
  --accent-soft: #112a3d;
  --accent-ring: rgba(82, 168, 228, 0.35);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 60px -32px rgba(0, 0, 0, 0.75);
}

/* --- 2. Temel ------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }
p + p { margin-top: 0.9em; }

ul, ol { margin: 0; padding-left: 1.15em; }

strong { font-weight: 700; color: var(--ink); }

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

::selection { background: var(--accent-ring); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 200;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-invert);
  color: var(--ink-invert);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); text-decoration: none; }

/* --- 3. Yerlesim --------------------------------------------------------- */

.shell {
  width: min(var(--shell), 100% - calc(var(--gutter) * 2));
  margin-inline: auto;
}

.shell-narrow { max-width: 760px; }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 68px); }
.section-alt { background: var(--surface-2); }
.section + .section-alt,
.section-alt + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: var(--fs-md); }

.stack > * + * { margin-top: 16px; }

/* --- 4. Tipografik ogeler ------------------------------------------------ */

.kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-2);
  font-size: var(--fs-lg);
  line-height: 1.55;
  text-wrap: pretty;
}

.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.fineprint { color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.55; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pill-plain::before { display: none; }

/* --- 5. Butonlar --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-strong); }
[data-theme="dark"] .btn-primary { color: #04121d; }

.btn-outline {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-invert { background: #fff; color: var(--navy); }
.btn-invert:hover { background: var(--ink-invert-2); }
[data-theme="dark"] .btn-invert { background: var(--accent); color: #04121d; }

/* Saydam zemin uzerinde duran ikincil buton (giris ekrani) */
.btn-ghost {
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent);
}

.btn-quiet {
  padding-inline: 0;
  color: var(--accent);
  font-weight: 700;
}
.btn-quiet:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* --- 6. Baslik / gezinme ------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(14px);
  }
}
.site-header[data-stuck="true"] {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand { flex: none; display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand img { width: 104px; height: auto; }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-link[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

.nav-actions { flex: none; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .icon-sun { display: none; }
[data-theme="dark"] .icon-btn .icon-sun { display: block; }
[data-theme="dark"] .icon-btn .icon-moon { display: none; }

.menu-btn { display: none; }

@media (max-width: 920px) {
  .nav-row { min-height: 64px; gap: 12px; }
  .menu-btn { display: inline-grid; }
  .nav-actions .btn { display: none; }
  .main-nav {
    position: fixed;
    inset: 64px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0.28s;
  }
  .main-nav[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav-link { padding: 14px 16px; border-radius: var(--radius-sm); font-size: var(--fs-md); }
}

/* --- 7. Giris ekrani ----------------------------------------------------- */

/* Baslik seridinin toplam yuksekligi: .nav-row min-height + 1px alt cizgi */
:root { --header-h: 73px; }
@media (max-width: 920px) { :root { --header-h: 65px; } }

/* Ana sayfada baslik serit giris ekranina biner: perde tam ekran kalir. */
body[data-home] .site-header {
  background: transparent;
  backdrop-filter: none;
}
body[data-home] .site-header[data-stuck="true"] {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@supports (backdrop-filter: blur(1px)) {
  body[data-home] .site-header[data-stuck="true"] {
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(14px);
  }
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

/* Gokyuzu: asagidan yukari acilan isik, sag ustte uzak bir hale */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(85% 55% at 50% 102%, var(--accent-soft), transparent 72%),
    radial-gradient(52% 42% at 84% 14%, var(--accent-ring), transparent 74%),
    linear-gradient(to bottom, var(--surface) 0%, var(--surface-2) 58%, var(--surface) 100%);
}

/* Okunurluk perdesi: metnin arkasi sakinlesir, sag yari akisa kalir */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    var(--surface) 2%,
    color-mix(in srgb, var(--surface) 76%, transparent) 28%,
    color-mix(in srgb, var(--surface) 32%, transparent) 46%,
    transparent 60%
  );
}
/* Dar ekranda metin dikeyde ortada durur: perde de orada yogunlasir,
   akis ust ve alt kenarlarda acikta kalir. */
@media (max-width: 900px) {
  .hero::after {
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--surface) 28%, transparent) 0%,
      color-mix(in srgb, var(--surface) 92%, transparent) 22%,
      color-mix(in srgb, var(--surface) 92%, transparent) 66%,
      color-mix(in srgb, var(--surface) 24%, transparent) 90%,
      transparent 100%
    );
  }
}

/* Ufuk cizgisi */
.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  z-index: 2;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.45;
}
.hero-horizon::after {
  content: "";
  position: absolute;
  inset: -70px 0;
  background: radial-gradient(48% 50% at 56% 50%, var(--accent-ring), transparent 72%);
  opacity: 0.6;
}

/* WebGL katmani (js/hero-gl.js) */
.hero > .hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s var(--ease);
}
.hero[data-gl="on"] > .hero-canvas { opacity: 1; }

.hero-inner {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-block: clamp(40px, 7vh, 80px);
}

/* Genis ekranda metin blogu sag yariyi akisa ve kelimeye birakir */
.hero-copy { max-width: 680px; }
@media (min-width: 1080px) { .hero-copy { max-width: min(680px, 55%); } }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 2.6vh, 28px);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-ring);
  animation: heroPulse 2.8s var(--ease) infinite;
}
.hk-sep { color: var(--line-strong); }

.hero-title {
  font-size: clamp(2.45rem, 1.1rem + 5vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-title .hl { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .hl > span { display: block; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(104deg, var(--accent) 6%, var(--navy) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: clamp(20px, 3vh, 30px);
  max-width: 50ch;
}
.hero-cta { margin-top: clamp(24px, 3.4vh, 36px); }

/* Alt serit: urunlerin bugunku karsiligi + kaydirma isareti */
.hero-foot {
  position: relative;
  z-index: 4;
  padding-bottom: clamp(18px, 3.4vh, 34px);
}
.hero-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
}

.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 3.4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-rail li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.hero-rail b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll:hover { color: var(--accent); text-decoration: none; }
.hero-scroll svg { width: 15px; height: 15px; animation: heroNudge 2.6s var(--ease) infinite; }

/* Giris animasyonu: perde kalkinca body.hero-in eklenir (js/site.js) */
.js body[data-home] .hero-kicker,
.js body[data-home] .hero-title .hl > span,
.js body[data-home] .hero-lead,
.js body[data-home] .hero-cta,
.js body[data-home] .hero-foot-inner { opacity: 0; }

.hero-in .hero-kicker { animation: heroUp 0.8s var(--ease) 0.05s both; }
.hero-in .hero-title .hl:nth-child(1) > span { animation: heroLine 1s var(--ease) 0.14s both; }
.hero-in .hero-title .hl:nth-child(2) > span { animation: heroLine 1s var(--ease) 0.26s both; }
.hero-in .hero-lead { animation: heroUp 0.9s var(--ease) 0.46s both; }
.hero-in .hero-cta { animation: heroUp 0.9s var(--ease) 0.58s both; }
.hero-in .hero-foot-inner { animation: heroUp 0.9s var(--ease) 0.7s both; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroLine {
  from { opacity: 0; transform: translateY(104%); }
  to { opacity: 1; transform: none; }
}
@keyframes heroNudge {
  0%, 70%, 100% { transform: none; }
  82% { transform: translateY(4px); }
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 var(--accent-ring); }
  70%, 100% { box-shadow: 0 0 0 9px transparent; }
}

/* --- Acilis perdesi (js/site.js) ----------------------------------------- */

.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #002e4d;
  clip-path: inset(0 0 0 0);
}
.intro-core {
  position: relative;
  display: grid;
  place-items: center;
  width: min(58vmin, 460px);
  aspect-ratio: 1;
}
.intro-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.2;
}
.intro-rings circle {
  transform-origin: 50% 50%;
  animation: introRing 1.6s var(--ease) both;
}
.intro-rings circle:nth-child(1) { animation-delay: 0s; }
.intro-rings circle:nth-child(2) { animation-delay: 0.08s; }
.intro-rings circle:nth-child(3) { animation-delay: 0.16s; }
.intro-rings circle:nth-child(4) { animation-delay: 0.24s; }
.intro-rings circle:nth-child(5) { animation-delay: 0.32s; }

.intro-mark {
  width: clamp(116px, 17vmin, 180px);
  height: auto;
  filter: brightness(0) invert(1);
  animation: introMark 0.9s var(--ease) 0.3s both;
}
.intro-word {
  position: absolute;
  bottom: clamp(44px, 12vh, 110px);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.7em;
  text-indent: 0.7em;
  text-transform: uppercase;
  animation: introMark 0.9s var(--ease) 0.5s both;
}
.intro[data-done] {
  animation: introOut 0.9s var(--ease) both;
  pointer-events: none;
}

@keyframes introRing {
  from { opacity: 0; transform: scale(0.24); }
  60% { opacity: 1; }
  to { opacity: 0.85; transform: scale(1); }
}
@keyframes introMark {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes introOut {
  from { clip-path: inset(0 0 0 0); }
  to { clip-path: inset(0 0 100% 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .js body[data-home] .hero-kicker,
  .js body[data-home] .hero-title .hl > span,
  .js body[data-home] .hero-lead,
  .js body[data-home] .hero-cta,
  .js body[data-home] .hero-foot-inner { opacity: 1; }
  .hero-in .hero-kicker,
  .hero-in .hero-title .hl > span,
  .hero-in .hero-lead,
  .hero-in .hero-cta,
  .hero-in .hero-foot-inner,
  .hero-scroll svg,
  .hk-dot { animation: none; }
}

/* Sayfa basligi (ic sayfalar) */
.page-hero {
  padding-block: clamp(44px, 6vw, 84px) clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin-top: 20px; max-width: 62ch; }

/* --- 8. Kartlar --------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.card p { color: var(--ink-2); }
.card-hover:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-num {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon svg { width: 21px; height: 21px; }

/* --- 9. Urun kartlari --------------------------------------------------- */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* Urun logosu basligin kendisidir; metin karsiligi img alt'inda */
.product-logo { margin: 0; line-height: 0; }
.product-logo a { display: inline-block; }
.product-logo a:hover { opacity: 0.75; }
.product-logo img { height: 30px; width: auto; }
.product-logo-lg img { height: 40px; }

/* Logolarin en-boy oranlari farkli; optik olarak denklenir */
.pl-yzs img { height: 38px; }
.pl-yzs.product-logo-lg img { height: 50px; }
.pl-bitasis img { height: 27px; }
.pl-bitasis.product-logo-lg img { height: 38px; }

/* Acik/koyu tema logo varyantlari */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.product-card p { color: var(--ink-2); }

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-tags li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.product-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* --- 9b. One cikan urun / sosyal proje ---------------------------------- */

/* Ana urun: digerlerinden acikca buyuk duran blok */
.feature {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
.feature h2 { margin-top: 18px; font-size: var(--fs-h2); }
.feature .lead { margin-top: 16px; }

.feature-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.feature-points li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* Sosyal proje: ticari urunlerden gorsel olarak ayrilir */
.social {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: clamp(26px, 3vw, 40px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: transparent;
}
@media (min-width: 860px) {
  .social { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
}
.social p { color: var(--ink-2); }
.social .product-logo { margin-bottom: 16px; }

.tag-soft {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- 10. Numarali liste (cozumler) -------------------------------------- */

.feature-list { display: grid; gap: 0; }

.feature-row {
  display: grid;
  gap: 8px 32px;
  padding-block: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 820px) {
  .feature-row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
}
.feature-row .card-num { padding-top: 4px; }
.feature-row p { color: var(--ink-2); }

/* --- 11. Adimlar -------------------------------------------------------- */

.steps {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--line-strong);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.step h3 { font-size: var(--fs-md); }
.step p { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-sm); }

/* --- 12. Olgu seridi ---------------------------------------------------- */

.facts {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.fact { padding: clamp(20px, 2.4vw, 28px); background: var(--surface); }
.fact dt {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fact dd {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.fact dd span { display: block; margin-top: 6px; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 400; }

/* --- 13. Panel / CTA ---------------------------------------------------- */

.panel {
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.cta-band {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--surface-invert);
  color: var(--ink-invert);
}
[data-theme="dark"] .cta-band { border: 1px solid var(--line); }
@media (min-width: 860px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
}
.cta-band h2 { color: var(--ink-invert); }
.cta-band p { margin-top: 12px; color: var(--ink-invert-2); font-size: var(--fs-md); max-width: 54ch; }
.cta-band .kicker { color: var(--ink-invert-2); }
.cta-band .btn-row { margin-top: 0; }

/* --- 14. Magaza rozetleri ----------------------------------------------- */

.store-row { display: flex; flex-wrap: wrap; gap: 10px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.2;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.store-badge:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.store-badge svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.store-badge span { display: block; font-size: var(--fs-xs); color: var(--ink-3); }
.store-badge b { display: block; font-size: var(--fs-sm); font-weight: 700; }

/* --- 15. Gorsel cercevesi ----------------------------------------------- */

.frame {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.frame img { border-radius: 12px; width: 100%; height: auto; }

.shot-row {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* Telefon ekran goruntuleri: 1:1 basilmasin, makul boyda dursun */
.shot-row-phone {
  max-width: 520px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.shot-row-phone .frame { padding: 8px; }
@media (max-width: 480px) {
  .shot-row-phone { max-width: 260px; grid-template-columns: 1fr; }
}

/* Metin + gorsel ikilisi */
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}
.split .section-head { margin-bottom: 0; }

/* --- 16. Iletisim bilgileri --------------------------------------------- */

.info-list { margin: 0; }
.info-list > div {
  display: grid;
  gap: 4px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.info-list > div:first-child { border-top: 0; padding-top: 0; }
.info-list > div:last-child { padding-bottom: 0; }
@media (min-width: 620px) {
  .info-list > div { grid-template-columns: 150px minmax(0, 1fr); }
}
.info-list dt {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3px;
}
.info-list dd { margin: 0; color: var(--ink); font-weight: 600; }
.info-list address { font-style: normal; font-weight: 600; }

/* --- 17. Alt bilgi ------------------------------------------------------ */

.site-footer {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding-block: clamp(40px, 5vw, 64px) 28px;
}

.footer-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

.footer-brand img { width: 104px; margin-bottom: 18px; }
[data-theme="dark"] .footer-brand img { filter: brightness(0) invert(1); }
.footer-brand p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; max-width: 38ch; }
.footer-brand strong { display: block; margin-bottom: 4px; color: var(--ink); }

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; }
.footer-col a:hover { color: var(--accent); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--fs-sm);
}

/* --- 18. Hata sayfalari ------------------------------------------------- */

.notice {
  display: grid;
  place-items: center;
  min-height: 56vh;
  padding-block: clamp(48px, 7vw, 96px);
  text-align: center;
}
.notice .kicker { font-size: var(--fs-sm); }
.notice .lead { margin-top: 18px; max-width: 48ch; margin-inline: auto; }
.notice .btn-row { justify-content: center; }

/* --- 19. Hareket / erisilebilirlik -------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
