/* swimetra.com açılış sitesi. Gizlilik ve hesap silme sayfaları style.css kullanır; bu dosya
   onlara dokunmaz. Renk ve ölçüler: CLAUDE-CODE-ISTEMLERI/istem-13-ekler/site-tasarim-ozeti.md */

@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/barlow-semi-condensed-700.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/ibm-plex-sans-400.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/ibm-plex-sans-500.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/ibm-plex-sans-600.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/ibm-plex-mono-500.ttf') format('truetype'); }

:root {
  --navy: #08355E;
  --blue: #0B5FA5;
  --blue-dark: #0B4A80;
  --hero: #2B5F9E;
  --hero-deep: #1D4372;
  --pale: #E3EEF8;
  --page: #F3F5F6;
  --white: #FFFFFF;
  --line: #DCE2E7;
  --text: #0F1B26;
  --muted: #4A5866;
  --hero-text: #DCEBF8;
  --sky: #8FCBEF;
  --mint: #7FE0C3;
  --yellow: #FFD27A;
  --ok: #1D7A45;
  --ok-bg: #E3F3E9;
  --ok-bar: #2E9E63;
  --warn: #9A2A1C;
  --warn-bg: #FCE8E6;
  --head: 'Barlow Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.6 var(--body); }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

/* Tarihe bağlı bölümler: JS yoksa 28 Kasım görünümü (data-from gizli, data-until görünür). */
[data-from]:not([data-on]) { display: none !important; }
[data-until][data-off] { display: none !important; }
[data-notifications="off"] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.on-dark .eyebrow, .eyebrow.light { color: var(--sky); }
.hero .eyebrow, .final .eyebrow { color: #BFE0F7; }
.h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; }
.lead { font-size: 19px; color: var(--hero-text); max-width: 560px; }
.sub { font-size: 18px; color: var(--muted); }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Üst menü */
.top { position: sticky; top: 0; z-index: 30; background: rgba(31, 79, 138, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font: 700 23px/1 var(--head); letter-spacing: .16em; }
.brand:hover { color: var(--white); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--white); font-weight: 500; font-size: 15px; padding: 0 12px; min-height: 44px; display: flex; align-items: center; border-bottom: 3px solid transparent; }
.nav a:hover { text-decoration: none; border-bottom-color: rgba(143, 203, 239, .5); }
.nav a[aria-current="page"] { border-bottom-color: var(--sky); }
.cta-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--white); color: var(--blue-dark); font-weight: 600; font-size: 15px; white-space: nowrap; }
.cta-pill:hover { color: var(--navy); text-decoration: none; filter: brightness(.97); }
.nav .cta-pill, .menu-panel .cta-pill { color: var(--blue-dark); border-bottom: 0; padding: 0 20px; }
.nav .cta-pill:hover { color: var(--navy); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 26px; height: 26px; }
.menu[open] summary { background: rgba(8, 53, 94, .5); }
.menu-panel { position: absolute; left: 0; right: 0; top: 66px; background: #1F4F8A; padding: 8px 24px 20px; box-shadow: 0 20px 40px rgba(8, 30, 60, .35); display: flex; flex-direction: column; }
.menu-panel a:not(.cta-pill) { color: var(--white); min-height: 48px; display: flex; align-items: center; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu-panel a[aria-current="page"] { color: var(--sky); }
.menu-panel .cta-pill { margin-top: 16px; min-height: 52px; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Kahraman bölümü */
.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--white); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 79, 138, .96) 0%, rgba(43, 95, 158, .82) 45%, rgba(43, 95, 158, .35) 100%); }
.hero > .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 56px; padding-top: 48px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-bottom: 120px; }
.hero-text .h1 .mint { display: block; color: var(--mint); }
/* Yükseklik = en uzun telefon (659) + alttaki 40 + üstte 20: telefon hiçbir genişlikte hero'dan (menünün altından) taşmaz. */
.hero-art { position: relative; flex: 0 1 420px; min-width: 300px; height: 720px; margin: 0 auto; }
.hero.simple > .wrap { display: block; padding: 64px 24px 120px; }
/* 761–983 px: telefon metnin altına iner; metnin alt dolgusu (dalga payı) aradaki boşluğu büyütmesin. */
@media (min-width: 761px) and (max-width: 983px) { .hero:not(.simple) .hero-text { padding-bottom: 0; } }
.hero.simple .hero-text { padding-bottom: 0; max-width: 820px; }
.note-light { font-size: 15px; color: var(--hero-text); }

.seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(8, 53, 94, .45); }
.seg button { position: relative; white-space: nowrap; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: 600 15px var(--body); cursor: pointer; background: transparent; color: var(--white); }
.seg button[aria-selected="true"] { background: var(--white); color: var(--blue-dark); }
.seg.pale { background: var(--pale); }
.seg.pale button { color: var(--blue-dark); padding: 0 18px; }
.seg.pale button[aria-selected="true"] { background: var(--navy); color: var(--white); }
/* Otomatik geçiş beklerken (site.js .auto-wait): etkin sekmenin altında 4 sn'de dolan ince çizgi. */
.seg button.auto-wait::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--mint); transform-origin: left center; animation: auto-fill 4s linear both; }
@keyframes auto-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .seg button.auto-wait::after { display: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 0 22px; border-radius: 14px; background: var(--text); color: var(--white); line-height: 1.15; }
.store:hover { color: var(--white); text-decoration: none; filter: brightness(1.25); }
.store small { font-size: 11px; opacity: .8; }
.store b { font-weight: 600; font-size: 17px; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: 14px; background: rgba(8, 53, 94, .5); color: var(--white); font-weight: 600; font-size: 17px; }
.soon svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--mint); }
.on-light .soon { background: var(--pale); color: var(--navy); }
.on-light .soon svg { color: var(--blue); }

/* Dalga ayırıcı */
.wave { position: relative; display: block; width: 100%; height: 90px; margin-top: -60px; overflow: hidden; }
.wave svg { position: absolute; left: 0; top: 0; height: 90px; max-width: none; }

/* Telefon çizimi */
/* Telefonun arkasında yükselen üç çubuk (logodaki gibi sudan çıkar). İki yandan görünecek kadar açık
   (toplam 368 > 300). Dıştakiler hero'nun dibinin 20 px altına iner: alt uçları dalganın beyaz dolgusunun
   altında kaybolur (dalga çizgisi en aşağı dibin 6 px üstünde). Ortadaki tamamen telefonun arkasında kalır:
   alt ucu telefonun alt kenarının 12 px üstünde (telefon 10 px yüzer), telefonun altında şerit olmaz. */
.bars { position: absolute; left: 0; right: 0; bottom: -20px; height: 560px; display: flex; align-items: flex-end; justify-content: center; gap: 70px; overflow: hidden; }
.bars span:nth-child(2) { margin-bottom: 72px; }
.bars span { width: 76px; border-radius: 38px 38px 0 0; background: rgba(255, 255, 255, .14); }
/* --sh: çizimin 390 px genişlikteki ekran yüksekliği; içerik bittiği yerde biter (veli kartlar, antrenör sekme çubuğu). */
.phone { --sh: 890px; width: 300px; height: calc(var(--sh) * .718 + 20px); padding: 10px; border-radius: 48px; background: var(--text); box-shadow: 0 30px 70px rgba(8, 30, 60, .45); }
.phone.coach { --sh: 760px; }
.phone-screen { width: 280px; height: calc(var(--sh) * .718); border-radius: 38px; overflow: hidden; background: var(--page); position: relative; }
/* Dynamic Island: çizim bir telefon ekranı olduğu belli olsun; saat/pil yok. Ekran içeriği bunun altından başlar. */
.phone-screen::before { content: ''; position: absolute; z-index: 2; top: 9px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 999px; background: #05090D; }
.phone-screen > .screen { position: absolute; left: 0; top: 0; width: 390px; height: var(--sh); transform: scale(.718); transform-origin: top left; }
.phone-holder { position: absolute; left: 50%; bottom: 40px; margin-left: -150px; }

.screen { background: var(--page); color: var(--text); font-family: var(--body); line-height: 1.4; display: flex; flex-direction: column; }
.screen .sc-head { position: relative; background: var(--navy); color: var(--white); padding: 76px 18px 20px; display: flex; flex-direction: column; gap: 18px; }
.screen .sc-who { display: flex; align-items: center; gap: 14px; }
.screen .sc-avatar { width: 58px; height: 58px; border-radius: 999px; background: var(--mint); color: var(--navy); display: flex; align-items: center; justify-content: center; font: 700 22px var(--head); }
.screen .sc-name { font: 700 26px/1.2 var(--head); display: block; }
.screen .sc-meta { font-size: 14px; color: #C9DDEF; }
.screen .sc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.screen .sc-stat { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #C9DDEF; }
.screen .sc-stat b { font: 500 19px var(--mono); color: var(--white); }
.screen .sc-stat b.h { font: 700 21px var(--head); }
.screen .sc-stat small { font-size: 11px; }
.screen .sc-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.screen .sc-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.screen .sc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.screen .sc-title { font: 700 20px var(--head); }
.screen .sc-small { font-size: 12px; color: var(--muted); }
.screen .sc-chip { border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 600; }
.screen .chip-ok { background: var(--ok-bg); color: var(--ok); }
.screen .chip-new { background: #FFF4DA; color: #8A5A00; }
.screen .chip-grey { background: #E8ECEF; color: var(--muted); }
/* Uygulamadaki dokunulabilir kart (ActionCard): başlık, açıklama, sağda ›. */
.screen .sc-action { flex-direction: row; align-items: center; gap: 12px; }
.screen .sc-action-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.screen .sc-action-title { font-weight: 600; font-size: 17px; line-height: 24px; }
.screen .sc-action .sc-small { font-size: 13px; }
.screen .sc-chev { font-size: 26px; line-height: 1; color: var(--muted); }
.screen .sc-list { padding: 6px 16px; }
.screen .sc-item { display: flex; align-items: center; gap: 12px; min-height: 54px; border-bottom: 1px solid #E8ECEF; }
.screen .sc-item:last-child { border-bottom: 0; }
.screen .sc-dot { width: 10px; height: 10px; border-radius: 999px; }
.screen .sc-item .t { font: 500 16px var(--mono); }
.screen .sc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.screen .sc-big { font: 700 26px var(--head); display: block; }
.screen .sc-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.screen .sc-day { border-radius: 12px; padding: 8px 0; background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; }
.screen .sc-day b { font: 700 18px var(--head); }
.screen .sc-day i { width: 7px; height: 7px; border-radius: 999px; }
.screen .sc-day.today { background: var(--white); color: var(--navy); }
.screen .sc-legend { display: flex; gap: 14px; font-size: 12px; color: #C9DDEF; }
.screen .sc-legend span { display: flex; align-items: center; gap: 5px; }
.screen .sc-legend i { width: 8px; height: 8px; border-radius: 999px; }
.screen .sc-alert { background: #FBEDE6; color: #B4471F; border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.screen .sc-time { background: var(--pale); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; font-family: var(--mono); line-height: 1.3; color: var(--blue-dark); font-size: 16px; }
.screen .sc-time small { color: var(--muted); font-size: 13px; }
.screen .sc-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.screen .sc-btns span { min-height: 42px; border: 1px solid #C5CED6; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.screen .sc-btns span.primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.screen .sc-tabbar { margin-top: auto; background: var(--white); border-top: 1px solid var(--line); padding: 10px 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 12px; text-align: center; color: var(--muted); }
.screen .sc-tabbar .on { color: var(--blue); font-weight: 600; }
.screen.coach .sc-head { padding: 76px 14px 16px; border-radius: 0 0 24px 24px; gap: 14px; }

/* Bölümler */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.pale { background: var(--pale); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark .sub, .section.dark p { color: #C9DDEF; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack.lg { gap: 22px; }
.head-block { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(8, 53, 94, .14); }
.card h3 { font-size: 24px; line-height: 1.15; color: var(--navy); }
.card p { color: var(--muted); }
.card .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--pale); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.card .icon svg { width: 24px; height: 24px; }

.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.steps li { display: flex; gap: 14px; }
.steps .num { width: 32px; height: 32px; border-radius: 999px; background: var(--mint); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.on-light .steps .num { background: var(--navy); color: var(--white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 600; border: 0; font-family: var(--body); font-size: 16px; cursor: pointer; transition: transform .15s ease, filter .15s ease; align-self: flex-start; }
.btn:hover { color: var(--white); text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); }
.btn.white { background: var(--white); color: var(--blue-dark); }
.btn.white:hover { color: var(--navy); }
.btn.square { border-radius: 16px; min-height: 56px; font-size: 17px; padding: 0 28px; }
.btn svg { width: 18px; height: 18px; }

/* Aynı yarış, iki ekran */
.compare { width: 100%; max-width: 420px; min-height: 470px; margin: 0 auto; background: var(--page); border: 1px solid var(--line); border-radius: 26px; padding: 22px; }
.rank-row { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 0 10px; border-radius: 10px; color: var(--muted); }
.rank-row .n { width: 26px; font-family: var(--mono); }
.rank-row .who { flex: 1; }
.rank-row .t { font-family: var(--mono); }
.rank-row.me { background: var(--warn-bg); color: var(--warn); font-weight: 700; }
.rank-row .me-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 600; vertical-align: 1px; }
.note-row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: var(--white); color: var(--muted); }
.note-row svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--warn); }
.note-row.ok { color: var(--text); }
.note-row.ok svg { color: var(--ok); }
.memo { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.memo.bad { background: var(--warn-bg); color: var(--warn); }
.memo.good { background: var(--ok-bg); color: #155C33; }
.pb { background: #FFF4DA; color: #8A5A00; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.big-time { font: 500 44px/1 var(--mono); }
.tile { border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.tile b { font: 700 24px var(--head); }
.tile span { font-size: 13px; }
.tile.ok { background: var(--ok-bg); color: var(--ok); }
.tile.blue { background: var(--pale); color: var(--blue-dark); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.title-row h3 { font-size: 22px; }

/* Özellik listesi (Neler görürsün) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.features.four { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; gap: 16px; }
.feature .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--pale); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font: 600 18px/1.35 var(--body); color: var(--navy); margin-bottom: 6px; }
.feature p { color: var(--muted); }

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-bottom: 28px; }
.promise { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; font-weight: 600; color: var(--navy); }
.promise svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--ok-bar); }
.fine { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.fine li { padding-left: 18px; position: relative; }
.fine li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 999px; background: var(--sky); }
.approach-grid { display: grid; gap: 28px; align-items: start; }
.approach { display: grid; gap: 16px; max-width: 760px; font-size: 18px; }
.approach-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; }
.approach-stat { font-family: var(--head); font-weight: 700; font-size: 68px; line-height: 1; color: var(--navy); }
.approach-card .approach-stat-text { margin-top: 12px; color: var(--muted); }
.approach-card .approach-key { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--navy); }
@media (min-width: 960px) { .approach-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.approach .approach-note { font-size: 14px; color: var(--muted); }

.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.band > div { flex: 1 1 460px; min-width: 0; }
.band h2 { color: var(--navy); font-size: clamp(32px, 4vw, 50px); line-height: 1.05; }

.final { position: relative; overflow: hidden; background: var(--hero); color: var(--white); }
.final::before { content: ''; position: absolute; inset: 0; background: rgba(31, 79, 138, .55); }
.final .wrap { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.final h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; max-width: 820px; }
.final p { font-size: 18px; color: var(--hero-text); }
.final .stores { justify-content: center; }

/* Video yeri */
.media-box { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--hero) 0%, var(--navy) 100%); box-shadow: 0 30px 70px rgba(8, 30, 60, .35); }
.media-box video { width: 100%; height: 100%; object-fit: cover; }
.media-box.square { aspect-ratio: 1 / 1; }
.media-box.tall { aspect-ratio: 9 / 16; width: 300px; max-width: 100%; }
.media-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; color: var(--white); }
.media-fallback .mf-row { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.media-fallback .mf-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.media-fallback .mf-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.media-fallback .mf-bar i { display: block; height: 100%; border-radius: 999px; background: var(--mint); transform-origin: left center; }

/* Barajlar */
.calc-wrap { max-width: 1000px; margin: -100px auto 0; padding: 0 24px; position: relative; }
.calc { background: var(--white); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 70px rgba(8, 53, 94, .18); font-variant-numeric: tabular-nums; }
/* Alanlar: telefonda tek sütun; 520 px'ten 2, 700 px'ten 3, 1000 px'ten (formun en geniş hali) tek satırda 5 sütun.
   Kutular her satırda aynı hizada başlar (ipucu metni kutunun altında).
   Cinsiyet ve Kulvar düğmeleri kırılmaz: sütunlarının en küçük genişliği yazıları kadar (max-content);
   5 sütun buna yetmeyen genişlikte form iki satırda kalır. */
.fields { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
@media (min-width: 520px) {
  .fields { grid-template-columns: minmax(max-content, 1fr) minmax(max-content, 1fr); }
  .fields > :nth-child(5) { grid-column: 1 / -1; }
}
@media (min-width: 700px) {
  .fields { grid-template-columns: minmax(0, 1fr) minmax(max-content, 1fr) minmax(max-content, 1fr); }
  .fields > :nth-child(4) { grid-column: span 2; }
  .fields > :nth-child(5) { grid-column: auto; }
}
@media (min-width: 1000px) {
  .fields { grid-template-columns: minmax(0, .9fr) minmax(max-content, 1.1fr) minmax(max-content, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
  .fields > :nth-child(4) { grid-column: auto; }
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; line-height: 1.6; }
/* Seçim ve metin kutusu aynı: yükseklik, kenar, köşe, iç boşluk; iOS'un kendi görünümü kapalı. */
.field select, .field input[type="text"] { -webkit-appearance: none; appearance: none; height: 50px; margin: 0; border: 1px solid #A9B6C2; border-radius: 12px; padding: 0 12px; font: 400 16px/1.2 var(--body); background-color: var(--white); color: var(--text); width: 100%; box-shadow: none; }
.field select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; text-overflow: ellipsis; cursor: pointer; }
.field input[type="text"] { font: 500 18px/1.2 var(--mono); }
.field .hint { order: 1; font-weight: 400; color: var(--muted); font-size: 13px; }
.radios { display: flex; gap: 4px; padding: 4px; height: 50px; border-radius: 12px; background: var(--pale); }
.radios label { flex: 1; position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radios span { height: 42px; display: flex; align-items: center; justify-content: center; padding: 0 12px; white-space: nowrap; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--blue-dark); cursor: pointer; }
.radios input:checked + span { background: var(--navy); color: var(--white); }
.radios input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 1px; }
.calc .btn { align-self: stretch; border-radius: 14px; min-height: 54px; font-size: 17px; }
.form-error { color: var(--warn); background: var(--warn-bg); border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.results { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.results-head h2 { font-size: 26px; }
.results-head span { font-size: 14px; color: var(--muted); }
.meet { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; }
.meet.past { background: var(--page); border-style: dashed; }
.meet.past h3, .meet.past .res-top .st, .meet.past .res-top .st.ok { color: var(--muted); }
.meet.past .meter, .meet.past .meter.ok { background: #E8ECEF; }
.meet.past .meter i { background: #A9B6C2; }
.results { font-variant-numeric: tabular-nums; }
/* Yarışma adı ve tarih: telefonda alt alta, geniş ekranda ad solda, tarih sağ sütunda (her kartta aynı). */
.meet-name { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-items: start; }
.meet-name h3 { font: 600 17px/1.35 var(--body); color: var(--navy); }
.meet-name .when { font-size: 14px; color: var(--muted); }
@media (min-width: 760px) {
  .meet-name { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .meet-name .when { text-align: right; line-height: 1.6; white-space: nowrap; }
}
/* Rozet adın uzunluğundan bağımsız: her zaman adın altında, aynı yerde. */
.tag { display: table; border-radius: 999px; padding: 1px 10px; margin-top: 6px; font-size: 12px; font-weight: 600; background: #E8ECEF; color: var(--muted); }
.res-line { display: flex; flex-direction: column; gap: 8px; }
/* Baraj ve durum: telefonda alt alta, 520 px'ten iki sütun (durum sağa yaslı); her kartta aynı. */
.res-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 12px; align-items: baseline; }
@media (min-width: 520px) {
  .res-top { grid-template-columns: minmax(0, 1fr) auto; }
  .res-top .st { justify-self: end; text-align: right; }
}
.res-top .what { font-weight: 600; }
.res-top .what .mono { margin-left: 6px; }
.res-top .st { font-weight: 600; color: var(--blue); }
.res-top .st.ok { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.res-top .st.ok svg { width: 18px; height: 18px; }
.meter { height: 12px; border-radius: 999px; background: var(--pale); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--blue); transform-origin: left center; animation: grow 1.1s var(--ease) .1s both; }
.meter.ok { background: var(--ok-bg); }
.meter.ok i { background: var(--ok-bar); }
.none-note { font-size: 14px; color: var(--muted); }
.app-hint { background: var(--pale); border-radius: 14px; padding: 14px 16px; color: var(--blue-dark); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.notes li { padding-left: 16px; position: relative; }
.notes li::before { content: '·'; position: absolute; left: 4px; font-weight: 700; }
.media-section { max-width: 1000px; margin: 0 auto; padding: 56px 24px 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.media-section .media-box { flex: 0 1 420px; margin: 0 auto; }

/* Fiyatlar */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.plan.free { border: 2px solid var(--mint); }
.plan h2 { font-size: 30px; color: var(--navy); }
.plan .paid { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.plan dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.plan dd { margin: 4px 0 0; }
.plan-notes { margin-top: 28px; display: grid; gap: 10px; color: var(--muted); }

/* SSS */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 17px; color: var(--navy); position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .answer { padding: 0 22px 20px; max-width: 804px; color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.post-card { color: inherit; }
.post-card:hover { color: inherit; text-decoration: none; }
.post-card .meta { font-size: 13px; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
/* Yazı başlığı: degrade katmanının (::before) üstünde, dalganın üstünde biter (.hero.simple > .wrap ile aynı boşluk). */
.hero.simple > .article { position: relative; padding-top: 64px; padding-bottom: 120px; }
.article-head { display: flex; flex-direction: column; gap: 16px; }
.article-head .meta { font-size: 14px; color: var(--hero-text); }
.article-head .back { color: var(--white); }
.prose { font-size: 18px; line-height: 1.7; padding-top: 24px; padding-bottom: 24px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 32px; line-height: 1.1; color: var(--navy); margin-top: 44px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose .standfirst { font-size: 21px; color: var(--navy); font-weight: 500; }
.prose .formula { font: 500 24px var(--mono); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; text-align: center; }
.prose .callout { background: var(--pale); border-radius: 18px; padding: 20px 22px; }
.prose .callout h2 { margin-top: 0; font-size: 26px; }
.prose .callout p + p { margin-top: 12px; }
.prose dl { margin: 0; }
.prose dt { font-weight: 600; color: var(--navy); }
.prose dd { margin: 4px 0 0; color: var(--muted); }
.prose dd + dt { margin-top: 16px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.more-posts { padding-top: 24px; padding-bottom: 88px; }

/* Alt bilgi */
.foot { background: var(--text); color: #C9D3DC; padding: 56px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot .brand { margin-bottom: 12px; }
.foot h2 { font: 600 13px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { color: #C9D3DC; display: inline-flex; align-items: center; min-height: 40px; }
.foot li a:hover { color: var(--white); }
.foot .copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* Mobil */
@media (max-width: 760px) {
  .wide-only { display: none !important; }
  .hero-text { padding-bottom: 72px; }
  .hero > .wrap { padding-top: 36px; }
  .hero.simple > .wrap { padding: 44px 24px 110px; }
  .hero.simple > .article { padding-top: 44px; padding-bottom: 110px; }
  .section { padding: 64px 0; }
  .lead { font-size: 18px; }
  .calc { padding: 20px; }
  .calc-wrap { padding: 0 16px; margin-top: -80px; }
  .compare { padding: 16px; }
  .prose { font-size: 17px; }
  .feature { flex-direction: column; gap: 12px; padding: 22px; }
}

/* Hareket */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(var(--dy, 110%)); } to { transform: none; } }
@keyframes drift-wave { from { transform: translateX(0); } to { transform: translateX(-480px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes line { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.in { animation: up .8s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; } .d4 { animation-delay: .5s; }
.bars span { animation: rise 1.1s cubic-bezier(.34, 1.3, .64, 1) both; }
/* Dalga: uygulamanın açılış sahnesi gibi bir kez bir dönem (480 px) kayıp durur; sürekli akmaz.
   Ekrana girince başlar (site.js .is-visible ekler); JS yoksa ya da sekme gizliyken beklemede kalır.
   Animasyon <svg>'nin kendisinde: tarayıcı bunu ayrı katmanda kaydırır, her karede yeniden çizmez. */
.wave svg { animation: drift-wave 2.2s var(--ease) .2s 1 both; animation-play-state: paused; will-change: transform; }
.wave.is-visible svg { animation-play-state: running; }
.page-hidden .wave svg { animation-play-state: paused; }
.float { animation: float 6s ease-in-out infinite; }
.grow { transform-origin: left center; animation: grow 1.2s var(--ease) .4s both; }
.draw { stroke-dasharray: 520; animation: line 1.8s ease-out .3s both; }
.pop { animation: pop .45s var(--ease) both; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: up linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
