/* KeplerFit ana sayfa (TR + EN) — 2026-11. Genel tasarım styles.css'te. */

.kh-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.kh-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.kh-section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kh-kicker { display: block; margin-bottom: .8rem; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-300); }
.kh-title { font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: .98; text-transform: uppercase; margin: 0 0 1rem; }
.kh-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.kh-head.center { margin-inline: auto; text-align: center; }
.kh-head p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin: 0; }

/* ───────── hero ───────── */
.kh-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(48% 60% at 82% 18%, rgba(139, 92, 246, .2), transparent 70%),
    radial-gradient(42% 55% at 8% 0%, rgba(78, 230, 222, .14), transparent 70%),
    var(--bg);
}
.kh-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
}
.kh-hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 960px) { .kh-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.kh-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem .4rem .7rem;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.03);
  font-weight: 600; font-size: .9rem; color: var(--text-soft);
}
.kh-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C995; box-shadow: 0 0 0 4px rgba(34, 201, 149, .18); }
.kh-hero h1 { font-size: clamp(2.9rem, 7.4vw, 5.4rem); line-height: .93; text-transform: uppercase; margin: 1.1rem 0 1.25rem; }
.kh-hero h1 em { font-style: normal; color: var(--brand-400); }
.kh-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; max-width: 33rem; color: var(--text-soft); margin: 0; }
.kh-ctas { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.75rem 0 1rem; }
.kh-note { font-size: .95rem; color: var(--text-mute); max-width: 33rem; margin: 0; }
.kh-note b { color: var(--text-soft); font-weight: 600; }
.kh-trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.kh-trust li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.02); font-size: .9rem; color: var(--text-soft);
}
.kh-trust svg { width: 16px; height: 16px; color: var(--brand-400); flex: none; }

/* — hero görseli: çerçeveli fotoğraf + yüzen kartlar (seçenek A, 2026-11-19) — */
.kh-hero-visual { position: relative; }
.kh-hero-photo {
  margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4;
  border: 1px solid var(--border); background: var(--surface-2);
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
}
.kh-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.kh-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .7rem;
  padding: .75rem .95rem; border-radius: 16px; background: rgba(15, 23, 42, .92);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: .85rem; color: var(--text-soft);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.kh-float b { display: block; color: var(--text); font-size: .95rem; }
.kh-float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(78,230,222,.1); color: var(--brand-400); flex: none; }
.kh-float .ico svg { width: 20px; height: 20px; }
.kh-hp-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: #fff; }
.kh-hp-reps { left: -26px; bottom: 16%; }
.kh-hp-ok { right: -20px; top: 10%; }
.kh-hp-ok .ico { background: rgba(34,201,149,.14); color: #6EE7B7; }
.kh-hp-lock { right: 10%; bottom: -24px; }
@media (max-width: 959px) {
  .kh-hero-visual { margin-bottom: 1.5rem; }
  .kh-hp-reps { left: 10px; } .kh-hp-ok { right: 10px; } .kh-hp-lock { right: 10px; }
}
@media (max-width: 520px) {
  .kh-float { padding: .55rem .7rem; font-size: .78rem; gap: .5rem; }
  .kh-float b { font-size: .88rem; }
  .kh-hp-num { font-size: 2rem; }
  .kh-hp-ok { top: 12px; left: 10px; right: auto; }
  .kh-hp-reps { bottom: 22%; }
}

/* ───────── özellik satırları ───────── */
.kh-feature { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--border); }
.kh-feature:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .kh-feature { grid-template-columns: 1fr 1fr; } .kh-feature.flip .kh-visual { order: -1; } }
.kh-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .14em; color: var(--brand-400); margin-bottom: .5rem; }
.kh-feature h3 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; text-transform: uppercase; margin: 0 0 1rem; }
.kh-feature p { font-size: 1.08rem; }
.kh-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .65rem; }
.kh-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text); }
.kh-list svg { width: 20px; height: 20px; color: var(--brand-400); flex: none; margin-top: .2rem; }
.kh-limit { font-size: .95rem; color: var(--text-mute); border-left: 2px solid var(--border); padding-left: .9rem; margin: 1.25rem 0; }
.kh-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; min-height: 44px; }

.kh-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-lg); }
.kh-card::after { content: attr(data-label); position: absolute; top: -11px; right: 18px; padding: .15rem .6rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }
.kh-card-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 700; color: var(--text); }
.kh-card-title span { font-size: .85rem; font-weight: 600; color: var(--text-mute); }
.kh-rows { display: grid; gap: .6rem; }
.kh-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); }
.kh-row b { color: var(--text); font-weight: 600; }
.kh-row em { font-style: normal; color: var(--text-mute); font-size: .9rem; margin-left: .35rem; }
.kh-tag { padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.kh-tag.ok { background: rgba(34,201,149,.14); color: #6EE7B7; }
.kh-tag.warn { background: rgba(245,166,35,.14); color: #FCD34D; }
.kh-tag.muted { background: rgba(255,255,255,.06); color: var(--text-mute); }

.kh-viewfinder { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; background: radial-gradient(60% 70% at 50% 45%, #2A2F45, #121829); display: grid; place-items: center; margin-bottom: 1rem; overflow: hidden; }
.kh-viewfinder::before, .kh-viewfinder::after { content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.7); }
.kh-viewfinder::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.kh-viewfinder::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.kh-viewfinder svg { width: 46%; height: auto; }
.kh-kcal { display: flex; align-items: baseline; gap: .5rem; margin: .25rem 0 1rem; }
.kh-kcal strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #fff; }
.kh-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.kh-macro small { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-mute); margin-bottom: .35rem; }
.kh-bar { height: 7px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.kh-bar i { display: block; height: 100%; border-radius: 6px; }

.kh-week { display: grid; gap: .5rem; }
.kh-day { display: grid; grid-template-columns: 3rem 1fr auto; gap: .75rem; align-items: center; padding: .75rem .9rem; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); }
.kh-day > span:first-child { font-family: var(--font-display); font-weight: 700; color: var(--text-mute); letter-spacing: .06em; }
.kh-day b { color: var(--text); font-weight: 600; }
.kh-day.rest b { color: var(--text-mute); font-weight: 500; }

/* ───────── ek özellikler ───────── */
.kh-extras { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kh-extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kh-extras { grid-template-columns: repeat(4, 1fr); } }
.kh-extra { padding: 1.4rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.kh-extra .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; background: rgba(78,230,222,.08); border: 1px solid rgba(78,230,222,.2); color: var(--brand-400); }
.kh-extra .ico svg { width: 22px; height: 22px; }
.kh-extra h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.kh-extra p { font-size: .97rem; margin: 0; }
.kh-extra a { display: inline-block; margin-top: .75rem; font-weight: 700; font-size: .95rem; }

/* ───────── adımlar ───────── */
.kh-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 900px) { .kh-steps { grid-template-columns: repeat(3, 1fr); } }
.kh-steps li { counter-increment: s; padding: 1.6rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.kh-steps li::before { content: "0" counter(s); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--brand-400); margin-bottom: .75rem; }
.kh-steps h3 { margin: 0 0 .4rem; }
.kh-steps p { margin: 0; }

/* ───────── fiyat ───────── */
.kh-plans { display: grid; gap: 1.25rem; max-width: 920px; margin: 0 auto; }
@media (min-width: 800px) { .kh-plans { grid-template-columns: 1fr 1fr; } }
.kh-plan { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem); border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.kh-plan.pro { border-color: rgba(78,230,222,.45); background: linear-gradient(180deg, rgba(78,230,222,.07), transparent 40%), var(--surface); }
.kh-plan h3 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; margin: 0 0 .25rem; }
.kh-price { display: flex; align-items: baseline; gap: .35rem; margin: .5rem 0 1.25rem; }
.kh-price strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: #fff; }
.kh-price span { color: var(--text-mute); }
.kh-plan .kh-list { margin: 0 0 1.5rem; flex: 1; }
.kh-plan .fine { font-size: .9rem; color: var(--text-mute); margin: 0; }

/* ───────── gizlilik ───────── */
.kh-privacy { display: grid; gap: 1rem; }
@media (min-width: 900px) { .kh-privacy { grid-template-columns: repeat(3, 1fr); } }
.kh-priv { padding: 1.5rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.kh-priv .where { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .9rem; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.kh-priv .where.device { background: rgba(34,201,149,.12); color: #6EE7B7; }
.kh-priv .where.cloud { background: rgba(139,92,246,.14); color: #C4B5FD; }
.kh-priv h3 { margin: 0 0 .4rem; }
.kh-priv p { margin: 0; }

/* ───────── kurucu ───────── */
.kh-founder { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 800px) { .kh-founder { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.kh-avatar { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--kf-grad); color: var(--kf-on-brand); font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; }
.kh-founder blockquote { margin: 0 0 .75rem; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--text); }
.kh-founder cite { font-style: normal; color: var(--text-mute); font-size: .95rem; }

/* ───────── araçlar ───────── */
.kh-tools { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .kh-tools { grid-template-columns: repeat(4, 1fr); } }
.kh-tool { display: block; padding: 1.25rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.kh-tool:hover { border-color: var(--brand-200); color: var(--text); transform: translateY(-2px); }
.kh-tool b { display: block; font-size: 1.05rem; margin-bottom: .25rem; }
.kh-tool span { font-size: .9rem; color: var(--text-mute); }
.kh-tools-more { margin-top: 1.25rem; text-align: center; }

/* ───────── final + bülten ───────── */
.kh-final {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem); border-radius: 28px; border: 1px solid var(--border);
  background: radial-gradient(60% 90% at 100% 0%, rgba(139,92,246,.22), transparent 70%), radial-gradient(60% 90% at 0% 100%, rgba(78,230,222,.2), transparent 70%), var(--surface-2);
}
.kh-final .kh-title { margin-bottom: .75rem; }
.kh-final p { max-width: 36rem; margin: 0 auto; }
.kh-final .kh-ctas { justify-content: center; }
.kh-final .ios { font-size: .95rem; color: var(--text-mute); }

.kh-news { padding: clamp(3.5rem, 8vw, 5.5rem) 0; border-top: 1px solid var(--border); }
.kh-news-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.kh-news h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-transform: uppercase; margin: 0 0 .75rem; }
.kh-news .hero-signup { justify-content: center; margin: 1.5rem auto .5rem; }
.kh-news .fine { font-size: .85rem; color: var(--text-mute); }

@media (prefers-reduced-motion: reduce) { .kh-tool:hover { transform: none; } }

/* ───────── özellik fotoğrafı + üstüne binen örnek kart ───────── */
/* Onaylanan seçenek 1 (2026-11-19): kart fotoğrafın alt kenarına, konunun olmadığı köşeye biner. */
.kh-visual { position: relative; }
.kh-photo { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.kh-photo img { width: 100%; height: 100%; object-fit: cover; }
.kh-visual .kh-card.over { position: relative; margin: -56px 14px 0; }
.kh-card.over .kh-viewfinder { display: none; }
@media (min-width: 900px) {
  .kh-visual .kh-card.over { width: min(330px, 74%); margin: -88px 0 0 auto; }
  .kh-feature.flip .kh-visual .kh-card.over,
  .kh-feature:nth-of-type(3) .kh-visual .kh-card.over { margin: -88px auto 0 0; }
  .kh-visual .kh-card.over .kh-rows .kh-row:nth-child(4),
  .kh-visual .kh-card.over .kh-week .kh-day:nth-child(n+4) { display: none; }
}
