/* HiBPi — sade, net, monokrom */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #0b0b0f;          /* logo rengi */
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --dark: #0b0b0f;
  --dark-2: #16161b;
  --dark-text: #f5f5f7;
  --dark-muted: #a1a1a6;
  --radius-lg: 28px;
  --radius: 20px;
  --wrap: 1080px;
  --wrap-wide: 1280px;
  --nav-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.wrap.wide { width: min(var(--wrap-wide), 100% - 32px); }
.wrap.narrow { width: min(760px, 100% - 44px); }

/* ---------- Tipografi ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.04em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--muted); letter-spacing: -0.015em; max-width: 640px; }
.muted { color: #86868b; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: inherit; font-size: 17px; font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #2c2c31; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 32px; padding: 0 16px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 500; color: var(--ink); }
.link span { transition: transform .2s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover span { transform: translateX(3px); }
.link.light { color: var(--dark-text); }

/* ---------- Navigasyon ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); width: min(var(--wrap-wide), 100% - 32px); margin-inline: auto; }
.nav-logo { display: flex; color: var(--ink); }
.nav-logo svg { width: 78px; height: auto; aspect-ratio: 1878 / 442; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 14px; color: #424245; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }
.nav-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vh, 64px) 0 clamp(48px, 7vh, 88px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: min(calc(100svh - var(--nav-h) - 72px), 860px);
}
.hero .eyebrow { font-size: clamp(14px, 1.3vw, 17px); }
.hero h1 { font-size: clamp(44px, min(5.4vw, 9.5vh), 84px); margin-bottom: 26px; }
.hero .lead { max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: clamp(32px, 5vh, 56px) 0 0; }
.hero-pills li { font-size: 13px; font-weight: 500; color: #424245; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }

.hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 4 / 5;
  max-height: min(calc(100svh - var(--nav-h) - 96px), 780px);
  width: 100%;
  justify-self: end;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.js .hero-media.in img { transform: scale(1); }

/* Görsel üzerindeki buzlu cam etiketler */
.glass {
  position: absolute; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 999px;
}
.glass-top { top: 20px; left: 20px; padding: 8px 14px 8px 12px; }
.glass-bottom {
  left: 20px; right: 20px; bottom: 20px;
  justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: 18px;
  font-size: 14px; color: rgba(255, 255, 255, .86);
}
.glass-bottom svg { width: 64px; height: auto; aspect-ratio: 1878 / 442; color: #fff; flex: none; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34c759; opacity: 0; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Bölümler ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { margin-bottom: 20px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Kartlar */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .07); }
.icon-tile {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 28px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2a2a30, var(--ink) 60%);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .4s var(--ease);
}
.card:hover .icon-tile { transform: scale(1.06) rotate(-3deg); }
.icon { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.card .solves { margin-top: 14px; font-size: 14px; color: #86868b; }
.card .solves strong { color: var(--text); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: auto 0 0; padding: 22px 0 0; }
.tags li { font-size: 12px; font-weight: 500; color: #424245; background: var(--bg-alt); padding: 5px 11px; border-radius: 999px; }

/* Koyu bölüm */
.section.dark { background: var(--dark); color: var(--dark-text); }
.section.dark h2 { color: #fff; }
.section.dark .eyebrow, .section.dark .lead { color: var(--dark-muted); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-text h2 { margin-bottom: 22px; font-size: clamp(34px, 4.2vw, 54px); }
.checks { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--dark-text); }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%230b0b0f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.split-media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-2); aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.dark-glass { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .18); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--line); padding-top: 26px; }
.steps .num { display: block; font-size: 15px; font-weight: 600; color: #86868b; margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }

/* HiBPi açılımı */
.acronym { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.acronym > div { background: var(--card); border-radius: var(--radius); padding: 28px 24px 26px; }
.acronym > div { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.acronym > div:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .07); }
.acronym dt { height: clamp(56px, 6.5vw, 80px); margin-bottom: 28px; color: var(--ink); }
.acronym dt svg { display: block; height: 100%; width: auto; aspect-ratio: calc(var(--w) / 442); }
.acronym dd { margin: 0; display: grid; gap: 4px; }
.acronym strong { font-size: 17px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.acronym span { font-size: 15px; color: var(--muted); }
.quote { margin: clamp(64px, 8vw, 104px) auto 0; max-width: 820px; text-align: center; }
.quote p { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; font-weight: 650; letter-spacing: -0.035em; color: var(--ink); }
.quote footer { margin: 22px auto 0; max-width: 560px; font-size: 17px; color: var(--muted); }

/* İletişim */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full, .form-foot.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: #424245; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--text);
  background: var(--bg-alt);
  border: 1px solid transparent; border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 11, 15, .08); }
.field.invalid input, .field.invalid textarea { border-color: #d70015; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--muted); }
.direct { margin-top: 36px; text-align: center; color: var(--muted); }
.direct a { color: var(--ink); font-weight: 500; }
.direct a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: 13px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-logo { display: flex; color: var(--ink); }
.footer-logo svg { width: 92px; height: auto; aspect-ratio: 1878 / 442; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; }

/* Görünme animasyonu */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 44px; }
  .hero-media { aspect-ratio: 4 / 3; max-height: none; justify-self: stretch; }
  .hero-media img { object-position: 50% 42%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .acronym { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-mobile {
    display: grid; overflow: hidden; max-height: 0;
    padding: 0 22px; background: rgba(255, 255, 255, .96);
    transition: max-height .4s var(--ease), padding .4s var(--ease);
  }
  .nav.open .nav-mobile { max-height: 360px; padding: 8px 22px 24px; }
  .nav-mobile a { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; padding: 10px 0; color: var(--ink); }

  .hero { padding-top: 36px; }
  .hero-pills { display: none; }
  .hero-media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
  .glass-top { top: 14px; left: 14px; }
  .glass-bottom { left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; font-size: 13px; }
  .glass-bottom svg { width: 54px; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 30px 24px 26px; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 22px 0 24px; }
  .steps .num { margin-bottom: 14px; }
  .acronym { grid-template-columns: 1fr; gap: 10px; }
  .acronym > div { display: flex; align-items: center; gap: 22px; padding: 18px 22px; }
  .acronym dt { height: 40px; width: 60px; margin: 0; flex: none; display: flex; justify-content: center; }
  .quote { text-align: left; }
  .form { grid-template-columns: 1fr; }
  .section-head.center { text-align: left; }
  .section-head.center .lead { margin-inline: 0; }
  .direct { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .link span, .icon-tile, .acronym > div, .hero-media img { transition: none; }
  .hero-media img { transform: none; }
  .pulse::after { animation: none; }
}
