/* compalecof — ortak site stilleri (statik tasarım sayfaları: signup, forgot-password, history, get-started, 404, legal).
   Tokenlar account.html / app.html ile aynı; gerçek tokenlarla değiştirilecek. */
:root {
  --cream: #f6efdf;
  --surface: #fbf8ef;
  --surface-2: #efe8d4;
  --ink: #1a1710;
  --ink-soft: #4d483b;
  --line: #d8cfb7;
  --pink: #ff8fa6;
  --pink-soft: #ffd3dc;
  --yellow: #ffdd6b;
  --yellow-soft: #fff0b0;
  --teal: #6cc6c9;
  --coral: #f2623e;
  --font-display: 'Bricolage Grotesque', 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --border: 2px solid var(--ink);
  --border-strong: 2.5px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 14px;
  --ease: cubic-bezier(.3, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
main { flex: 1; }

/* ---------- üst bar ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 10px; }
.logo { display: block; flex: none; text-decoration: none; }
.logo img { display: block; height: 42px; width: auto; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.045em; }
.nav { display: flex; gap: 34px; font-weight: 500; font-size: 15.5px; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.head-right { display: flex; align-items: center; gap: 12px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: var(--border); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 15px; text-decoration: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pink); border: var(--border); display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* ---------- düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border: var(--border); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .1s, box-shadow .1s, background .12s; }
.btn:hover { background: var(--yellow-soft); }
.btn:active { transform: translate(2px, 2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2f2a1d; }
.btn--pink { background: var(--pink); box-shadow: var(--shadow-sm); }
.btn--pink:hover { background: #ff7c97; }
.btn--pink:active { box-shadow: none; transform: translate(3px, 3px); }
.btn--yellow { background: var(--yellow); box-shadow: var(--shadow-sm); }
.btn--yellow:hover { background: #ffd24a; }
.btn--yellow:active { box-shadow: none; transform: translate(3px, 3px); }
.btn--block { width: 100%; justify-content: space-between; }
.site-head .btn { white-space: nowrap; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn[disabled], .btn.is-disabled { opacity: .6; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--surface); }
.link { font-weight: 600; text-underline-offset: 3px; }

/* ---------- tipografi ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: .95; }
.h1 { font-size: clamp(40px, 5.2vw, 68px); }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.lede { color: var(--ink-soft); font-size: 18px; max-width: 46ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: var(--border); border-radius: 999px; background: var(--pink-soft); font-weight: 600; font-size: 14px; }
.hl { display: inline-block; background: var(--pink); border-radius: 16px; padding: 0 18px 8px; }

/* ---------- pencere kartı (giriş ekranıyla aynı dil) ---------- */
.window { position: relative; width: 100%; max-width: 480px; background: var(--surface); border: var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow); }   /* z-index verilmez: ::before (z -1) pencerenin ARKASINDA kalsın */
.window::before { content: ''; position: absolute; inset: 16px -18px -16px 18px; background: var(--teal); border: var(--border-strong); border-radius: var(--radius); z-index: -1; }
.window__bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: #e6dfcc; border-bottom: var(--border-strong); border-radius: 11px 11px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.window__dots i:nth-child(1) { background: #ff6159; }
.window__dots i:nth-child(2) { background: #ffbd2e; }
.window__dots i:nth-child(3) { background: #28c940; }
.window__title { flex: 1; text-align: center; margin-right: 44px; }
.window__body { padding: 30px 30px 28px; }
.window .h1 { font-size: clamp(40px, 5vw, 58px); margin: 14px 0 12px; }

/* ---------- form alanları ---------- */
.field { margin-bottom: 18px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 7px; }
.input { width: 100%; height: 48px; padding: 0 14px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; font: inherit; }
.input::placeholder { color: #7d7763; }
.input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-soft); font-size: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.note { border-left: 3px solid var(--teal); padding: 4px 0 4px 12px; margin: 16px 0; font-size: 14px; color: var(--ink-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 6px 0 20px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pink); flex: none; }
.demo-tag { white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 9px; }
.preview-note { background: var(--yellow); border: var(--border); border-radius: 6px; padding: 9px 12px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.center-foot { text-align: center; font-size: 14.5px; margin-top: 20px; }

/* ---------- ilerleme çubuğu / bilet ---------- */
.bar { display: block; height: 7px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--surface); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); }
.ticket { --notch: var(--cream); position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; background: var(--surface); border: var(--border); border-radius: 12px; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.ticket:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ticket:active { transform: translate(1px, 1px); box-shadow: none; }
.stub { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; border-bottom: 2px dashed var(--ink); }
.stub::before, .stub::after { content: ''; position: absolute; bottom: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--notch); border: var(--border); z-index: 2; }
.stub::before { left: -10px; }
.stub::after { right: -10px; }
.stub .dur { position: absolute; right: 8px; bottom: 8px; z-index: 1; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .78); border-radius: 4px; padding: 0 6px; }
.ticket .body { display: grid; gap: 8px; padding: 14px; align-content: start; }
.ticket .t { font-weight: 700; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.ticket .m { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- alt bilgi ---------- */
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px 0 36px; margin-top: 56px; border-top: 1.5px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .4s var(--ease) both; }

@media (max-width: 900px) {
  .nav { display: none; }
  .wrap { padding: 0 18px; }
  .site-head { padding: 18px 0 6px; }
  .logo img { height: 36px; }
  .site-head .btn { height: 42px; padding: 0 16px; font-size: 14.5px; }
  .user-chip .name { display: none; }
  .user-chip { padding: 4px; }
}
@media (max-width: 520px) {
  .window::before { inset: 12px -8px -12px 8px; }
  .window__body { padding: 22px 18px 20px; }
  .window__title { margin-right: 0; }
  .btn--lg { height: 50px; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
