/* ONSRA ziyaretçi sayfaları (ana sayfa ve başvuru)
   Açık tema: serin mavi-beyaz zemin, logodaki mavi; taç sarısı yalnızca imza kutusunda. */

:root {
  color-scheme: light;
  --bg: #F5F8FF;
  --surface: #FFFFFF;
  --surface-2: #F8FAFF;
  --ink: #1D1D1F;             /* 16.8:1 beyaz üzerinde */
  --ink-2: #545460;           /* 7.4:1 beyaz üzerinde */
  --ink-3: #6B6B76;           /* 5.2:1 beyaz üzerinde */
  --line: #E3E8F2;
  --line-strong: #C9D2E3;
  --brand: #00A8EF;           /* logo mavisi: dekoratif */
  --accent: #0072B0;          /* 5.2:1 beyaz üzerinde: bağlantı, düğme */
  --accent-deep: #005A8C;
  --sky: #85C3FF;
  --lilac: #B9B2FF;
  --gold: #F2B705;
  --soft: #E7F3FF;
  --red: #B4232C;
  --green: #157035;
  --grad-primary: linear-gradient(135deg, #0077C2 0%, #0062A8 55%, #4B4FC9 100%);
  --shadow: 0 1px 2px rgba(0, 30, 80, .05), 0 12px 32px rgba(0, 50, 120, .07);
  --shadow-lg: 0 30px 80px rgba(0, 50, 120, .14);
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --nav-h: 44px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 834px) { :root { --nav-h: 48px; font-size: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; min-height: 100dvh; overflow-x: hidden;
  background:
    radial-gradient(1100px 640px at 12% -10%, rgba(133, 195, 255, .45), transparent 62%),
    radial-gradient(900px 560px at 96% 2%, rgba(185, 178, 255, .32), transparent 60%),
    var(--bg);
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 8px; }

/* ---------- Düğmeler ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.button--primary { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 18px rgba(0, 98, 168, .28); }
.button--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 98, 168, .34); }
.button--light { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button--light:hover { background: var(--surface-2); }
.button--small { min-height: 34px; padding: 0 16px; font-size: 14px; }
.button--block { width: 100%; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(201, 210, 227, .6);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14px; flex: none; }
.brand-plate { display: inline-flex; padding: 3px 7px; border-radius: 8px; background: linear-gradient(145deg, #2A2A30, #141416); }
.brand-crop { position: relative; overflow: hidden; width: 64px; aspect-ratio: 2430 / 969; }
.brand-crop img { width: 100%; height: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.nav-actions .text-link { font-weight: 500; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--ink); place-items: center; border-radius: 10px; }
.nav-panel { display: none; }

@media (max-width: 834px) {
  .nav-links, .nav-actions .text-link { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; }
  .nav-panel {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; display: block;
    padding: 8px var(--gutter) 20px; background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 40, 90, .1);
  }
  .nav-panel[hidden] { display: none !important; }
  .nav-panel a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; }
  .nav-panel a:last-child { border-bottom: 0; }
}

/* ---------- Bölümler ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.028em; font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.sample-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: #FFF4D2; color: #7A4B00; font-size: 12.5px; font-weight: 650; white-space: nowrap;
}
.sample-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E0A100; }

/* ---------- Giriş bölümü ---------- */
.hero { padding: clamp(64px, 11vw, 132px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.hero h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(40px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; font-weight: 750; }
.hero p { max-width: 40ch; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(18px, 2vw, 22px); }
.hero .button { margin-top: 32px; min-height: 52px; padding: 0 30px; font-size: 17px; }
.hero-note { display: block; margin-top: 14px; color: var(--ink-3); font-size: 14px; }

/* ---------- Sonsuz slider ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: 12px 0 28px; }
.carousel-track { display: flex; gap: 20px; will-change: transform; }
.carousel-track.is-animating { transition: transform 620ms var(--ease); }
.slide {
  flex: none; width: var(--slide-w, min(1080px, 86vw)); min-width: 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: stretch;
  padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  border: 1px solid var(--line); opacity: .55; transform: scale(.96); transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.slide.is-active { opacity: 1; transform: none; }
.slide-copy { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.slide-copy h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.02em; }
.slide-copy p { color: var(--ink-2); font-size: 16px; }
.slide-copy .button { align-self: flex-start; margin-top: 6px; }
.slide-photo { min-height: 260px; border-radius: var(--radius-md); overflow: hidden; background: #DDE6F5; }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; }

.data-panel {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; border-radius: var(--radius-md);
  background: linear-gradient(180deg, #F7FAFF, #EEF5FF); border: 1px solid var(--line);
}
.data-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.data-label { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.data-value { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.data-value small { font-size: .42em; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.data-delta { color: var(--green); font-size: 14px; font-weight: 650; }
.spark { width: 100%; height: auto; aspect-ratio: 300 / 110; overflow: visible; }
.spark .now { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.spark .before { fill: none; stroke: #8E9BB5; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.spark .area { fill: url(#spark-fill); }
.spark .grid { stroke: #DCE4F2; stroke-width: 1; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--accent); border-radius: 2px; }
.legend i.dash { border-top: 2px dashed #8E9BB5; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; }
.dots { display: flex; gap: 4px; }
.dot { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B7C3D8; transition: background-color 200ms, transform 200ms; }
.dot[aria-current="true"]::before { background: var(--accent); transform: scale(1.25); }
.pause { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.pause .icon { width: 16px; height: 16px; }

/* ---------- Yana kayan kart sırası ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rail-logos { display: flex; gap: 8px; }
.logo-chip { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.logo-chip img { width: 20px; height: 20px; }
.rail-card h3 { font-size: 20px; letter-spacing: -.01em; }
.rail-card p { color: var(--ink-2); font-size: 15.5px; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.round { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.round:disabled { opacity: .35; cursor: default; }
@media (max-width: 1024px) { .rail { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 84%; gap: 14px; } }

/* ---------- Rapor kartları ---------- */
.reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.report { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.report h3 { font-size: 18px; letter-spacing: -.01em; }
.report p { color: var(--ink-2); font-size: 14.5px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 10px; height: 160px; padding-top: 8px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar span { width: 100%; max-width: 30px; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--sky), var(--accent)); transform-origin: bottom; }
.bar small { color: var(--ink-3); font-size: 12px; }
.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel-row { display: grid; gap: 4px; }
.funnel-row div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.funnel-row strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.funnel-row span { display: block; height: 14px; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--lilac)); transform-origin: left; }
.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.donut { width: 132px; height: 132px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; }
.donut .track { stroke: #E8EEF8; }
.donut-legend { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.donut-legend span { display: inline-flex; align-items: center; gap: 8px; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; }
.donut-legend .sw-1 { background: #0072B0; }
.donut-legend .sw-2 { background: #85C3FF; }
.donut-legend .sw-3 { background: #B9B2FF; }
/* Ekrana girince grafikler bir kez çizilir. */
.js .report .bar span { transform: scaleY(0); transition: transform 900ms var(--ease); }
.js .report .funnel-row span { transform: scaleX(0); transition: transform 900ms var(--ease); }
.js .report .donut .seg { transition: stroke-dasharray 1100ms var(--ease); }
.report.is-visible .bar span, .report.is-visible .funnel-row span { transform: none; }
.bar:nth-child(2) span, .funnel-row:nth-child(2) span { transition-delay: 80ms; }
.bar:nth-child(3) span, .funnel-row:nth-child(3) span { transition-delay: 160ms; }
.bar:nth-child(4) span { transition-delay: 240ms; }
.bar:nth-child(5) span { transition-delay: 320ms; }
.bar:nth-child(6) span { transition-delay: 400ms; }
.bar:nth-child(7) span { transition-delay: 480ms; }
@media (max-width: 1024px) { .reports { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reports .report:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .reports { grid-template-columns: minmax(0, 1fr); } }

/* ---------- İmza kutusu: logodaki tacın sarısı ve ONSRA mavisi ---------- */
.signature { position: relative; isolation: isolate; border-radius: 30px; padding: 2px; }
.signature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: conic-gradient(from 200deg, var(--gold), #FFD966, var(--sky), var(--brand), #6E64FF, var(--gold));
}
/* Işıltı kutunun dışına taşar; çerçeve renkleriyle aynı geçiş. */
.signature::after {
  content: ""; position: absolute; inset: -8px; z-index: -2; border-radius: 38px;
  background: conic-gradient(from 200deg, rgba(242, 183, 5, .75), rgba(133, 195, 255, .85), rgba(0, 168, 239, .6), rgba(110, 100, 255, .6), rgba(242, 183, 5, .75));
  filter: blur(28px); opacity: .7;
}
.signature { padding: 3px; }
.signature-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: linear-gradient(160deg, #FFFFFF 40%, #F3F8FF);
}
.crown { width: 54px; height: 40px; color: var(--gold); margin-bottom: 18px; }
.signature h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -.03em; }
.signature p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.signature .button { margin-top: 26px; }
.perks { display: grid; gap: 12px; }
.perks li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.perks .badge { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--accent); }
.perks strong { display: block; font-size: 16px; }
.perks span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 900px) { .signature-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Süreç, fotoğraflı kartlar, logolar ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-num { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-weight: 700; font-size: 15px; }
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.photo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card div { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; }
.photo-card h3 { font-size: 24px; letter-spacing: -.02em; }
.photo-card p { color: var(--ink-2); }
.photo-card .button { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) { .photo-cards { grid-template-columns: minmax(0, 1fr); } }

.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logos li { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.logos img { width: 22px; height: 22px; }
.logos-note { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- SSS ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 4px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 200ms var(--ease); color: var(--ink-3); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Kapanış bandı ve alt bilgi ---------- */
.closing { position: relative; overflow: hidden; width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; border-radius: 32px; padding: clamp(48px, 8vw, 88px) var(--gutter); text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 15% 0%, rgba(133, 195, 255, .7), transparent 60%), radial-gradient(500px 300px at 90% 100%, rgba(242, 183, 5, .35), transparent 60%), linear-gradient(120deg, #0064A8, #3D4FC4 60%, #6E64FF); }
.closing h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(30px, 5vw, 54px); line-height: 1.05; letter-spacing: -.03em; }
.closing p { max-width: 46ch; margin: 16px auto 0; color: rgba(255, 255, 255, .88); font-size: 18px; }
.closing .button { margin-top: 28px; background: #fff; color: var(--accent-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }

.footer { margin-top: clamp(48px, 7vw, 80px); padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols p { max-width: 34ch; }
.footer details summary { list-style: none; font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.footer details summary::-webkit-details-marker { display: none; }
.footer details ul { display: grid; gap: 8px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-cols > p { margin-bottom: 16px; }
  .footer details { border-bottom: 1px solid var(--line); }
  .footer details summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; cursor: pointer; }
  .footer details summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--ink-3); }
  .footer details[open] summary::after { content: "−"; }
  .footer details ul { padding-bottom: 14px; }
  .footer details a { display: inline-flex; min-height: 36px; align-items: center; }
}

/* ---------- Slider: küçük ekran ---------- */
@media (max-width: 900px) {
  .carousel-track { gap: 12px; }
  .slide { --slide-w: calc(100vw - 2 * var(--gutter) - 24px); grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; }
  .slide-photo { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .slide-copy { gap: 10px; }
}

/* ---------- Başvuru sayfası ---------- */
.apply { padding: clamp(32px, 6vw, 72px) 0 40px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.apply-intro h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.apply-intro > p { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.apply-intro img { margin-top: 28px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: clamp(20px, 3.4vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-width: 0; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 12px; background: #EEF2F9; }
.tab { min-height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 30, 80, .12); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 16px; transition: border-color 160ms, box-shadow 160ms;
}
.field textarea { min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(133, 195, 255, .55); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.hint { color: var(--ink-3); font-size: 14px; }
.error-text { color: var(--red); font-size: 14px; }
.error-text:empty { display: none; }
.req { color: var(--red); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pw { position: relative; }
.pw input { padding-right: 52px; }
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-3); border-radius: 10px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { position: relative; display: grid; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 160ms, background-color 160ms; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { font-size: 15px; }
.choice span { color: var(--ink-3); font-size: 13.5px; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.notice { padding: 12px 14px; border-radius: 12px; font-size: 15px; background: var(--soft); color: var(--accent-deep); }
.notice--error { background: #FDEDED; color: var(--red); }
.notice--success { background: #E8F5EC; color: var(--green); }
.links { display: grid; gap: 8px; }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
.icon-btn { width: 44px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.account-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.account-head h1 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.03em; line-height: 1.08; }
.account-head p { color: var(--ink-2); margin-top: 6px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.status-card { display: grid; gap: 16px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; align-self: start; justify-self: start; height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 650; font-size: 14.5px; background: var(--soft); color: var(--accent-deep); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill[data-status="accepted"] { background: #E8F5EC; color: var(--green); }
.status-pill[data-status="rejected"] { background: #FDEDED; color: var(--red); }
.status-pill[data-status="pending"] { background: #FFF4D2; color: #7A4B00; }
.timeline { display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; color: var(--ink-3); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); font-size: 13px; font-weight: 700; }
.timeline li.done { color: var(--ink); }
.timeline li.done .mark { border-color: transparent; background: var(--grad-primary); color: #fff; }
.timeline strong { display: block; font-size: 15.5px; }
.timeline span { font-size: 14px; }
@media (max-width: 900px) {
  .apply-grid, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .apply-intro img { display: none; }
}
@media (max-width: 480px) {
  .grid-2, .choice { grid-template-columns: minmax(0, 1fr); }
  .nav-actions .button { padding: 0 14px; }
  .brand-name { display: none; }
}

.bare { border: 0; padding: 0; margin: 0; min-width: 0; }
.bare legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.panel-title { font-size: 22px; letter-spacing: -.01em; margin-bottom: 6px; }
.panel-title--small { font-size: 18px; margin: 0; }
.panel-lead { margin-bottom: 18px; }
.panel-text { color: var(--ink-2); margin-bottom: 16px; }
.link-button { justify-self: start; background: none; border: 0; padding: 6px 0; font-size: 15px; }

/* ---------- Menü: hamburger, 3D açılan panel ve ikon kutuları ---------- */
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 280ms var(--ease), opacity 180ms var(--ease), top 280ms var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
[aria-expanded="true"] > .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
[aria-expanded="true"] > .burger i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
[aria-expanded="true"] > .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.tile {
  --tile: linear-gradient(160deg, #7AD7FF, #0A84D6 60%, #0062A8);
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; color: #fff; background: var(--tile);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .14), 0 3px 8px rgba(0, 30, 80, .2);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.tile::after { content: ""; position: absolute; inset: 1px 1px 48% 1px; border-radius: 9px 9px 16px 16px / 9px 9px 6px 6px; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); }
.tile .icon { position: relative; z-index: 1; width: 19px; height: 19px; stroke-width: 2.1; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)); }
.tile--blue { --tile: linear-gradient(160deg, #7AD7FF, #0A84D6 60%, #0062A8); }
.tile--purple { --tile: linear-gradient(160deg, #C7B5FF, #7B5CF0 60%, #5A3BD1); }
.tile--teal { --tile: linear-gradient(160deg, #7CEBDF, #15B3A6 60%, #0B8A80); }
.tile--gold { --tile: linear-gradient(160deg, #FFE07A, #F2B705 60%, #CC8E00); }

.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

@media (max-width: 834px) {
  .nav-panel { transform-origin: top center; perspective: 900px; }
  .nav-panel.is-opening { animation: panel-open 320ms var(--ease); }
  .nav-panel.is-closing { animation: panel-close 220ms var(--ease) forwards; }
  .nav-panel a { gap: 14px; min-height: 60px; }
  .nav-panel.is-opening a { animation: link-in 360ms var(--ease) both; }
  .nav-panel.is-opening a:nth-child(2) { animation-delay: 40ms; }
  .nav-panel.is-opening a:nth-child(3) { animation-delay: 80ms; }
  .nav-panel.is-opening a:nth-child(4) { animation-delay: 120ms; }
  .nav-panel a:hover .tile, .nav-panel a:focus-visible .tile { transform: perspective(240px) rotateX(14deg) rotateY(-14deg) scale(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .14), 4px 8px 14px rgba(0, 30, 80, .24); }
  .panel-text { display: grid; gap: 1px; }
  .panel-text strong { font-size: 16.5px; font-weight: 600; }
  .panel-text small { color: var(--ink-3); font-size: 13.5px; }
}
@keyframes panel-open { from { opacity: 0; transform: perspective(900px) rotateX(-18deg) translateY(-10px); } }
@keyframes panel-close { to { opacity: 0; transform: perspective(900px) rotateX(-14deg) translateY(-8px); } }
@keyframes link-in { from { opacity: 0; transform: translateY(-6px) rotateX(-20deg); } }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-delay: 0s !important; }
  .slide { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav-panel { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =====================================================================
   Bileşen kiti: düğme oku, kapsül kontroller, seçim kutusu, tema anahtarı, gece modu
   ===================================================================== */
.button--cta::after {
  content: ""; width: 7px; height: 7px; margin-left: 2px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 220ms var(--ease);
}
.button--cta:hover::after { transform: translateX(4px) rotate(45deg); }

/* Slider kontrolleri tek bir kapsül tepside; kart sırası okları birleşik çift. */
.carousel-controls { width: max-content; margin: 0 auto; gap: 6px; padding: 4px 4px 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: var(--shadow); }
.pause { border: 0; background: var(--grad-primary); color: #fff; }
.rail-nav { gap: 0; }
.rail-nav .round { border-radius: 0; margin-left: -1px; }
.rail-nav .round:first-child { margin-left: 0; border-radius: 999px 0 0 999px; padding-left: 4px; }
.rail-nav .round:last-child { border-radius: 0 999px 999px 0; padding-right: 4px; }

/* Seçim kutusu ve tarih seçici (başvuru formu) */
.ui-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; opacity: 0 !important; pointer-events: none !important; border: 0 !important; }
.cbx, .dtp { display: inline-flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 16px; text-align: left; transition: border-color 160ms, box-shadow 160ms; }
.cbx:hover, .dtp:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); }
.cbx[aria-expanded="true"], .cbx:focus-visible, .dtp[aria-expanded="true"], .dtp:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(133, 195, 255, .55); }
.cbx-value, .dtp-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbx.is-placeholder .cbx-value, .dtp.is-placeholder .dtp-value { color: var(--ink-3); }
.ui-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cbx-chevron { color: var(--ink-3); transition: transform 200ms var(--ease); }
[aria-expanded="true"] > .cbx-chevron { transform: rotate(180deg); }
.ui-layer { position: fixed; inset: auto; margin: 0; padding: 6px; max-height: min(380px, 62vh); overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); animation: layer-in 180ms var(--ease); }
.ui-layer[popover]:not(:popover-open) { display: none; }
@keyframes layer-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.cbx-search { position: sticky; top: -6px; display: flex; align-items: center; gap: 8px; margin: -6px -6px 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink-3); }
.cbx-search input { flex: 1; min-width: 0; height: 30px; border: 0; background: transparent; color: var(--ink); font-size: 16px; outline: none; }
.cbx-list { list-style: none; margin: 0; padding: 0; outline: none; }
.cbx-option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15.5px; cursor: pointer; }
.cbx-option span { flex: 1; min-width: 0; }
.cbx-option.is-active { background: #EEF4FC; }
.cbx-option[aria-selected="true"] { color: var(--accent-deep); font-weight: 600; }
.cbx-check { width: 16px; height: 16px; color: var(--accent); visibility: hidden; }
.cbx-option[aria-selected="true"] .cbx-check { visibility: visible; }
.cbx-empty { padding: 14px 10px; color: var(--ink-3); font-size: 14px; text-align: center; }
.dtp-layer { width: 300px; padding: 12px; }
.dtp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dtp-nav { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.dtp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dtp-dow { display: grid; place-items: center; height: 28px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.dtp-day { height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 14.5px; }
.dtp-day:hover:not(:disabled) { background: #EEF4FC; }
.dtp-day.is-outside { opacity: .45; }
.dtp-day.is-today { box-shadow: inset 0 0 0 1px var(--accent); }
.dtp-day.is-selected { background: var(--grad-primary); color: #fff; }
.dtp-day:disabled { opacity: .3; }
.dtp-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dtp-link { border: 0; background: transparent; color: var(--accent); font-weight: 600; padding: 6px 8px; border-radius: 8px; }

/* Tema anahtarı */
.theme-slot { display: inline-flex; }
.theme-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; width: 64px; height: 34px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 12px; background: #EEF2F9; cursor: pointer; box-shadow: inset 0 1px 2px rgba(0, 30, 80, .08); }
.theme-switch .ui-icon { position: relative; z-index: 1; justify-self: center; width: 16px; height: 16px; transition: color 240ms var(--ease); }
.theme-sun { color: #C98500; }
.theme-moon { color: var(--ink-3); }
.theme-thumb { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0, 30, 80, .18); transition: transform 300ms var(--ease), background-color 240ms var(--ease); }
.theme-switch[aria-checked="true"] .theme-thumb { transform: translateX(100%); background: #2C2C33; }
.theme-switch[aria-checked="true"] .theme-sun { color: var(--ink-3); }
.theme-switch[aria-checked="true"] .theme-moon { color: #B7C4FF; }
@media (max-width: 834px) { .nav-actions { gap: 8px; } }
@media (max-width: 360px) { .theme-switch { width: 56px; } }

/* ---------- Gece modu ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1014; --surface: #181A20; --surface-2: #1E2028; --ink: #F2F3F6; --ink-2: #B0B4BF; --ink-3: #9196A3;
  --line: #2A2D36; --line-strong: #3A3E4A; --accent: #4CB8F5; --accent-deep: #8FD2FA; --soft: #12293A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .35); --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
}
:root[data-theme="dark"] body { background: radial-gradient(1100px 640px at 12% -10%, rgba(76, 184, 245, .16), transparent 62%), radial-gradient(900px 560px at 96% 2%, rgba(124, 108, 255, .14), transparent 60%), var(--bg); }
:root[data-theme="dark"] .nav { background: rgba(14, 16, 20, .72); border-bottom-color: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .nav-panel { background: rgba(20, 22, 28, .96); }
:root[data-theme="dark"] .data-panel { background: linear-gradient(180deg, #1C2029, #171A22); }
:root[data-theme="dark"] .spark .grid { stroke: #2A2F3B; }
:root[data-theme="dark"] .sample-tag { background: #3A2C0E; color: #F5C561; }
:root[data-theme="dark"] .signature-inner { background: linear-gradient(160deg, #181A20 40%, #141A26); }
:root[data-theme="dark"] .tabs, :root[data-theme="dark"] .theme-switch { background: #23262F; }
:root[data-theme="dark"] .notice--error { background: #3A1618; color: #FF8A8F; }
:root[data-theme="dark"] .notice--success { background: #13301F; color: #5FD38A; }
:root[data-theme="dark"] .status-pill[data-status="pending"] { background: #3A2C0E; color: #F5C561; }
:root[data-theme="dark"] .status-pill[data-status="accepted"] { background: #13301F; color: #5FD38A; }
:root[data-theme="dark"] .status-pill[data-status="rejected"] { background: #3A1618; color: #FF8A8F; }
:root[data-theme="dark"] .cbx-option.is-active, :root[data-theme="dark"] .dtp-day:hover:not(:disabled) { background: #23262F; }
:root[data-theme="dark"] .logo-chip { background: #23262F; }
:root[data-theme="dark"] .logos img[src*="tiktok"], :root[data-theme="dark"] .logo-chip img[src*="tiktok"] { filter: invert(1); }
:root[data-theme="dark"] .donut .track { stroke: #262A34; }

/* Responsive derivatives share the original image layout; originals remain available. */
.responsive-photo { display: contents; }
