/* pay.eticaret.shop — tek stil dosyası (üçüncü taraf font/CDN yok; CSP style-src 'self').
   Görünüm eski index.html'den; markifio renkleri body.brand-markifio altında. */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0c1a33;
  --ink-2: #33425e;
  --muted: #5d6b84;
  --line: #e2e7f0;
  --brand: #1f4fd8;
  --brand-600: #1a43b8;
  --brand-soft: #e9effd;
  --brand-ink: #ffffff;
  --grad-a: #2457e6;
  --grad-b: #2a2f8f;
  --ok: #0e8a5f;
  --ok-soft: #e2f5ec;
  --warn: #9a5b06;
  --warn-soft: #fff6e6;
  --warn-line: #f3d9a6;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --danger-line: #f5c2bd;
  --shadow: 0 1px 2px rgba(12, 26, 51, .05), 0 8px 24px rgba(12, 26, 51, .06);
  --shadow-lg: 0 2px 4px rgba(12, 26, 51, .06), 0 24px 48px rgba(12, 26, 51, .14);
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
body.brand-markifio {
  --brand: #6d3fd6;
  --brand-600: #5b32b8;
  --brand-soft: #f0eafd;
  --grad-a: #7a4ce6;
  --grad-b: #3b2a8f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220; --surface: #111a2e; --ink: #e8edf7; --ink-2: #c3cce0; --muted: #94a1bb; --line: #22304a;
    --brand: #7096ff; --brand-600: #8ba9ff; --brand-soft: #16244a; --brand-ink: #0b1220;
    --ok: #3ccf95; --ok-soft: #0f2e25; --warn: #f4b860; --warn-soft: #2a2112; --warn-line: #4a3818;
    --danger: #ff8a80; --danger-soft: #2e1412; --danger-line: #5a2622;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px rgba(0, 0, 0, .5);
  }
  body.brand-markifio { --brand: #a98bff; --brand-600: #bea6ff; --brand-soft: #241a45; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); }
code { font-family: var(--mono); font-size: .92em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.i { width: 20px; height: 20px; flex: none; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 10px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { left: 12px; z-index: 100; }

/* Test şeridi (PAY_MODE ≠ live ya da is_test oturum) */
.test-ribbon { background: #b42318; color: #fff; text-align: center; font-weight: 700; font-size: 13px; letter-spacing: .06em; padding: 6px 12px; }
.ribbon-inline { display: inline-block; background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-line); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 2px 10px; margin: 0 0 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.brand__mark .i { width: 18px; height: 18px; }
.brand__tld { color: var(--brand); }
.brand__tag { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.nav__secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); }
.nav__secure .i { width: 16px; height: 16px; }
@media (max-width: 560px) { .brand__tag, .nav__secure { display: none; } }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font: inherit; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; text-align: center; }
.btn:hover { text-decoration: none; }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-600); }
.btn--primary[disabled] { opacity: .65; cursor: progress; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; padding: 12px 20px; white-space: normal; line-height: 1.35; }

/* Ödeme sayfası */
.main { padding: 32px 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 0 0 16px; }
.card h1 { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; margin: 4px 0 8px; }
.card h2 { font-size: 18px; margin: 0 0 12px; letter-spacing: -.01em; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand); margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 16px; font-size: 14px; }
.meta div { display: flex; gap: 6px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; }
.lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.lines th { text-align: left; font-size: 12px; letter-spacing: .06em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); padding: 8px 0; }
.lines td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lines td small { display: block; color: var(--muted); font-size: 13px; }
.num { text-align: right; white-space: nowrap; padding-left: 12px; }
.totals { margin-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.totals__grand { padding-top: 10px; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink); }
.totals__grand strong { font-size: 22px; }

.payform { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.field__brand { font-weight: 700; color: var(--brand); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.field input { font: inherit; font-size: 17px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
#cc_number, #cc_exp, #cc_csc { font-family: var(--mono); letter-spacing: .06em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consents { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.consents p { margin: 0; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--muted); }
.secure-note .i { width: 16px; height: 16px; color: var(--ok); margin-top: 2px; }

.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 16px; font-size: 15px; }
.alert p { margin: 0; }
.alert--danger { background: var(--danger-soft); border: 1px solid var(--danger-line); color: var(--ink); }
.alert--danger .i { color: var(--danger); margin-top: 2px; }

.result { text-align: center; padding: 36px 24px; }
.result__icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 8px; }
.result__icon .i { width: 30px; height: 30px; }
.result--ok .result__icon { background: var(--ok-soft); color: var(--ok); }
.result--fail .result__icon, .result--danger .result__icon { background: var(--danger-soft); color: var(--danger); }
.result--wait .result__icon, .result--warn .result__icon { background: var(--warn-soft); color: var(--warn); }
.result__amount { font-weight: 700; color: var(--ink-2); }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* Yasal metin */
.doc h2 { font-size: 18px; margin: 24px 0 8px; }
.doc h3 { font-size: 16px; margin: 18px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc blockquote { margin: 12px 0; padding: 10px 16px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 8px; }
.doc mark { background: var(--warn-soft); color: var(--warn); }
.doc-lines { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 15px; }
.doc-lines th, .doc-lines td { border-bottom: 1px solid var(--line); padding: 6px 0; text-align: left; }
.doc-lines .num { text-align: right; }
.draft-banner { background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn); font-weight: 700; border-radius: 10px; padding: 8px 12px; margin: 0 0 12px; font-size: 14px; }
.doc__back { margin-top: 24px; }

/* Ana sayfa (eski index.html) */
.main--wide { padding: 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 64px; }
.hero::before { content: ""; position: absolute; z-index: -1; top: -260px; right: -220px; width: 760px; height: 760px; background: radial-gradient(closest-side, var(--brand-soft), transparent); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow .i { width: 16px; height: 16px; }
.hero__title { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.08; letter-spacing: -.028em; margin: 20px 0; }
.hero__title .accent { color: var(--brand); }
.lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .i { width: 17px; height: 17px; color: var(--ok); }
.visual { position: relative; padding: 8px 0 64px; max-width: 460px; justify-self: end; width: 100%; }
.paycard { position: relative; overflow: hidden; width: 100%; max-width: 420px; aspect-ratio: 1.586; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 26px; border-radius: 20px; color: #ffffff; background: linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 55%, #0c1a33 100%); box-shadow: var(--shadow-lg); }
.paycard::before, .paycard::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.paycard::before { width: 240px; height: 240px; right: -70px; top: -90px; }
.paycard::after { width: 180px; height: 180px; right: 40px; bottom: -120px; }
.paycard > * { position: relative; z-index: 1; }
.paycard__top { display: flex; justify-content: space-between; align-items: center; }
.paycard__name { font-weight: 700; letter-spacing: -.01em; }
.paycard__name span { opacity: .7; }
.paycard__mid { display: grid; gap: 14px; }
.chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #f6dc9a, #c49a3e); }
.paycard__num { font-family: var(--mono); font-size: clamp(16px, 2.3vw, 21px); letter-spacing: .14em; }
.paycard__bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; letter-spacing: .1em; opacity: .85; }
.paycard__secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .04em; font-weight: 700; }
.paycard__secure .i { width: 16px; height: 16px; }
.status-box { position: absolute; right: 0; bottom: 0; width: min(290px, 80%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; }
.status-box__title { margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.status-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.status-box li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; flex: none; }
.tick .i { width: 13px; height: 13px; stroke-width: 2.6; }
@media (max-width: 900px) { .hero { padding: 48px 0 40px; } .hero__grid { grid-template-columns: 1fr; gap: 40px; } .visual { justify-self: start; } }
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.notice__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.notice h2 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 4px; }
.notice p { margin: 0; color: var(--muted); }
section[id] { scroll-margin-top: 84px; }
.section { padding: 80px 0; }
.section--tight { padding: 0 0 72px; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 660px; margin: 0 0 40px; }
.section h2, .section__head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.02em; margin: 8px 0 12px; }
.section__head p { color: var(--muted); margin: 0; font-size: 17px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.step__no { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted); }
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.sec { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature, .cards-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature { padding: 22px; }
.feature__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.feature h3 { font-size: 16px; margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.cards-box { padding: 24px; }
.cards-box h3 { font-size: 17px; margin: 0 0 6px; }
.cards-box > p { margin: 0; color: var(--muted); font-size: 15px; }
.networks { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; padding: 0; list-style: none; }
.network { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-weight: 800; font-size: 15px; color: var(--ink); }
.network--visa { font-style: italic; letter-spacing: .04em; }
.network--troy { text-transform: lowercase; letter-spacing: .02em; }
.mc { position: relative; width: 30px; height: 18px; flex: none; }
.mc::before, .mc::after { content: ""; position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%; }
.mc::before { left: 0; background: #eb001b; }
.mc::after { right: 0; background: #f79e1b; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .mc::after { mix-blend-mode: normal; opacity: .9; } }
.provider { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.provider .i { color: var(--brand); width: 22px; height: 22px; }
.provider strong { color: var(--ink); display: block; font-size: 15px; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; background: var(--warn-soft); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink-2); font-size: 15px; }
.callout .i { color: var(--warn); margin-top: 2px; }
.callout p { margin: 0; }
.callout strong { color: var(--ink); }
@media (max-width: 900px) { .sec { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } .card { padding: 18px; } }
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq details[open] { border-color: var(--brand); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Simülatör ACS sayfası (banka HTML'i yerine) */
.sim-acs .card form { margin: 12px 0 0; }

/* Footer */
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer__about { max-width: 460px; }
.footer__about p { margin: 6px 0 0; }
.footer__about strong { color: var(--ink-2); }
.footer__links { display: flex; gap: 8px 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer__links a { color: var(--ink-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
