/* MewaCloud arayüz cilası ve mobil uygulama katmanı */
:root {
  --ink-1: #f4f8ff;
  --ink-2: #c3d3ec;
  --radius-lg: 20px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -24px rgba(2, 10, 26, .9);
  --shadow-float: 0 30px 70px -30px rgba(2, 10, 26, .95);
  --bottom-nav-height: 0px;
}

body {
  background:
    radial-gradient(1200px 520px at 78% -8%, rgba(14, 165, 233, .1), transparent 70%),
    radial-gradient(900px 480px at 2% 4%, rgba(45, 212, 191, .07), transparent 70%),
    var(--navy);
  padding-bottom: var(--bottom-nav-height);
}

::selection { background: rgba(45, 212, 191, .3); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

h1, h2 { text-wrap: balance; }
.hero-lede, .page-hero p, .detail-lede { text-wrap: pretty; }

/* Üst bar: cam etkisi ve kaydırmada gölge */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(9, 23, 50, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: box-shadow .25s, background .25s, border-color .25s;
}
.site-header.is-scrolled {
  background: rgba(8, 20, 44, .92);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .95);
}
.main-nav > a:not(.button) { position: relative; font-weight: 600; }
.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav > a:not(.button):hover::after,
.main-nav > a.is-current::after { transform: scaleX(1); }
.main-nav > a.is-current { color: var(--white); }
.menu-toggle { transition: background .2s, border-color .2s; }
.menu-toggle:hover { border-color: rgba(45, 212, 191, .45); }

.header-account { position: relative; flex: 0 0 auto; margin-inline-start: auto; }
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 220px;
  min-height: 40px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--white);
  cursor: pointer;
  list-style: none;
}
.account-trigger::-webkit-details-marker { display: none; }
.account-trigger:hover, .header-account[open] .account-trigger { border-color: var(--turquoise); }
.account-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(45,212,191,.16);
  color: var(--turquoise);
  font-size: .78rem;
  font-weight: 800;
}
.account-name {
  overflow: hidden;
  max-width: 150px;
  font-size: .86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  width: min(270px, calc(100vw - 32px));
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d2040;
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
}
.account-dropdown-heading {
  display: grid;
  gap: 4px;
  padding: 10px 11px 13px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.account-dropdown-heading strong { color: var(--white); font-size: .9rem; }
.account-dropdown-heading span { color: var(--muted); font-size: .77rem; }
.account-dropdown > a, .account-dropdown form button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .88rem;
  text-align: start;
}
.forgot-password { align-self: flex-start; margin-top: -.35rem; color: var(--turquoise); font-size: .84rem; font-weight: 700; }
.account-dropdown > a:hover, .account-dropdown form button:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.account-dropdown form { margin: 0; }
.header-login { flex: 0 0 auto; }
@media (max-width: 760px) {
  .account-name { display: none; }
  .account-trigger { width: 40px; padding: 4px; justify-content: center; }
}

/* Butonlar */
.button {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #5ce6d2, #2dd4bf 48%, #14b8a6);
  box-shadow: 0 14px 30px -18px rgba(45, 212, 191, .9);
  transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { filter: brightness(1.05); box-shadow: 0 18px 36px -18px rgba(45, 212, 191, .95); }
.button:active { transform: translateY(1px) scale(.995); }
.button-outline, .button-quiet { box-shadow: none; background-image: none; }
.button-outline { backdrop-filter: blur(6px); }

/* Kartlar */
.role-card, .listing-card, .stat-card, .auth-card, .form-card,
.dashboard-item, .request-row, .detail-stats, .request-card {
  box-shadow: var(--shadow-card);
}
.listing-card { border-radius: var(--radius-lg); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.listing-card:hover { box-shadow: var(--shadow-float); }
.listing-card h3 a { transition: color .18s; }
.listing-card:hover h3 a { color: var(--turquoise); }
.role-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, .55), transparent);
}
.role-card-merchant::before { background: linear-gradient(90deg, transparent, rgba(14, 165, 233, .55), transparent); }
.stat-card { border-radius: 16px; }
.stat-card strong { background: linear-gradient(135deg, #ffffff, #b9e9e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-highlight strong { background: linear-gradient(135deg, #7df0de, #2dd4bf); -webkit-background-clip: text; background-clip: text; }

/* Hero */
.hero h1 span {
  background: linear-gradient(120deg, #5eead4, #2dd4bf 40%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-mark { animation: mewa-float 7s ease-in-out infinite; }
.floating-card { animation: mewa-float 9s ease-in-out infinite; }
.floating-card-bottom { animation-delay: -4s; }
@keyframes mewa-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* Girişe göre yumuşak açılma */
html.js-reveal .reveal { opacity: 0; translate: 0 18px; transition: opacity .55s ease, translate .55s ease; }
html.js-reveal .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js-reveal .reveal { opacity: 1; translate: 0 0; }
  html { scroll-behavior: auto; }
}

/* Formlar */
input, select, textarea {
  border-radius: 12px;
  background: rgba(7, 19, 42, .85);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input:hover, select:hover, textarea:hover { border-color: rgba(178, 203, 239, .38); }
.filter-panel { border-radius: 18px; box-shadow: var(--shadow-card); backdrop-filter: blur(10px); }
.feature-checkboxes label { cursor: pointer; transition: border-color .18s, color .18s, background .18s; }
.feature-checkboxes label:hover { border-color: rgba(45, 212, 191, .4); color: var(--white); }
.feature-checkboxes label:has(input:checked) {
  border-color: rgba(45, 212, 191, .55);
  background: rgba(45, 212, 191, .1);
  color: var(--white);
}

/* Rol seçimi: segment düğmeleri */
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-choice label {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 26, 54, .75);
  cursor: pointer;
  font-weight: 700;
  transition: border-color .18s, background .18s, transform .18s;
}
.role-choice label:hover { transform: translateY(-1px); border-color: rgba(45, 212, 191, .4); }
.role-choice label:has(input:checked) { border-color: var(--turquoise); background: rgba(45, 212, 191, .12); }
.role-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.google-divider { display: flex; align-items: center; gap: .8rem; margin: 1rem 0 .75rem; color: var(--muted); font-size: .82rem; }
.google-divider::before, .google-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.google-signin { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; min-height: 46px; padding: .65rem 1rem; border: 1px solid #dadce0; border-radius: 10px; background: #fff; color: #3c4043; font-weight: 600; text-align: center; text-decoration: none; }
.google-signin:hover { background: #f8faff; color: #202124; }
.google-signin img { width: 20px; height: 20px; flex: 0 0 auto; }
html[dir="rtl"] .google-signin { direction: rtl; }
.role-choice small { color: var(--muted); font-size: .74rem; font-weight: 500; }

/* Flash mesajları */
.flash { box-shadow: var(--shadow-card); animation: mewa-flash-in .35s ease; }
@keyframes mewa-flash-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }

/* Mobil alt menü (uygulama hissi) */
.tab-bar { display: none; }
.sticky-cta { display: none; }

/* Uygulamayı yükle çağrısı */
.install-banner {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(45, 212, 191, .28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(45, 212, 191, .12), rgba(14, 165, 233, .08));
}
.install-banner.is-ready { display: flex; }
.install-banner img { width: 38px; height: 38px; border-radius: 10px; }
.install-banner div { flex: 1; min-width: 0; }
.install-banner strong { display: block; font-size: .92rem; }
.install-banner span { color: var(--muted); font-size: .78rem; }

@media (max-width: 650px) {
  :root { --bottom-nav-height: calc(64px + env(safe-area-inset-bottom, 0px)); }

  h1 { letter-spacing: -.03em; }
  .button { min-height: 50px; border-radius: 14px; }
  .button-small { min-height: 40px; }

  .tab-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(8, 20, 44, .94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .tab-bar a, .tab-bar button {
    display: grid;
    gap: 3px;
    justify-items: center;
    padding: 6px 2px;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--muted);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .01em;
  }
  .tab-bar svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tab-bar .is-current { color: var(--turquoise); }
  .tab-bar form { margin: 0; display: grid; }

  .listing-card { min-height: unset; }
  .detail-stats { border-radius: 16px; }

  /* Mobilde talep formu için sabit eylem çubuğu */
  .sticky-cta {
    position: fixed;
    right: 0;
    bottom: var(--bottom-nav-height);
    left: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    background: rgba(10, 25, 52, .96);
    backdrop-filter: blur(14px);
  }
  .sticky-cta div { flex: 1; min-width: 0; font-size: .74rem; color: var(--muted); }
  .sticky-cta strong { display: block; color: var(--white); font-size: .95rem; }
  .sticky-cta .button { min-height: 46px; }
  .has-sticky-cta { padding-bottom: 76px; }
}

@media (display-mode: standalone) {
  .site-header { border-bottom-color: rgba(194, 215, 248, .1); }
}

/* --- 6-digit verification code --- */
.code-card .code-sub { color: #64748b; margin: 0 0 20px; }
.code-card .code-label { display: block; font-size: .85rem; color: #64748b; margin-bottom: 8px; }
.code-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.code-box {
  width: 100%; height: 58px; text-align: center; padding: 0;
  font-size: 1.5rem; font-weight: 700;
  border: 1px solid rgba(6, 35, 51, .18); border-radius: 12px; background: #fff; color: #062333;
  transition: border-color .15s, box-shadow .15s;
}
.code-box:focus { outline: none; border-color: #2dd4bf; box-shadow: 0 0 0 3px rgba(45, 212, 191, .25); }
.code-box:disabled { opacity: .5; }
.code-timer {
  display: flex; justify-content: center; gap: 8px; align-items: center;
  margin: 16px 0; color: #64748b; font-size: .9rem;
}
.code-timer #code-remaining { font-variant-numeric: tabular-nums; font-weight: 700; color: #062333; font-size: 1.05rem; }
.code-timer.is-low #code-remaining { color: #f97316; }
.code-timer.is-expired { color: #dc2626; }
.button-ghost { background: transparent; color: #062333; border: 1px solid rgba(6, 35, 51, .2); }
@media (max-width: 480px) {
  .code-inputs { gap: 7px; }
  .code-box { height: 50px; font-size: 1.25rem; border-radius: 10px; }
}

.pay-marks{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 2px}
.pay-marks img{height:24px;width:auto;opacity:.95}
