/* IFC uygulamaları — seçim sayfası. Sade: başlık, iki kart, kısa durum satırı. */

:root {
  --paper: #F0F1EC;
  --card: #FFFFFF;
  --ink: #1B1F24;
  --ink-2: #4A5058;
  --ink-3: #7B8189;
  --line: #D9DCD4;
  --accent: #E8481A;
  --accent-deep: #C63A12;
  --font: "Barlow", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  padding: 8px 12px; background: var(--accent); color: #fff; font-size: 13px; border-radius: 6px;
}
.skip:focus { top: 12px; }

.page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

/* üst satır */
.head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0 18px;
}
.brand { display: inline-flex; align-items: center; }
.brand__mark { width: 36px; height: 36px; }
.head__nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.head__nav a { color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.head__nav a:hover { color: var(--accent); border-color: var(--accent); }

/* başlık */
.hero { padding: clamp(32px, 7vh, 80px) 0 clamp(24px, 4vh, 40px); text-align: center; }
.title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.title span { color: var(--accent); font-weight: 500; }
.lede {
  max-width: 60ch;
  margin: 18px auto 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  text-wrap: pretty;
}

/* kartlar */
.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 16px 0 48px;
}
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 28px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(27, 31, 36, .08); border-color: #C9CDC4; }
.card__icon { color: var(--accent); margin-bottom: 4px; }
.card__title { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.15; }
.card__text { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card__specs { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-3); }
.card__specs li::before { content: "—"; color: var(--accent); margin-right: 8px; }
.btn {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 600;
  border-radius: 10px;
  transition: background .15s;
}
.btn:hover { background: var(--accent-deep); }
.btn span { transition: transform .18s var(--ease); }
.btn:hover span { transform: translateX(4px); }

/* alt satır */
.foot {
  margin-top: auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-3);
}
.foot .ok { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .title, .lede, .card { animation: rise .5s var(--ease) both; }
  .lede { animation-delay: .06s; }
  .card:nth-child(1) { animation-delay: .12s; }
  .card:nth-child(2) { animation-delay: .18s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .apps { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .lede { margin-left: 0; }
}
