/* home.css — fitHedef landing & herkese açık profiller.
   RADİKAL yeniden tasarım: "Swiss Minimal / Premium" (Linear/Vercel dili).
   Bol boşluk · hairline çizgiler · hassas grid · ölçülü tipografi · minimum gölge.
   emil-design-eng: güçlü easing, ölçülü hareket, basılı geri bildirimi, erişilebilir odak.
   Açık palete sadık. TÜM class isimleri HTML/JS ile uyumlu kalır. */

:root {
    /* Renk — çok kısıtlı, mavi tek vurgu */
    --bg: #ffffff;
    --bg-soft: #fafbfc;          /* neredeyse beyaz alternatif bölümler */
    --text: #0a0c12;             /* neredeyse siyah */
    --text-2: #39414e;           /* ikincil metin */
    --muted: #69707d;            /* sönük metin */
    --accent: #2f6bff;
    --accent-dark: #1f53e0;
    --accent-soft: #f1f5ff;      /* soluk mavi tint */
    --accent-line: #d8e3ff;
    --border: #ededf1;           /* hairline */
    --border-2: #e3e5ea;         /* biraz daha belirgin */
    --card: #ffffff;

    /* Gölge — neredeyse yok; ayrım hairline kenarlıkla yapılır */
    --shadow-xs: 0 1px 2px rgba(10, 12, 18, .04);
    --shadow-sm: 0 1px 2px rgba(10, 12, 18, .04), 0 4px 12px -6px rgba(10, 12, 18, .08);
    --shadow-md: 0 1px 3px rgba(10, 12, 18, .05), 0 14px 30px -12px rgba(10, 12, 18, .14);

    /* Yarıçap — ölçülü, çok yuvarlak değil */
    --r-sm: 9px;
    --r: 12px;
    --r-lg: 16px;

    --ring: 0 0 0 3px rgba(47, 107, 255, .25);
    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --ease-in-out: cubic-bezier(.77, 0, .175, 1);

    --maxw: 1100px;
}

* { box-sizing: border-box; }
/* Kök tipografi ölçeği: 81.25% × 16px = 13px (landing + profiller + public profil). */
html { scroll-behavior: smooth; font-size: 81.25%; }
/* Masaüstünde +2px (93.75% × 16px = 15px) — app SPA (style.css) ile birebir tutarlı.
   1025px sınırı iPad yatay (1024px) ve daha küçük tablet/mobili dışarıda bırakır. */
@media (min-width: 1025px) { html { font-size: 93.75%; } }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font: 1rem/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -.011em;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip; /* mobilde istemsiz yatay taşmaya karşı güvenlik */
}
a { color: var(--accent); text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ── Eyebrow — küçük, harf aralıklı, sönük etiket (Swiss imzası) ── */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted);
}
.eyebrow::before { content: ""; width: 14px; height: 1px; background: var(--border-2); }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent-line); }

/* ── Topbar — ince, sade, hairline alt çizgi ── */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-weight: 650; font-size: 1.22rem; letter-spacing: -.03em; color: var(--text); }
.logo b { color: var(--accent); font-weight: 750; }
.top-actions { display: flex; gap: .5rem; align-items: center; }
/* Dil seçici (home/public/profiles JS üst bara enjekte eder) — SAĞ ÜST: margin-left:auto ile
   kendini + üst-bar butonlarını sağa iter; DOM'da logodan sonra durur (renderAuthChip top-actions'ı
   ezse bile korunur), görsel olarak butonların hemen solunda sağ üstte görünür. */
.topbar .lang-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .34rem .6rem;
    border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft, #fff);
    color: var(--text); font-weight: 600; font-size: .82rem; cursor: pointer; line-height: 1;
    margin-left: auto; margin-right: .5rem; transition: border-color .15s, background .15s; }
.topbar .lang-toggle:hover { border-color: var(--accent); }
.topbar .lang-toggle .tt-ico { font-size: .95rem; line-height: 1; }
@media (max-width: 560px) { .topbar .lang-toggle { margin-right: .4rem; padding: .3rem .5rem; font-size: .78rem; } }
/* Üst menü metin linki (Topluluk Profilleri) — buton değil, sade gezinme linki. */
.top-link { color: var(--text-2, var(--text)); font-weight: 600; font-size: .9rem; padding: .5rem .55rem;
    border-radius: 8px; white-space: nowrap; transition: color .15s, background .15s; }
.top-link:hover { color: var(--accent); background: var(--bg-soft); }

.user-chip {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .26rem .75rem .26rem .28rem; border: 1px solid var(--border-2); border-radius: 999px;
    background: var(--card); color: var(--text); font-weight: 550;
    transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.user-chip:hover { border-color: var(--muted); box-shadow: var(--shadow-xs); }
.user-av {
    width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; flex: 0 0 auto;
}
.user-name { font-size: .88rem; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Buttons — crisp, ölçülü, hairline ikincil ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; letter-spacing: -.01em;
    line-height: 1; padding: .62rem 1.05rem; border-radius: 10px;
    transition: transform .14s var(--ease-out), background .15s var(--ease-out),
                box-shadow .15s var(--ease-out), border-color .15s var(--ease-out), color .15s var(--ease-out);
}
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-sm); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--muted); background: var(--bg-soft); }
.btn-white { background: var(--card); color: var(--text); border-color: var(--border-2); box-shadow: var(--shadow-xs); }
.btn-white:hover { border-color: var(--muted); box-shadow: var(--shadow-sm); }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; border-radius: 11px; }

/* ── Hero — aydınlık, ince grid dokusu, soluk aksan parıltısı ── */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--border); }
.hero::before { /* hassas grid çizgileri (host bağımsız, salt CSS) */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(10, 12, 18, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 12, 18, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(900px 420px at 70% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(900px 420px at 70% 0%, #000 0%, transparent 72%);
}
.hero::after { /* çok soluk mavi parıltı */
    content: ""; position: absolute; top: -180px; right: -120px; width: 620px; height: 480px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(47, 107, 255, .14), transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.hero h1 { font-size: 3.3rem; line-height: 1.05; margin: 1.2rem 0 0; letter-spacing: -.045em; font-weight: 680; color: var(--text); }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 1.12rem; line-height: 1.6; color: var(--text-2); margin: 1.3rem 0 0; max-width: 480px; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.9rem; }
.hero-badges { display: flex; gap: 1.3rem; margin-top: 2.1rem; color: var(--muted); font-size: .86rem; flex-wrap: wrap; }
.hero-badges span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-badges span::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════
   HERO — VİDEO VARYANTI (.hero-video)  ·  BÜYÜK ÖN YÜZ GÜNCELLEMESİ v2
   Arka planda sinematik spor salonu videosu (sports-tracker tarzı).
   TÜM kurallar .hero-video'ya scope'ludur → genel tema/renkler değişmez;
   yalnızca ana sayfanın ilk görünen üst bloğu koyu/video olur.
   Geri almak için: index.html'deki .hero-video bloğu + bu CSS bloğu +
   img/hero-workout.mp4 & img/hero-poster.jpg kaldırılır (başka bağımlılık yok).
   ═══════════════════════════════════════════════════════════════════ */
.hero-video { position: relative; overflow: hidden; background: #0a0b0e; border-bottom: 0; isolation: isolate; }
/* Açık-tema grid dokusu + mavi parıltıyı video varyantında kapat */
.hero-video::before, .hero-video::after { display: none; }

/* Video katmanı — tam kaplama, en altta */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0a0b0e; }
.hero-vid {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: 62% center;
    /* Hafif sinematik doygunluk/kontrast — video kaynağına dokunmadan */
    filter: saturate(1.05) contrast(1.04);
}
/* Okunabilirlik örtüsü — solda koyu (metin), sağa doğru açılır + alt/üst hafif tümsek */
.hero-scrim {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(6,8,12,.92) 0%, rgba(6,8,12,.80) 34%, rgba(6,8,12,.42) 66%, rgba(6,8,12,.62) 100%),
        linear-gradient(180deg, rgba(6,8,12,.55) 0%, rgba(6,8,12,0) 22% 68%, rgba(6,8,12,.72) 100%),
        radial-gradient(120% 90% at 78% 30%, rgba(47,107,255,.16), transparent 60%);
}

/* İçerik en üstte + dikey nefes alanı (immersive yükseklik) */
.hero-video .container { position: relative; z-index: 1; }
.hero-video .container { min-height: min(86vh, 760px); padding-top: 76px; padding-bottom: 84px; }

/* Metin renkleri — yalnız video hero içinde açık palete geçer */
.hero-video .eyebrow { color: #9fc0ff; }
.hero-video .eyebrow::before { background: rgba(159,192,255,.55); }
.hero-video h1 { color: #ffffff; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero-video h1 .accent { color: #6f9bff; }
.hero-video p.lead { color: rgba(233,238,247,.90); text-shadow: 0 1px 16px rgba(0,0,0,.4); }
.hero-video .hero-badges { color: rgba(219,226,238,.80); }
.hero-video .hero-badges span::before { color: #6f9bff; }

/* Butonlar — birincil mavi kalır; ikincil "beyaz cam" (koyu üzerinde okunur) */
.hero-video .btn-primary { box-shadow: 0 8px 24px -8px rgba(47,107,255,.6); }
.hero-video .btn-white {
    background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.28);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: none;
}
.hero-video .btn-white:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* Telefon maketi koyu zeminde daha güçlü ayrılsın */
.hero-video .phone-frame {
    box-shadow: inset 0 0 0 2px #3a3d45, inset 0 0 1px 3px #000,
        0 40px 80px -26px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.04);
}
.hero-video .phone-dots .dot { background: rgba(255,255,255,.28); }
.hero-video .phone-dots .dot.is-active { background: #6f9bff; }

/* Sessiz kırılım: reduced-motion → videoyu durdur, poster'ı zemin yap */
@media (prefers-reduced-motion: reduce) {
    .hero-video .hero-vid { display: none; }
    .hero-media { background: #0a0b0e url(../img/hero-poster.jpg) center/cover no-repeat; }
}
/* Mobil: telefon maketi zaten <560px gizli → tek kolon metin; scrim'i tam koyulaştır */
@media (max-width: 560px) {
    .hero-video .hero-scrim {
        background:
            linear-gradient(180deg, rgba(6,8,12,.72) 0%, rgba(6,8,12,.55) 45%, rgba(6,8,12,.82) 100%),
            radial-gradient(120% 60% at 70% 20%, rgba(47,107,255,.14), transparent 60%);
    }
    .hero-video .container { min-height: min(80vh, 620px); }
}

/* ══ App önizleme — gerçekçi telefon + kaydırmalı panel ekranları ══ */
.phone-mock { justify-self: center; width: 300px; display: flex; flex-direction: column; align-items: center; gap: 18px; user-select: none; }

/* Cihaz çerçevesi — koyu metal gövde, yan tuşlar, derin gölge */
.phone-frame {
    position: relative; width: 300px; height: 614px; padding: 11px;
    background: linear-gradient(155deg, #2b2e36 0%, #14161b 48%, #0a0b0e 100%);
    border-radius: 46px;
    box-shadow: inset 0 0 0 2px #3a3d45, inset 0 0 1px 3px #000,
        0 30px 60px -22px rgba(10, 12, 18, .55), var(--shadow-md);
}
.phone-frame::before { /* sol ses tuşları */
    content: ""; position: absolute; left: -2px; top: 132px; width: 3px; height: 92px;
    border-radius: 3px; background: #26282f; box-shadow: 0 36px 0 0 #26282f;
}
.phone-frame::after {  /* sağ güç tuşu */
    content: ""; position: absolute; right: -2px; top: 158px; width: 3px; height: 54px;
    border-radius: 3px; background: #26282f;
}
.phone-screen {
    /* Telefon içeriği HER ZAMAN koyu tema — arka plandaki koyu video ile uyumlu, site teması
       ne olursa olsun (beyaz mockup dikkat dağıtıyordu). Değişkenler burada ezilir → tüm .mk-*
       torunları koyu değeri miras alır. App koyu paletiyle tutarlı (style.css [data-theme=dark]). */
    --bg: #0e1525;
    --bg-soft: #1c2740;
    --card: #141d31;
    --text: #e7ecf5;
    --text-2: #c2cadb;
    --muted: #9aa6bc;
    --border: #2b3650;
    --border-2: #38456a;
    --accent: #5b8bff;
    --accent-dark: #4576f0;
    --accent-soft: rgba(91, 139, 255, .15);
    --accent-line: rgba(91, 139, 255, .32);
    color-scheme: dark;
    position: relative; width: 100%; height: 100%; overflow: hidden;
    background: var(--card); border-radius: 36px; display: flex; flex-direction: column;
}
/* Dynamic island */
.phone-island {
    position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
    width: 86px; height: 24px; background: #07080a; border-radius: 99px; z-index: 6;
}
/* Durum çubuğu */
.phone-statusbar {
    flex: 0 0 auto; height: 40px; display: flex; align-items: center; justify-content: space-between;
    padding: 6px 22px 0; color: var(--text); font-size: .72rem; font-weight: 650; letter-spacing: 0;
}
.psb-icons { display: inline-flex; align-items: center; gap: 5px; }
.psb-icons svg { fill: var(--text); }

/* Kaydırma alanı + ray */
.phone-viewport { flex: 1 1 auto; overflow: hidden; position: relative; }
.phone-track { display: flex; height: 100%; will-change: transform; touch-action: pan-y; cursor: grab; }
.phone-track:active { cursor: grabbing; }
.phone-slide {
    flex: 0 0 100%; height: 100%; overflow: hidden; padding: 8px 15px 10px;
    display: flex; flex-direction: column; gap: 11px;
}

/* Alt sekme çubuğu */
.phone-nav {
    flex: 0 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border); padding: 7px 6px 9px; background: var(--card);
}
.pn-item {
    border: 0; background: none; cursor: pointer; display: flex; flex-direction: column;
    align-items: center; gap: 3px; padding: 2px 0; color: var(--muted);
    font: inherit; font-size: .6rem; font-weight: 600; opacity: .55;
    transition: opacity .18s var(--ease-out), color .18s var(--ease-out);
}
.pn-ico { font-size: 1.04rem; line-height: 1; filter: grayscale(.5); transition: filter .18s var(--ease-out); }
.pn-item.is-active { opacity: 1; color: var(--accent); }
.pn-item.is-active .pn-ico { filter: none; }

/* Sayfa noktaları */
.phone-dots { display: flex; gap: 7px; }
.phone-dots .dot {
    width: 7px; height: 7px; border-radius: 99px; border: 0; padding: 0; cursor: pointer;
    background: var(--border-2); transition: width .25s var(--ease-out), background .25s var(--ease-out);
}
.phone-dots .dot.is-active { width: 20px; background: var(--accent); }

/* ── Mock ekran bileşenleri (panel görünümünü taklit eder) ── */
.mk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 2px; }
.mk-h1 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.mk-sub { font-size: .76rem; color: var(--muted); margin-top: 1px; }
.mk-av {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
    font-size: .76rem; font-weight: 700;
}
.mk-stat-lg { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r); padding: 13px 15px; display: flex; flex-direction: column; }
.mk-stat-v { color: var(--accent); font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.mk-stat-l { color: var(--accent-dark); font-size: .68rem; margin-top: 4px; opacity: .85; }
.mk-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-chip { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 6px; text-align: center; }
.mk-chip b { display: block; font-size: .94rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.mk-chip span { display: block; font-size: .58rem; color: var(--muted); margin-top: 2px; }
.mk-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 13px; }
.mk-card-h { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 9px; }
.mk-spark { width: 100%; height: 72px; display: block; }
.mk-spark-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mk-spark-area { fill: var(--accent-soft); stroke: none; opacity: .8; }
.mk-spark-sm { height: 44px !important; }

/* ── Panelim ekranı v2 — hedef ilerleme kartı (gerçek dashboard'u taklit) ── */
.mk-goal { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 13px; display: flex; flex-direction: column; gap: 9px; }
.mk-goal-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mk-goal-title { font-size: .9rem; font-weight: 750; letter-spacing: -.02em; color: var(--text); line-height: 1.15; min-width: 0; }
.mk-goal-pct { flex: 0 0 auto; font-size: 1.05rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.mk-goal-meta { font-size: .6rem; color: var(--muted); margin-top: -4px; }
.mk-bar { height: 7px; border-radius: 99px; background: var(--accent-line); overflow: hidden; }
.mk-bar-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); }
.mk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 9px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-tile-l { font-size: .58rem; font-weight: 600; color: var(--muted); }
.mk-tile-v { font-size: .9rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.mk-tile-v b { font-weight: 800; }
.mk-tile-v .mk-d { font-size: .62rem; font-weight: 700; font-style: normal; color: #4ade80; }
.mk-tile-sub { font-size: .55rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Günlük Kayıtlar ekranı — makro kartları + gün sonu/sabah şeritleri ── */
.mk-datechip { font-size: .62rem; font-weight: 650; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 99px; padding: 3px 9px; }
.mk-sec { font-size: .64rem; font-weight: 700; color: var(--text-2); margin-top: 2px; }
.mk-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-macro { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 9px 7px 8px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg-soft); }
.mk-macro-ic { font-size: 1rem; line-height: 1; }
.mk-macro b { font-size: .6rem; font-weight: 650; color: var(--muted); white-space: nowrap; }
.mk-macro-v { font-size: .86rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
/* Makro tint'leri koyu tema uyumlu (telefon her zaman koyu) — hafif renk dokunuşu. */
.mk-macro.p { background: rgba(248, 113, 113, .13); border-color: rgba(248, 113, 113, .26); }
.mk-macro.c { background: rgba(251, 191, 36, .13); border-color: rgba(251, 191, 36, .26); }
.mk-macro.f { background: rgba(34, 197, 94, .13); border-color: rgba(34, 197, 94, .26); }
.mk-drow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-dcell { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: .68rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-sm); }
.mk-dcell .mk-macro-ic { font-size: .9rem; }
.mk-dcell b { margin-left: auto; font-size: .78rem; font-weight: 800; color: var(--text); }

/* ── Vücut Ölçümleri ekranı — lejant + seçili bölge kartı + vurgulu nokta ── */
.mk-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .56rem; color: var(--muted); }
.mk-lg { display: inline-flex; align-items: center; gap: 4px; }
.mk-lgd { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--border-2); flex: 0 0 auto; }
.mk-lgd.miss { background: #64748b; } .mk-lgd.fill { background: #22c55e; } .mk-lgd.req { background: #fca5a5; }
.mk-dot-ring { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.mk-dot.sel { fill: var(--accent); }
.mk-sel { flex: 1 1 auto; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 13px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); }
.mk-sel-h { font-size: .92rem; font-weight: 750; letter-spacing: -.02em; color: var(--text); }
.mk-sel-v { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.mk-sel-v span { font-size: .7rem; font-weight: 650; color: var(--muted); }
.mk-sel-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; padding: 2px 8px; font-size: .56rem; font-weight: 650; color: #4ade80; background: rgba(34, 197, 94, .15); border: 1px solid rgba(34, 197, 94, .32); border-radius: 99px; }

/* Ölçüm ekranı */
.mk-meas { display: flex; gap: 12px; align-items: center; flex: 1 1 auto; }
.mk-fig { width: 116px; height: auto; flex: 0 0 auto; }
.mk-dot { stroke: var(--card); stroke-width: 2; fill: #64748b; }
.mk-dot.req { fill: #fca5a5; }
.mk-dot.fill { fill: #22c55e; }
.mk-mlist { flex: 1 1 auto; display: flex; flex-direction: column; gap: 7px; }
.mk-mrow { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.mk-mrow:last-child { border-bottom: 0; }
.mk-mrow span { color: var(--muted); }
.mk-mrow b { color: var(--text); font-weight: 700; }

/* Takviye planı ekranı */
.mk-prow { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--border); font-size: .76rem; }
.mk-prow:first-of-type { border-top: 0; }
.mk-pd { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.mk-pd.blue { background: #5b8bff; } .mk-pd.violet { background: #a78bfa; } .mk-pd.green { background: #22c55e; }
.mk-prow .nm { flex: 1 1 auto; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-prow b { color: var(--text); font-weight: 700; }
.mk-prow i { color: var(--muted); font-style: normal; font-size: .68rem; min-width: 46px; text-align: right; }
.mk-share { display: flex; align-items: center; gap: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r); padding: 11px 12px; }
.mk-globe { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.mk-share-t { flex: 1 1 auto; display: flex; flex-direction: column; }
.mk-share-t b { font-size: .8rem; color: var(--text); }
.mk-share-t span { font-size: .64rem; color: var(--muted); }
.mk-switch { flex: 0 0 auto; width: 38px; height: 22px; border-radius: 99px; background: var(--accent); position: relative; }
.mk-switch::after { content: ""; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* Before/After ekranı */
.mk-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1 1 auto; }
.mk-ba figure { margin: 0; position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--border); display: grid; place-items: center; }
.mk-ba img { width: 64%; height: auto; opacity: .55; }
.mk-ba .tag { position: absolute; top: 7px; left: 7px; font-size: .56rem; font-weight: 700; letter-spacing: .06em; background: rgba(10,12,18,.66); color: #fff; padding: 2px 6px; border-radius: 5px; }
.mk-ba-cap { display: flex; align-items: baseline; justify-content: space-between; }
.mk-ba-cap b { font-size: .9rem; color: var(--text); font-weight: 700; }
.mk-ba-cap span { font-size: .7rem; color: var(--muted); }

/* ── Sections — bol boşluk, küçük harf aralıklı başlık etiketi ── */
section { padding: 96px 0; }
.section-head { max-width: 660px; margin: 0 0 52px; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { font-size: 2rem; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 .7rem; font-weight: 680; color: var(--text); }
.section-head p { color: var(--muted); font-size: 1.06rem; line-height: 1.6; margin: 0; }
.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Özellik kartları — hairline bölünmüş birleşik grid; hover'da hücre arkaplanı */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.feature {
    background: var(--card); padding: 30px 26px;
    transition: background .18s var(--ease-out);
}
.feature:hover { background: var(--bg-soft); }
.feature .ico {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
    display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 18px;
}
.feature h3 { margin: 0 0 .4rem; font-size: 1.06rem; letter-spacing: -.02em; font-weight: 650; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* "Nasıl çalışır" akış şeridi — 4 adımlı; hairline grid + numara + masaüstü ok bağlayıcı */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.flow-step {
    background: var(--card); padding: 32px 26px; position: relative; min-width: 0;
    transition: background .18s var(--ease-out);
}
.flow-step:hover { background: var(--bg-soft); }
.flow-num {
    position: absolute; top: 20px; right: 22px;
    font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--border-2);
}
.flow-ico {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
    display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.flow-step h3 { margin: 0 0 .4rem; font-size: 1.08rem; letter-spacing: -.02em; font-weight: 650; }
.flow-step p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
/* Adımlar arası ok (yalnız masaüstü tek satırda) — hairline üzerine oturur */
.flow-step:not(:last-child)::after {
    content: "›"; position: absolute; right: -1px; top: 50%; z-index: 2;
    transform: translate(50%, -50%);
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--card); border: 1px solid var(--border); color: var(--muted);
    display: grid; place-items: center; font-size: 1.05rem; line-height: 1; padding-bottom: 2px;
}

/* Public profil kartları — hairline minimal */
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.profile-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
    cursor: pointer; text-align: left; display: block;
    transition: box-shadow .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.profile-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-2); }
.profile-card:active { transform: scale(.99); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.ba figure { margin: 0; position: relative; aspect-ratio: 3/4; background: var(--bg-soft); }
.ba img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba .tag { position: absolute; top: 9px; left: 9px; background: rgba(255, 255, 255, .9); color: var(--text); font-size: .64rem; font-weight: 650; padding: .14rem .5rem; border-radius: 6px; letter-spacing: .06em; border: 1px solid var(--border); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.profile-card .pc-body { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-card .pc-name { font-weight: 650; font-size: 1rem; letter-spacing: -.02em; }
.profile-card .pc-meta { color: var(--muted); font-size: .82rem; }

/* ── Topluluk kartı v2 (avatar + gelişim rozeti + boy/kilo/yağ ikonları) ── */
.profile-card.pc-v2 { padding: 16px; }
.pc-v2 .pc-top { display: flex; align-items: center; gap: 12px; }
.pc-v2 .pc-avatar { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
    background: var(--accent-soft, #eaf1ff); border: 1px solid var(--border-2, var(--border));
    display: grid; place-items: center; }
.pc-v2 .pc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .3s cubic-bezier(0.23,1,0.32,1); }
@media (hover: hover) and (pointer: fine) { .profile-card.pc-v2:hover .pc-avatar img { transform: scale(1.06); } }
.pc-v2 .pc-ini { font-weight: 800; font-size: 1.15rem; color: var(--accent); letter-spacing: -.02em; }
.pc-v2 .pc-id { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pc-v2 .pc-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Gelişim rozeti — hedefe göre alınan/verilen kilo (renk = yön) */
.pc-prog { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
    font-size: .76rem; font-weight: 650; padding: 3px 9px 3px 7px; border-radius: 999px; line-height: 1.3;
    border: 1px solid transparent; }
.pc-prog .ic { font-size: .82rem; line-height: 1; }
.pc-prog.gain { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.pc-prog.lose { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.pc-prog.neutral { background: var(--bg-soft); color: var(--muted); border-color: var(--border); }
/* Stat satırı — boy · kilo · yağ */
.pc-v2 .pc-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pc-stat { display: inline-flex; align-items: center; gap: 5px; min-width: 0;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 9px;
    padding: 5px 9px; font-size: .8rem; font-weight: 600; color: var(--text); }
.pc-stat .ic { font-size: .85rem; line-height: 1; }
.empty { text-align: center; color: var(--muted); padding: 48px; grid-column: 1 / -1; border: 1px dashed var(--border-2); border-radius: var(--r-lg); }

/* ── Footer — sade, hairline üst çizgi ── */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .88rem; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
footer a { color: var(--muted); transition: color .15s var(--ease-out); }
footer a:hover { color: var(--text); }

/* ── Public profil detay sayfası — aydınlık hero ── */
.profile-hero { position: relative; padding: 56px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--border); overflow: hidden; }
.profile-hero::after { content: ""; position: absolute; top: -160px; right: -80px; width: 520px; height: 380px; pointer-events: none; background: radial-gradient(closest-side, rgba(47, 107, 255, .12), transparent 70%); }
.profile-hero h1 { position: relative; margin: 0; font-size: 2rem; letter-spacing: -.035em; font-weight: 680; color: var(--text); }
.profile-hero .sub { position: relative; color: var(--muted); margin-top: .4rem; font-size: .98rem; }
.panel-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 18px; }
.panel-card h3 { margin: 0 0 1rem; letter-spacing: -.02em; font-weight: 650; font-size: 1.08rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.gallery img { width: 100%; height: 170px; object-fit: cover; display: block; }
.gallery figcaption { padding: .45rem .65rem; font-size: .8rem; color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; }
table.t th, table.t td { text-align: left; padding: .6rem .65rem; border-bottom: 1px solid var(--border); }
table.t tr:last-child td { border-bottom: none; }
table.t th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.error-box { background: #fff6f5; border: 1px solid #ffd9d5; color: #c0392b; padding: 1rem 1.2rem; border-radius: var(--r); }

/* ── Before / After timeline ── */
.ba-timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ba-timeline .ba-pair { border: 1px solid var(--border); border-radius: var(--r); padding: 14px; background: var(--card); }
.ba-timeline .ba-pair.featured { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.ba-timeline .ba-stage { max-width: 100%; margin: 0 auto; }
.ba-timeline .ba-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-timeline .photo { margin: 0; position: relative; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.ba-timeline .photo img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ba-timeline .photo figcaption { padding: .4rem .6rem; font-size: .82rem; color: var(--muted); }
.ba-timeline .photo .badge { position: absolute; top: 8px; left: 8px; background: rgba(255, 255, 255, .9); color: var(--text); font-size: .68rem; font-weight: 650; padding: .14rem .5rem; border-radius: 6px; letter-spacing: .05em; border: 1px solid var(--border); }
.ba-timeline .ph-empty { width: 100%; height: 280px; display: grid; place-items: center; color: var(--muted); background: var(--bg-soft); }
.ba-timeline .ba-meta { margin-top: 10px; color: var(--muted); font-size: .88rem; text-align: center; }

/* Public profil grafikleri + takviye listesi */
.pub-chart { position: relative; height: 300px; }
.pub-chart canvas { width: 100% !important; }

/* ── Herkese açık profil — Gelişim Dönemleri (öne çıkan kartlar) ── */
.dpp-list { display: flex; flex-direction: column; gap: 18px; }
.dpp-card { border: 1px solid var(--border-2); border-radius: var(--r-lg); background: var(--card); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.dpp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; }
.dpp-title { font-size: 1.12rem; font-weight: 680; letter-spacing: -.02em; color: var(--text); }
.dpp-range { font-size: .82rem; color: var(--muted); }
.dpp-goal { margin: .5rem 0 0; color: var(--text-2); font-size: .94rem; }
.dpp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.dpp-stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.dpp-stat b { font-size: 1.06rem; font-weight: 750; letter-spacing: -.02em; color: var(--text); }
.dpp-stat span { font-size: .66rem; color: var(--muted); }
.dpp-ba { margin: 4px 0 16px; max-width: 460px; }
.dpp-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dpp-charts .pub-chart { height: 240px; }
.dpp-csub { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.dpp-cycle { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.dpp-plan { display: flex; flex-direction: column; gap: 6px; }
.dpp-prow { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.dpp-prow .nm { flex: 1 1 auto; font-weight: 600; color: var(--text); }
.dpp-prow b { color: var(--text); font-weight: 700; }
.dpp-prow i { color: var(--muted); font-style: normal; font-size: .8rem; }
@media (max-width: 620px) {
    .dpp-stats { grid-template-columns: repeat(2, 1fr); }
    .dpp-charts { grid-template-columns: 1fr; }
}

/* Herkese açık profil — Takviyeler (tek sütun, detaylı kart) */
.pub-cycles { display: flex; flex-direction: column; gap: 16px; }
.pcyc-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); padding: 18px 20px;
    display: flex; flex-direction: column; gap: 14px; }
.pcyc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcyc-name { font-weight: 700; font-size: 1.2rem; letter-spacing: -.025em; }
.pcyc-status { flex: 0 0 auto; font-size: .72rem; font-weight: 650; letter-spacing: .02em; padding: .22rem .65rem; border-radius: 999px; }
.pcyc-status.on { color: #15803d; background: #e9f9ef; border: 1px solid #b6e7c6; }
.pcyc-status.off { color: var(--muted); background: var(--bg-soft); border: 1px solid var(--border); }
/* Görsel tarih aralığı rozeti */
.pcyc-daterange { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; align-self: flex-start;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .8rem; font-size: .84rem; }
.pcyc-date { font-weight: 600; color: var(--text); }
.pcyc-arrow { color: var(--muted); }
.pcyc-weeks { margin-left: 4px; font-size: .72rem; font-weight: 650; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: .08rem .5rem; }
.pcyc-goal { margin: 0; font-size: .9rem; color: var(--text-2); line-height: 1.55;
    border-left: 3px solid var(--accent-line); padding-left: 12px; }
.pcyc-noplan { margin: 0; font-size: .85rem; color: var(--muted); font-style: italic; }
/* Alt başlık (Bileşenler / Besin Takviyeleri) */
.pcyc-subhead { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 2px 0 -4px; }
/* Bileşen satırları */
.pcyc-compounds { display: flex; flex-direction: column; gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.pcyc-compound { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 12px;
    background: var(--card); padding: 11px 14px; }
.pcyc-class { font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
    padding: .16rem .5rem; border-radius: 6px; white-space: nowrap; text-align: center; }
.pcyc-cname { font-weight: 650; font-size: .94rem; }
.pcyc-dose { font-size: .85rem; color: var(--text-2); white-space: nowrap; }
.pcyc-dose .pcyc-lbl { color: var(--muted); }
.pcyc-dose strong { color: var(--text); font-weight: 700; }
.pcyc-freq { color: var(--muted); }
/* Sınıf renk kodları */
.cls-im   { color: #1f53e0; background: #eaf0ff; }
.cls-subq { color: #0e7490; background: #e3f7fb; }
.cls-peptide { color: #7c3aed; background: #f1e9fe; }
.cls-sarm { color: #b45309; background: #fef3e2; }
.cls-oral { color: #15803d; background: #e9f9ef; }
/* Besin takviyeleri */
.pcyc-supps { display: flex; flex-direction: column; gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.pcyc-supp { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
    background: var(--card); padding: 10px 14px; font-size: .9rem; }
.pcyc-supp-name { font-weight: 650; }
.pcyc-supp-cat { font-size: .68rem; font-weight: 600; color: #047857; background: #e7f7ef; border: 1px solid #b6e7c6; border-radius: 999px; padding: .1rem .5rem; white-space: nowrap; }
.pcyc-supp-dose { font-size: .82rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) {
    .pcyc-compound, .pcyc-supp { grid-template-columns: 1fr; gap: 4px; }
    .pcyc-class, .pcyc-supp-cat { justify-self: start; }
    .pcyc-dose, .pcyc-supp-dose { white-space: normal; }
}

/* ── Arama çubuğu (profiles sayfası) ── */
.search-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.search-bar input {
    flex: 1; min-width: 220px; padding: .78rem 1.1rem; border: 1px solid var(--border-2); border-radius: 10px;
    font: inherit; background: var(--card); color: var(--text);
    transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.search-bar input::placeholder { color: #9aa1ad; }
.search-bar input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.search-bar .muted { white-space: nowrap; }

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
    .hero h1 { font-size: 2.5rem; }
    section { padding: 72px 0; }
    .features { grid-template-columns: repeat(2, 1fr); }
    /* Akış: 2×2 düzene geç, satır arası ok'u gizle (yalnız tek satırda anlamlı) */
    .flow { grid-template-columns: repeat(2, 1fr); }
    .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
    .features { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; }
    .flow-step { padding: 26px 22px; }
    /* Telefon maketi mobilde gizli — hero tek kolon, gereksiz yer kaplamasın */
    .phone-mock { display: none; }
    /* Üst menü linki dar ekranda gizli (bar taşmasın); profiller hero butonu + bölümden erişilir. */
    .top-link { display: none; }
}
@media (max-width: 520px) {
    .hero h1 { font-size: 2.1rem; }
    .top-actions { gap: .4rem; }
    .top-actions .btn { padding: .5rem .85rem; font-size: .9rem; }
    .logo { font-size: 1.1rem; }
    .phone-mock { width: 100%; max-width: 300px; }
}

/* ─────────────────────────────────────────────────────────────
   Hareket katmanı (emil-design-eng) — ölçülü, salt transform/opacity.
   ───────────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
    .profile-card:hover { transform: translateY(-3px); }
    .btn-white:hover { transform: translateY(-1px); }
    .lightbox-close:hover { transform: scale(1.06); }
}

/* Hero girişi — hafif, hızlı fade-up (scale(0) değil) */
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero p.lead, .hero-cta, .hero-badges { animation: riseIn .55s var(--ease-out) both; }
.hero h1 { animation-delay: .04s; }
.hero p.lead { animation-delay: .09s; }
.hero-cta { animation-delay: .14s; }
.hero-badges { animation-delay: .19s; }
.phone-mock { animation: riseIn .65s var(--ease-out) both; animation-delay: .1s; }

/* Scroll-reveal — görünür alana girince fade-up (JS: .is-visible) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.flow .flow-step:nth-child(2) { transition-delay: .06s; }
.flow .flow-step:nth-child(3) { transition-delay: .12s; }
.flow .flow-step:nth-child(4) { transition-delay: .18s; }
.features .feature:nth-child(2) { transition-delay: .05s; }
.features .feature:nth-child(3) { transition-delay: .1s; }
.features .feature:nth-child(4) { transition-delay: .04s; }
.features .feature:nth-child(5) { transition-delay: .09s; }
.features .feature:nth-child(6) { transition-delay: .14s; }
.features .feature:nth-child(7) { transition-delay: .04s; }
.features .feature:nth-child(8) { transition-delay: .09s; }
.features .feature:nth-child(9) { transition-delay: .14s; }

/* Lightbox girişi — backdrop fade + içerik scale(.96)→1; modal merkez origin */
.lightbox-overlay { opacity: 0; transition: opacity .2s var(--ease-out); }
.lightbox-overlay.is-open { opacity: 1; }
.lightbox-inner { transform: scale(.96); opacity: 0; transform-origin: center;
    transition: transform .24s var(--ease-out), opacity .24s var(--ease-out); }
.lightbox-overlay.is-open .lightbox-inner { transform: scale(1); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .hero .eyebrow, .hero h1, .hero p.lead, .hero-cta, .hero-badges,
    .phone-mock { animation: none; }
    .reveal { transform: none; transition: opacity .3s ease; }
    .reveal:not(.is-visible) { opacity: 0; }
    .lightbox-inner { transform: none; }
    html { scroll-behavior: auto; }
    .btn:active, .profile-card:active, .lightbox-close:active { transform: none; }
}

/* ── Lightbox (tam ekran görsel) ── */
.lightbox-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 12, 18, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.lightbox-inner { position: relative; max-width: 92vw; max-height: 92vh; cursor: default; }
.lightbox-inner img { max-width: 92vw; max-height: 84vh; border-radius: var(--r); display: block;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.lightbox-cap { color: #e2e8f0; text-align: center; margin: .6rem 0 0; font-size: .9rem; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border: none;
    border-radius: 50%; background: #fff; color: #0a0c12; font-size: 1.4rem; line-height: 1; cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .14s var(--ease-out); }
.lightbox-close:active { transform: scale(.94); }

/* ── Önce/Sonra kaydırıcı ── */
.ba-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 3 / 4; border-radius: var(--r);
    overflow: hidden; user-select: none; background: var(--bg-soft); margin: 0 auto; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before { will-change: clip-path; }
.ba-tag { position: absolute; top: 8px; padding: 2px 8px; font-size: .7rem; font-weight: 700;
    color: var(--text); background: rgba(255, 255, 255, .9); border: 1px solid var(--border); border-radius: 999px; letter-spacing: .03em; }
.ba-tag-l { left: 8px; } .ba-tag-r { right: 8px; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-1px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); pointer-events: none; }
.ba-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #0a0c12; font-size: .82rem;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
