/* SMPRO herkese açık sayfalar: tanıtım, Pro başvurusu, giriş, hukuki metinler.
   Tek tasarım dili: sade nötr yüzeyler, tek mor vurgu, ince çizgiler, hızlı ve yumuşak hareket. */
@import url("../fonts/local/inter/font.css");

:root {
    --p-ink: #18181b;
    --p-ink-2: #3f3f46;
    --p-muted: #6b6b76;
    --p-faint: #a1a1aa;
    --p-page: #fafafa;
    --p-surface: #fff;
    --p-subtle: #f4f4f5;
    --p-line: rgb(24 24 27 / 8%);
    --p-line-strong: rgb(24 24 27 / 14%);
    --p-accent: #6546db;
    --p-accent-hover: #5536c9;
    --p-accent-soft: #f1edff;
    --p-accent-ink: #4c2fbf;
    --p-sun: #ffc72c;
    --p-ok: #15803d;
    --p-danger: #b42318;

    --p-radius-sm: 8px;
    --p-radius: 12px;
    --p-radius-lg: 20px;
    --p-shadow-sm: 0 1px 2px rgb(24 24 27 / 5%);
    --p-shadow: 0 1px 2px rgb(24 24 27 / 4%), 0 8px 24px -10px rgb(24 24 27 / 14%);
    --p-shadow-lg: 0 2px 4px rgb(24 24 27 / 4%), 0 32px 72px -20px rgb(24 24 27 / 28%);

    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --ease-in-out: cubic-bezier(.77, 0, .175, 1);
    --ease-drawer: cubic-bezier(.32, .72, 0, 1);

    --p-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--p-page);
    color: var(--p-ink);
    font: 400 16px/1.6 var(--p-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--p-ink); font-weight: 650; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--p-accent-soft); color: var(--p-accent-ink); }

/* Etiket: küçük, sakin, büyük harf değil. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--p-accent-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--p-sun);
    box-shadow: 0 0 0 3px rgb(255 199 44 / 25%);
}

/* Düğmeler: basınca hafifçe küçülür; renk değişimi kısa. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--p-line-strong);
    border-radius: 10px;
    background: var(--p-surface);
    color: var(--p-ink);
    font: 550 14px/1 var(--p-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--p-shadow-sm);
    transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn.primary {
    border-color: transparent;
    background: var(--p-ink);
    color: #fff;
    box-shadow: 0 1px 2px rgb(24 24 27 / 20%), inset 0 1px 0 rgb(255 255 255 / 12%);
}
.btn.accent {
    border-color: transparent;
    background: var(--p-accent);
    color: #fff;
    box-shadow: 0 1px 2px rgb(76 47 191 / 30%), inset 0 1px 0 rgb(255 255 255 / 16%);
}
.btn.ghost { border-color: transparent; background: transparent; box-shadow: none; color: var(--p-ink-2); }
.btn.lg { min-height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) {
    .btn:hover { border-color: rgb(24 24 27 / 22%); background: #fcfcfc; }
    .btn.primary:hover { background: #27272a; }
    .btn.accent:hover { background: var(--p-accent-hover); }
    .btn.ghost:hover { background: var(--p-subtle); color: var(--p-ink); }
}

:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--p-accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Form alanları */
.p-field { display: grid; align-content: start; gap: 6px; color: var(--p-ink-2); font-size: 14px; font-weight: 550; }
.p-input,
.p-field :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--p-line-strong);
    border-radius: 10px;
    background: var(--p-surface);
    color: var(--p-ink);
    font: 400 15px/1.4 var(--p-font);
    box-shadow: var(--p-shadow-sm);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.p-field textarea { min-height: 112px; resize: vertical; }
.p-input::placeholder, .p-field ::placeholder { color: var(--p-faint); }
.p-input:focus, .p-field :is(input, select, textarea):focus {
    outline: none;
    border-color: var(--p-accent);
    box-shadow: 0 0 0 4px rgb(101 70 219 / 14%);
}

/* Hukuki bağlantılar: tüm herkese açık sayfaların alt satırı. */
.smpro-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
    padding: 24px 16px 32px;
    font-size: 13px;
}
.smpro-legal-links a { color: var(--p-muted); text-decoration: none; transition: color 160ms ease; }
.smpro-legal-links a:hover { color: var(--p-ink); }

/* Pencere: açılırken hafif büyüyerek belirir; ortada durduğu için merkezden. */
.p-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 1px solid var(--p-line);
    border-radius: var(--p-radius-lg);
    background: var(--p-surface);
    color: var(--p-ink);
    box-shadow: var(--p-shadow-lg);
    overflow: auto;
}
.p-dialog::backdrop { background: rgb(24 24 27 / 40%); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
    .p-dialog[open] {
        transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
        @starting-style { opacity: 0; transform: scale(.96) translateY(6px); }
    }
    .p-dialog[open]::backdrop {
        transition: opacity 220ms var(--ease-out);
        @starting-style { opacity: 0; }
    }
}

.p-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--p-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.p-close:hover { background: var(--p-subtle); color: var(--p-ink); }
.p-close:active { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}
