/* ========== DEĞİŞKENLER ========== */
:root {
  --red: #d42a2a;
  --red-dark: #b81f1f;
  --text: #141414;
  --muted: #6b6b6b;
  --card: #f5f5f3;
  --line: #ececec;
  --radius: 16px;
  --max: 1020px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

/* ========== BUTON ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff;
  padding: 14px 30px; border-radius: 8px;
  font-weight: 600; font-size: 17px;
  transition: background .2s;
}
.btn:hover { background: var(--red-dark); }
.btn:focus-visible, .modal__close:focus-visible { outline: 3px solid rgba(212, 42, 42, .35); outline-offset: 2px; }
.btn--lg { padding: 18px 30px; font-size: 18px; }
.btn--outline { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn--outline:hover { background: #fff; border-color: var(--red); color: var(--red); }

/* ========== HEADER ========== */
.header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.header__inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 40px; width: auto; }
.header__right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; background: var(--card); border-radius: 8px; padding: 4px; }
.lang__btn {
  display: inline-block; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 8px 12px; border-radius: 6px; transition: background .2s, color .2s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

/* ========== HERO ========== */
.hero { padding: 110px 0 130px; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.eyebrow { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 5.5vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -.5px; margin-bottom: 26px; }
.hero__lead { font-size: 21px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__login { font-size: 15px; font-weight: 600; }
.hero__login a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.hero__login a:hover { color: var(--red-dark); }

.hero__visual { display: flex; justify-content: center; }
.hero__mascot { max-height: 340px; width: auto; animation: float 5s ease-in-out infinite; }
.hero__badge {
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: float 5s ease-in-out infinite;
}
.hero__badge[hidden] { display: none; }
.hero__badge span { font-size: 16px; font-weight: 500; color: var(--muted); }
.hero__badge strong { font-size: 92px; font-weight: 700; line-height: 1; color: var(--red); letter-spacing: -2px; margin: 4px 0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========== SECTION ========== */
.section { padding: 70px 0; }
.section__title { font-size: clamp(30px, 4vw, 40px); line-height: 1.2; font-weight: 600; text-align: center; margin-bottom: 56px; letter-spacing: -.3px; }

/* ========== KARTLAR ========== */
.cards { display: grid; gap: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card--row { display: flex; gap: 28px; align-items: flex-start; padding: 40px; }
.card--row .card__icon { flex-shrink: 0; width: 60px; height: 60px; margin-bottom: 0; }
.card { background: var(--card); border-radius: 24px; padding: 44px 40px 48px; }
.card__icon { width: 72px; height: 72px; color: var(--text); margin-bottom: 32px; }
.card__step { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* ========== KAZANÇ ========== */
.earn {
  background: var(--card); border-radius: 24px;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 64px;
  padding: 56px 64px;
}
.earn__rate { font-size: 140px; font-weight: 700; color: var(--red); line-height: 1; letter-spacing: -4px; }
.earn__lead { font-size: 21px; font-weight: 500; margin-bottom: 14px; }
.earn__text p { color: var(--muted); }
.earn__text .earn__lead { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 28px; }
.rate-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.rate-table th, .rate-table td { padding: 14px 20px; text-align: left; }
.rate-table th { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); border-bottom: 1px solid var(--line); }
.rate-table td { font-size: 18px; font-weight: 500; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; }
.rate-table td:last-child { color: var(--red); font-weight: 700; font-size: 22px; }
.earn__text .earn__note { font-size: 14px; margin-top: 14px; }
.chips li { background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 500; font-size: 15px; }

/* ========== HAKKIMIZDA ========== */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about__side { display: flex; flex-direction: column; gap: 16px; }
.license { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.license h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.license p { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.about h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 600; margin-bottom: 18px; letter-spacing: -.3px; }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats li { background: var(--card); border-radius: var(--radius); padding: 28px; min-width: 0; }
.stats strong { display: block; font-size: 28px; font-weight: 700; color: var(--red); line-height: 1.2; overflow-wrap: break-word; }
.stats span { color: var(--muted); font-size: 15px; }

/* ========== SSS ========== */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; }

/* ========== CTA ========== */
.cta { background: var(--card); border-radius: 24px; padding: 64px 40px; text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 600; margin-bottom: 10px; letter-spacing: -.3px; }
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.faq details p a, .footer__contact a, .card p a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { font-size: 15px; font-weight: 500; }

/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer__logo { height: 32px; width: auto; }
.footer__rg { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.age {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  font-weight: 700; font-size: 12px;
}
.footer__legal { color: var(--muted); font-size: 12px; max-width: 720px; }
.footer__copy { color: var(--muted); font-size: 13px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero { padding: 60px 0 70px; }
  .hero__inner, .about { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: -1; }
  .hero__inner { gap: 24px; }
  .hero__mascot { max-height: 240px; }
  .hero__badge { width: 220px; height: 220px; }
  .hero__badge strong { font-size: 72px; }
  .cards--3 { grid-template-columns: 1fr; gap: 20px; }
  .cards--2 { gap: 20px; }
  .card--row { flex-direction: column; gap: 20px; padding: 36px; }
  .card { padding: 36px; }
  .earn { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; text-align: center; }
  .earn__rate { font-size: 110px; }
  .chips { justify-content: center; }
  .earn__text { text-align: left; }
  .section { padding: 50px 0; }
}
@media (max-width: 560px) {
  .header__inner { height: 72px; }
  .logo img { height: 28px; }
  .header__cta { display: none; }
  .header__right { gap: 0; }
  .lang__btn { padding: 6px 10px; font-size: 13px; }
  .hero { padding: 32px 0 56px; }
  .hero__mascot { max-height: 190px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cards--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stats li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; }
  .rate-table th { font-size: 11px; padding: 12px 14px; }
  .rate-table td { font-size: 16px; padding: 14px; white-space: nowrap; }
  .rate-table td:last-child { font-size: 20px; }
  .stats li { padding: 16px 20px; }
  .stats strong { font-size: 22px; }
  .card--row, .card { padding: 28px; }
  .earn { padding: 32px 20px; }
  .cta { padding: 48px 20px; }
}

/* ========== BAŞVURU POPUP'I ========== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body:has(.modal[open]) { overflow: hidden; }

.modal {
  border: 0; padding: 0; background: transparent; color: var(--text);
  width: calc(100% - 32px); max-width: 480px; max-height: calc(100dvh - 32px);
  margin: auto; overflow: visible;
}
.modal::backdrop { background: rgba(20, 20, 20, .55); backdrop-filter: blur(2px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__box {
  position: relative; background: #fff; border-radius: 24px;
  padding: 40px 36px 32px; max-height: calc(100dvh - 32px); overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: var(--card); color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.modal__close:hover { background: var(--line); }
.modal__title { font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.3px; margin: 0 48px 8px 0; }
.modal__sub { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.modal__sub strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

/* Form */
.apply { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
  font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #a8a8a8; }
.field input:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(212, 42, 42, .12); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__hint { font-size: 13px; color: var(--muted); }
.field__err { font-size: 13px; color: var(--red); font-weight: 500; }
.field__err:empty { display: none; }


.apply__error { background: #fdeeee; color: var(--red-dark); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.btn--block { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.btn:disabled { opacity: .7; cursor: wait; }
.apply__sending { display: none; }
.is-loading .apply__label { display: none; }
.is-loading .apply__sending { display: inline-flex; align-items: center; gap: 10px; }
.is-loading .apply__sending::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.apply__login { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.apply__login a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Başarılı ekranı */
.done { text-align: center; }
.done__icon {
  width: 84px; height: 84px; margin: 4px auto 22px; border-radius: 50%;
  background: #2f9e55; display: grid; place-items: center;
  box-shadow: 0 0 0 12px #e3f3e8;
}
.done .modal__title { margin-right: 0; }
.steps { text-align: left; background: var(--card); border-radius: 16px; padding: 22px 22px 6px; margin-bottom: 20px; }
.steps__item { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.steps__item:not(:last-child)::before {
  content: ''; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--line);
}
.steps__item.is-done::before { background: #2f9e55; }
.steps__dot {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #d4d4d4; background: #fff; margin-top: 1px;
}
.is-done .steps__dot {
  border-color: #2f9e55;
  background: #2f9e55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.is-current .steps__dot { border: 6px solid var(--red); box-shadow: 0 0 0 4px rgba(212, 42, 42, .15); }
.steps strong { display: block; font-size: 16px; font-weight: 600; }
.steps span { display: block; color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .modal { width: calc(100% - 20px); }
  .modal__box { padding: 28px 20px 24px; border-radius: 20px; }
  .modal__close { top: 12px; right: 12px; }
  .modal__title { font-size: 24px; }
}

/* 18+ onay kutusu */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.45; }
.check input {
  appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 0; cursor: pointer;
  border: 1.5px solid #cfcfcf; border-radius: 6px; background: #fff; transition: background .15s, border-color .15s;
}
.check input:checked {
  border-color: var(--red);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check input:focus-visible { outline: 3px solid rgba(212, 42, 42, .35); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--red); }
