/* Ortak renkler, tipografi ve erişilebilir odak halkası. */
:root {
    color-scheme: light;
    --surface: #FAFAF8;
    --text: #1A1A1A;
    --muted: #6B6B66;
    --line: #E5E5E0;
    --bronze: #8A6A45;
    --danger: #B42318;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: #FFFFFF; font-family: Inter, sans-serif; font-size: 15px; line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
h1, .form-heading h2, .faq-section > h2, .success-panel h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.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; }

/* Üst bölüm marka, yerel dil formu ve gerçek destek adresini taşır. */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { max-width: 1280px; margin-inline: auto; padding-inline: 40px; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .header-actions, .language-form, .support-link { display: flex; align-items: center; }
.brand { gap: 12px; min-width: 0; }
.logo { border-radius: 6px; object-fit: contain; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 21px; letter-spacing: .04em; white-space: nowrap; }
.header-actions { gap: 24px; }
.language-form { gap: 8px; color: var(--muted); font-size: 13px; }
.language-form .icon { width: 16px; height: 16px; }
.language-form select { max-width: 130px; padding: 8px; color: var(--text); background: #FFFFFF; border: 1px solid var(--line); border-radius: 3px; }
.language-submit { border: 1px solid var(--line); border-radius: 3px; padding: 8px; background: var(--surface); color: var(--text); }
.js .language-submit { display: none; }
.support-link { gap: 8px; font-size: 12px; text-decoration: none; }
.support-link:hover, .btn-link:hover { text-decoration: underline; }

/* Dar içerik sütunu ve tasarımdaki belirgin bölüm aralıkları. */
.content { width: min(720px, calc(100% - 48px)); margin-inline: auto; padding-block: 64px 96px; }
.intro { margin-bottom: 32px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--bronze); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
h1 { font-size: 40px; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.75; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 20px; margin-bottom: 32px; border: 1px solid #F3DAD7; border-inline-start: 2px solid var(--danger); border-radius: 4px; background: #FFF8F7; color: var(--danger); }
.notice .icon { margin-top: 2px; }
.notice h2 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.notice p { color: var(--text); font-size: 13px; line-height: 1.7; }
.data-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
.data-card { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.card-heading h2 { font-size: 12px; line-height: 1.6; font-weight: 500; letter-spacing: .04em; }
.card-heading .icon { width: 17px; height: 17px; color: var(--muted); }
.data-card p, .data-list { color: var(--muted); font-size: 13px; line-height: 1.65; }
.data-list { list-style: none; padding: 0; margin: 0; }
.data-list li { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; }
.data-list li:last-child { margin-bottom: 0; }
.data-list .icon { color: var(--bronze); width: 15px; height: 15px; margin-top: 3px; }

/* Mantıksal konumlandırma stepper çizgisini RTL düzenine de taşır. */
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: 4px; }
.form-heading { padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.form-heading h2, .faq-section > h2, .success-panel h2 { font-size: 28px; line-height: 1.3; }
.form-heading p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.steps { list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-inline-start: 42px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 12px; top: 28px; bottom: 5px; width: 1px; background: var(--line); }
.step-marker { position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 12px; }
.step-check { display: none; width: 16px; height: 16px; }
.is-active .step-marker { background: var(--text); color: #FFFFFF; border-color: var(--text); }
.is-done .step-marker { color: var(--bronze); border-color: var(--bronze); background: var(--surface); }
.is-done .step-number { display: none; }
.is-done .step-check { display: block; }
.step-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.step-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.is-active .step-label { color: var(--bronze); }
.step h3 { font-size: 15px; font-weight: 500; line-height: 1.5; }
.is-locked { color: var(--muted); }
.is-locked .step-fields { opacity: .65; }
.step-fields { min-width: 0; padding: 0; margin: 0; border: 0; }
.step-help { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.field-label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 500; }
.text-input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); padding: 10px 12px; color: var(--text); }
.text-input:focus { border-color: var(--bronze); }
.step-summary { border: 1px solid var(--line); padding: 11px 14px; background: var(--surface); border-radius: 3px; font-size: 14px; overflow-wrap: anywhere; }
.field-error { color: var(--text); font-size: 13px; font-weight: 500; margin-block: 10px; overflow-wrap: anywhere; }
.field-error:empty { margin-block: 6px; }
.field-error:not(:empty)::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; margin-inline-end: 6px; }
.btn { min-height: 44px; max-width: 100%; border: 1px solid transparent; border-radius: 3px; padding: 10px 20px; color: #FFFFFF; font-size: 13px; font-weight: 500; line-height: 1.5; }
.btn-primary { background: var(--text); }
.btn-primary:hover:not(:disabled) { background: #343432; }
.btn-danger { background: var(--danger); }
.btn-danger:hover:not(:disabled) { background: #942015; }
.btn:disabled { opacity: .45; }
.btn-link { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--bronze); font-size: 12px; text-underline-offset: 4px; }
.btn-link:disabled { color: var(--muted); cursor: not-allowed; }
.change-step { padding-top: 0; min-height: 32px; text-decoration: underline; }
.step-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.confirmation { padding: 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.checkbox-label input { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--text); }
.success-panel { text-align: center; padding-block: 24px; }
.success-panel > .icon { color: var(--bronze); width: 42px; height: 42px; margin-bottom: 16px; }
.success-panel p { color: var(--muted); margin-top: 14px; }
.noscript-note { padding: 16px; background: var(--surface); margin-bottom: 24px; }

/* Tek gerçek OTP alanını altı görsel kutunun üzerine yerleştir. */
.otp-control { position: relative; width: min(100%, 342px); direction: ltr; border-radius: 3px; }
.otp-control input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: text; }
.otp-control:focus-within { outline: 2px solid var(--bronze); outline-offset: 4px; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; pointer-events: none; }
.otp-box { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); font-size: 20px; }
.otp-control:focus-within .otp-box.is-current { border-color: var(--bronze); background: #FFFFFF; }

/* Yerel telefon seçicisinin bayrakları ve sayıları her dilde LTR kalır. */
.iti { width: 100%; direction: ltr; text-align: left; --iti-border-color: var(--line); --iti-dropdown-bg: #FFFFFF; }
.iti__dropdown-content { max-width: min(420px, calc(100vw - 32px)); }
.iti__search-input { min-height: 44px; }
[dir="rtl"] .iti__dropdown-content { direction: rtl; text-align: right; }
[dir="rtl"] .iti__country-container { right: auto; left: 0; }
[dir="rtl"] .iti__selected-country { direction: ltr; }

/* SSS ve alt bölümde sade çizgiler ve doğal metin akışı kullan. */
.faq-section { margin-top: 64px; }
.faq-section > h2 { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; padding-block: 20px; font-size: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 16px; height: 16px; color: var(--muted); transition: transform .15s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { color: var(--muted); font-size: 13px; line-height: 1.8; padding-bottom: 22px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 32px; color: var(--muted); font-size: 12px; }
.footer-inner a { overflow-wrap: anywhere; }

/* Küçük ekranlarda 16 piksel kenar boşluğu ve tek sütunlu kartlar. */
@media (max-width: 640px) {
    .header-inner { padding: 16px; min-height: 76px; gap: 12px; flex-wrap: wrap; }
    .brand { gap: 8px; }
    .brand-name { font-size: 17px; letter-spacing: .01em; }
    .logo { width: 30px; height: 30px; }
    .header-actions { gap: 12px; flex-wrap: wrap; }
    .language-form { gap: 5px; }
    .language-form select { max-width: 105px; }
    .support-link { font-size: 11px; }
    .content { width: calc(100% - 32px); padding-block: 36px 56px; }
    h1 { font-size: 32px; line-height: 1.25; }
    .lead { font-size: 15px; line-height: 1.75; }
    .data-cards { grid-template-columns: minmax(0, 1fr); }
    .data-card { padding: 20px; }
    .form-card { padding: 22px 16px; }
    .step { padding-inline-start: 36px; }
    .step-heading { gap: 8px; }
    .form-heading h2, .faq-section > h2, .success-panel h2 { font-size: 26px; }
    .otp-boxes { gap: 6px; }
    .otp-box { height: 48px; }
    .confirmation { padding: 12px; }
    .btn { padding-inline: 14px; }
    .faq-section { margin-top: 40px; }
    .footer-inner { flex-direction: column; gap: 10px; padding: 24px 16px; }
}

/* Hareket azaltma tercihini akordiyon simgesi de dahil gözet. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
