/* =========================================================
   RemapTune — Automotive / Performance (dark, motorsport)
   Display: Space Grotesk · Text: Inter · Data: JetBrains Mono
   ========================================================= */

:root {
    --ink: #f3f6fb;
    --ink-2: #a7b1c2;
    --ink-3: #6c7789;
    --bg: #0a0d12;
    --bg-2: #0e121a;
    --surface: #141924;
    --surface-2: #1b2230;
    --elevated: #232c3c;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .13);

    --accent: #ff4d2e;             /* performance red-orange */
    --accent-ink: #ff6a4f;         /* lighter (hover on dark) */
    --accent-2: #ff8a1e;           /* orange (gradient end) */
    --accent-soft: rgba(255, 77, 46, .14);
    --accent-line: rgba(255, 77, 46, .35);
    --accent-glow: rgba(255, 77, 46, .45);

    /* Bilgi/çözüm tonu — accent (turuncu) eylem rengiyle karışmasın diye soğuk mavi */
    --cool: #38bdf8;
    --cool-2: #22d3ee;              /* gradyan ucu (camgöbeği) */
    --cool-ink: #7dd3fc;            /* koyu zeminde okunur açık ton */
    --cool-soft: rgba(56, 189, 248, .13);
    --cool-line: rgba(56, 189, 248, .38);
    --cool-glow: rgba(56, 189, 248, .40);

    --ok: #2ecc71; --ok-soft: rgba(46, 204, 113, .15);
    --warn: #f5a623; --warn-soft: rgba(245, 166, 35, .15);
    --danger: #ff5a5f; --danger-soft: rgba(255, 90, 95, .15);

    --r-xl: 20px;
    --r-lg: 15px;
    --r-md: 11px;
    --r-sm: 8px;

    --sh-1: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .25);
    --sh-2: 0 8px 20px -8px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .3);
    --sh-3: 0 24px 60px -20px rgba(0, 0, 0, .7), 0 8px 20px -10px rgba(0, 0, 0, .5);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --display: "Space Grotesk", var(--font);
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --wrap: min(1200px, 92vw);
    --wrap-wide: min(1360px, 95vw);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(900px 500px at 85% -10%, rgba(255, 77, 46, .16), transparent 60%),
        radial-gradient(700px 460px at 8% 0%, rgba(255, 138, 30, .06), transparent 55%);
    background-repeat: no-repeat;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    letter-spacing: -.005em;
    overflow-x: clip; /* mobilde yatay taşmayı engelle (sticky'i bozmaz) */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: var(--wrap); margin: 0 auto; }
.wrap.wide { width: var(--wrap-wide); }
::selection { background: var(--accent); color: #fff; }

/* ---------------- Eyebrow ---------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-ink); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.eyebrow svg { width: 15px; height: 15px; }

/* ---------------- Topbar ---------------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(140%) blur(12px);
    background: rgba(10, 13, 18, .78);
    border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
body.data .topbar .wrap { width: var(--wrap-wide); }

/* E-posta doğrulama banner'ı (doğrulanmamış kullanıcı, tüm topbar'lı sayfalarda) */
.verify-banner { background: var(--warn-soft); border-bottom: 1px solid var(--line); }
.verify-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 24px; flex-wrap: wrap; }
body.data .verify-banner .wrap { width: var(--wrap-wide); }
.vb-msg { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--warn); }
.vb-msg svg { width: 16px; height: 16px; flex: 0 0 auto; }
.vb-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.vb-cta svg { width: 15px; height: 15px; }
.vb-cta:hover { color: var(--accent); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.logo .mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 14px -3px var(--accent-glow); }
.logo .mark svg { width: 19px; height: 19px; }
.logo b { color: var(--accent); font-weight: 700; }
.topnav { display: flex; align-items: center; gap: 14px; }

.navlink { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 2px; position: relative; }
.navlink:hover { color: var(--ink); }
.navlink.on { color: var(--ink); font-weight: 600; }
.navlink.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--accent); }
.navlink.admin { color: var(--accent-ink); }

.lang-switch { display: inline-flex; gap: 1px; padding: 3px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); }
.lang-switch a { padding: 4px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.on { background: var(--elevated); color: var(--ink); }

.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }
.user-chip .avatar { width: 27px; height: 27px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; overflow: hidden; }
.user-chip .avatar img { width: 100%; height: 100%; object-fit: cover; }
a.user-chip { transition: border-color .15s, box-shadow .15s; }
a.user-chip:hover { border-color: var(--accent-line); }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 600; font-size: 14px; line-height: 1;
    padding: 11px 18px; border-radius: 10px;
    border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
    cursor: pointer; white-space: nowrap;
    transition: transform .06s, box-shadow .16s, background .16s, border-color .16s, color .16s, filter .16s;
}
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--accent-glow); outline-offset: 2px; }
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px var(--accent-glow); }
.btn.primary:hover { filter: brightness(1.07); box-shadow: 0 12px 26px -8px var(--accent-glow); }
.btn.dark { background: var(--elevated); border-color: transparent; color: var(--ink); }
.btn.dark:hover { background: #2b3547; border-color: transparent; }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.btn.ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn.wide { width: 100%; padding: 13px 18px; }
.btn.sm { padding: 8px 13px; font-size: 13px; border-radius: 8px; }
.btn.danger-btn { color: var(--danger); }
.btn.danger-btn:hover { border-color: var(--danger); background: var(--danger-soft); color: #ffb0b3; }
.btn.danger-solid { background: var(--danger); border-color: transparent; color: #fff; }
.btn.danger-solid:hover { filter: brightness(1.08); border-color: transparent; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------------- Hero ---------------- */
.hero { padding: 68px 0 20px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 20px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cta .microcopy { font-size: 13.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; }
.hero-cta .microcopy svg { width: 15px; height: 15px; color: var(--ok); }

/* Hero product preview (dark instrument card) */
.preview, .readout {
    background: linear-gradient(180deg, #171d29, #12161f);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-3);
    padding: 20px;
    display: grid; gap: 14px;
    position: relative; overflow: hidden;
}
.preview::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent); }
.pv-top { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.pv-top .pv-badge { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 9px; border-radius: 999px; }
.pv-ecu { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, .02); }
.pv-chip { width: 50px; height: 50px; border-radius: 11px; flex: 0 0 auto; background: linear-gradient(150deg, #2a3346, #171d2b); position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.pv-chip::before { content: ""; position: absolute; inset: 13px; border-radius: 5px; background: linear-gradient(150deg, #39445e, #232c40); }
.pv-chip::after { content: ""; position: absolute; inset: 0; border-radius: 11px; box-shadow: inset 0 0 14px rgba(255, 77, 46, .25); }
.pv-ecu strong { display: block; font-family: var(--display); font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.pv-ecu span { font-size: 12.5px; color: var(--ink-3); }
.pv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-fields > div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 11px; background: rgba(255, 255, 255, .02); }
.pv-fields small { display: block; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.pv-fields b { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.pv-sols { display: flex; flex-wrap: wrap; gap: 7px; }
.pv-sol { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 11px; }

/* ---------------- Drop bay ---------------- */
.baywrap { width: var(--wrap); margin: 10px auto 0; }
.dropbay { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: 12px; }
.dropbay::before { content: "DROP BAY"; position: absolute; top: -10px; left: 22px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--ink-3); background: var(--surface); padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.dropzone { position: relative; cursor: pointer; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); padding: 44px 24px; transition: border-color .16s, background .16s; }
.dropzone:hover { border-color: var(--accent); background: rgba(255, 77, 46, .05); }
.dropzone.dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input[type=file] { display: none; }
.dz-icon { width: 62px; height: 62px; margin: 0 auto 15px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 26px -8px var(--accent-glow); }
.dz-icon svg { width: 28px; height: 28px; }
.dropzone h3 { font-family: var(--display); margin: 0 0 6px; font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.dropzone p { margin: 0; color: var(--ink-3); font-size: 14px; }
.dropzone .formats { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--ink-3); }
.dropbay .disclaimer { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-3); font-size: 13px; padding: 13px 8px 5px; }
.dropbay .disclaimer svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------------- Sections ---------------- */
.section { padding: 60px 0; }
.section-head { max-width: 640px; margin: 0 0 34px; }
.section-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -.025em; margin: 0 0 10px; }
.section-head p { color: var(--ink-2); font-size: 16px; margin: 0; }

.brands-section { padding: 54px 0; }
.brands-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 24px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brand-card { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .14s, transform .14s; }
.brand-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.brand-card .bl { position: relative; width: 40px; height: 40px; border-radius: 8px; background: #fff; flex: 0 0 auto; overflow: hidden; }
.brand-card .bl img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 4px; background: #fff; }
.brand-card .bl i { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--display); font-style: normal; font-weight: 700; font-size: 17px; color: #0a0d12; }
.brand-card .bl.noimg { background: var(--accent-soft); }
.brand-card .bl.noimg i { display: grid; color: var(--accent-ink); }
.brand-card .bn { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- Supported solutions showcase ---------------- */
.sol-section { padding: 56px 0; }
.sol-section .section-head { max-width: 620px; margin: 0 auto 34px; text-align: center; }
.sol-section .section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--ink-2); font-size: 16px; margin: 10px 0 0; }
.sol-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sol-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; padding: 22px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; color: inherit; transition: border-color .16s, transform .16s, box-shadow .16s; }
.sol-tile:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--sh-3); }
.sol-ic { position: relative; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); transition: background .16s, color .16s, transform .16s, box-shadow .16s; }
.sol-ic svg { width: 25px; height: 25px; }
.sol-tile:hover .sol-ic { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0d12; transform: scale(1.07); box-shadow: 0 8px 22px -7px var(--accent-glow); }
.sol-name { font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: -.01em; color: var(--ink-2); transition: color .16s; }
.sol-tile:hover .sol-name { color: var(--ink); }

/* ================= SEO solution article + hub pages ================= */
.sol-article { padding: 26px 0 70px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin: 6px 0 26px; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--accent-ink); }
.crumb .crumb-cur { color: var(--ink); font-weight: 600; }

.sol-doc { max-width: 820px; }
.sol-doc-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.sol-doc-ic { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0d12; box-shadow: 0 10px 26px -10px var(--accent-glow); }
.sol-doc-ic svg { width: 30px; height: 30px; }
.sol-doc-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 12px; }
.sol-lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.sol-readtime { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; }
.sol-readtime svg { width: 14px; height: 14px; }

.sol-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 26px; }
.sol-fact { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.sol-fact .sf-label { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.sol-fact .sf-value { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }

.sol-cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border: 1px solid var(--accent-line); border-radius: var(--r-lg); background: var(--accent-soft); margin: 0 0 30px; }
.sol-cta-inline .microcopy { font-size: 13px; color: var(--ink-2); }

.sol-body { }
.sol-sec { margin: 0 0 26px; }
.sol-sec h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin: 0 0 12px; color: var(--ink); }
.sol-sec h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 20px 0 8px; color: var(--ink); }
.sol-body p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 13px; }
.sol-body ul, .sol-body ol { margin: 0 0 14px; padding-left: 22px; }
.sol-body li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 7px; }
.sol-body strong { color: var(--ink); font-weight: 600; }
.sol-body a { color: var(--accent-ink); }

.sol-faq { max-width: 820px; margin: 38px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.sol-faq > h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin: 0 0 16px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin: 0 0 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 15px 18px; font-family: var(--display); font-weight: 600; font-size: 15.5px; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--accent-ink); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 18px 16px; }
.faq-item .faq-a p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 10px; }

.sol-related { max-width: 1000px; margin: 44px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.sol-related > h2 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin: 0 0 16px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rel-card { display: flex; align-items: center; gap: 11px; padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .16s, transform .16s; }
.rel-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.rel-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.rel-ic svg { width: 19px; height: 19px; }
.rel-name { flex: 1; min-width: 0; font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-arrow { width: 16px; height: 16px; color: var(--ink-3); flex: 0 0 auto; }

.sol-final-cta { max-width: 820px; margin: 44px 0 0; padding: 32px; text-align: center; border: 1px solid var(--accent-line); border-radius: var(--r-xl); background: radial-gradient(600px 200px at 50% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.sol-final-cta h2 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; margin: 0 0 8px; }
.sol-final-cta p { font-size: 15.5px; color: var(--ink-2); max-width: 52ch; margin: 0 auto 20px; line-height: 1.6; }
.btn.lg { padding: 14px 26px; font-size: 15.5px; }

/* Hub grid (solutions.php) */
.sol-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.hub-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; color: inherit; transition: border-color .16s, transform .16s, box-shadow .16s; }
.hub-card:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--sh-3); }
.hub-card .hc-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); transition: background .16s, color .16s; }
.hub-card:hover .hc-ic { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0d12; }
.hub-card .hc-ic svg { width: 23px; height: 23px; }
.hub-card h3 { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; margin: 2px 0 5px; color: var(--ink); }
.hub-card p { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin: 0; }

/* ---------------- Fiyat listesi (pricing.php) ---------------- */
.price-cta-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 4px 0 26px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.price-cta-bar .pcb-note { display: flex; align-items: flex-start; gap: 9px; margin: 0; flex: 1 1 340px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.price-cta-bar .pcb-note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--accent-ink); }
.price-cta-bar .btn { flex: 0 0 auto; }

/* Çözüm kartları — kredi paketlerinden AYRIŞSIN diye soğuk mavi tonda
   (turuncu accent sayfada tek "eylem" rengi olarak kalsın). */
.sol-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 4px; }
.sp-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); text-decoration: none; color: inherit; transition: transform .16s, border-color .16s, box-shadow .16s; }
.sp-card:hover { transform: translateY(-4px); border-color: var(--cool-line); box-shadow: 0 12px 26px -12px var(--cool-glow), var(--sh-2); }
.sp-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--cool-soft); color: var(--cool-ink); transition: background .16s, color .16s, transform .16s; }
.sp-ic svg { width: 24px; height: 24px; }
.sp-card:hover .sp-ic { background: linear-gradient(135deg, var(--cool), var(--cool-2)); color: #06121c; transform: scale(1.06); }
.sp-name { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.sp-credit { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-top: auto; padding-top: 4px; font-family: var(--mono); color: var(--cool-ink); }
.sp-credit svg { width: 15px; height: 15px; align-self: center; color: var(--cool); }
.sp-credit b { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.sp-credit small { font-family: var(--sans); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.sp-go { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--cool-ink); opacity: 0; transform: translateY(-3px); transition: opacity .16s, transform .16s; }
.sp-go svg { width: 13px; height: 13px; }
.sp-card:hover .sp-go { opacity: 1; transform: none; }

.price-packages .credit-grid { margin-top: 4px; }
.pcb-hint { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.step .num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.step .ic { width: 42px; height: 42px; margin: 14px 0 15px; border-radius: 11px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); }
.step .ic svg { width: 21px; height: 21px; }
.step h3 { font-family: var(--display); font-size: 18px; margin: 0 0 8px; letter-spacing: -.01em; color: var(--ink); }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.cap .ic { color: var(--accent); }
.cap .ic svg { width: 21px; height: 21px; }
.cap h4 { font-family: var(--display); font-size: 15.5px; margin: 13px 0 5px; letter-spacing: -.01em; color: var(--ink); }
.cap p { margin: 0; font-size: 13.5px; color: var(--ink-3); }

/* ---------------- Flow / cards ---------------- */
.flow { width: var(--wrap); margin: 24px auto 0; display: grid; gap: 16px; scroll-margin-top: 84px; }
.flow[hidden] { display: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-family: var(--display); margin: 0; font-size: 16.5px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.card-head h2 svg { width: 18px; height: 18px; color: var(--accent); }

.filebar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.filebar .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; flex: 0 0 auto; }
.filebar .fi svg { width: 19px; height: 19px; }
.filebar .meta { min-width: 0; flex: 1; }
.filebar .meta strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filebar .meta span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

.progress { margin-top: 14px; }
.progress .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; }
.progress .row strong { font-family: var(--mono); }
.track { height: 7px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.track > i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .2s; }

.detect-banner { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid var(--accent-line); margin-bottom: 18px; }
.detect-banner.warn { background: var(--warn-soft); border-color: rgba(245, 166, 35, .35); }
.detect-banner .bi { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); color: var(--accent); flex: 0 0 auto; box-shadow: var(--sh-1); }
.detect-banner.warn .bi { color: var(--warn); }
.detect-banner .bi svg { width: 23px; height: 23px; }
.detect-banner strong { font-family: var(--display); display: block; font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.detect-banner span { font-size: 13px; color: var(--ink-2); }

.detect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.detect-grid.two { grid-template-columns: 1fr 1fr; }
.detect-grid.two .cell.wide { grid-column: 1 / -1; }
.detect-grid .cell { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.detect-grid .cell small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 6px; }
.detect-grid .cell strong { font-family: var(--mono); font-size: 13.5px; font-weight: 500; word-break: break-word; color: var(--ink); }

.choose-hint { font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: .14s; }
.brand-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.brand-chip img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; background: #fff; flex: 0 0 auto; }
.brand-chip small { font-family: var(--mono); font-weight: 500; color: var(--ink-3); font-size: 12px; }
.manual-toggle { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.manual-toggle a { color: var(--accent-ink); font-weight: 600; cursor: pointer; }
.manual-pick { display: none; gap: 12px; margin-top: 14px; }
.manual-pick.show { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; }

.field { display: grid; gap: 6px; }
.field span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field select, .field input, .field textarea { font: inherit; font-size: 14px; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 78px; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field select option { background: var(--surface-2); color: var(--ink); }

.scan-stat { display: flex; gap: 28px; }
.scan-stat .s strong { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.scan-stat .s span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.scanlist { display: grid; gap: 8px; margin-top: 16px; max-height: 360px; overflow: auto; padding-right: 4px; }
.scan-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; }
.scan-row .name { font-weight: 500; }
.scan-row .st { font-family: var(--mono); font-size: 11.5px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); }
.scan-row .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.scan-row.scanning { border-color: var(--accent-line); background: var(--accent-soft); }
.scan-row.scanning .st { color: var(--accent-ink); }
.scan-row.scanning .st::before { background: var(--accent); animation: pulse 1s infinite; }
.scan-row.found { border-color: rgba(46, 204, 113, .4); background: var(--ok-soft); }
.scan-row.found .st { color: var(--ok); }
.scan-row.found .st::before { background: var(--ok); }
.scan-row.none { opacity: .45; }
.scan-row.error .st { color: var(--danger); }
.scan-row.error .st::before { background: var(--danger); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.found-grid { display: grid; gap: 10px; }
.found-item { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); cursor: pointer; transition: .12s; }
.found-item:hover { border-color: var(--accent-line); }
.found-item input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.found-item .txt { flex: 1; min-width: 0; }
.found-item .txt strong { font-family: var(--display); display: block; font-size: 15px; color: var(--ink); }
.found-item .txt span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.found-item .badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.found-item .badge.off { background: var(--warn-soft); color: var(--warn); }
.found-item .cost { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.found-item.static { cursor: default; }
.found-item.static:hover { border-color: var(--line); }
.found-item .tick { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); flex: 0 0 auto; }
.found-item .tick svg { width: 17px; height: 17px; }

.actions-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.actions-row .left { display: flex; gap: 10px; }
.hint { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; min-height: 18px; }
.hint.ok { color: var(--ok); font-weight: 600; }
.hint.err { color: var(--danger); font-weight: 600; }

.notice { padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; margin-bottom: 14px; }
.notice.danger { background: var(--danger-soft); color: #ffb3b5; border: 1px solid rgba(255, 90, 95, .35); }
.notice.soft { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.notice.ok-notice { background: var(--ok-soft); color: #7ee2a8; border: 1px solid rgba(46, 204, 113, .35); display: flex; align-items: center; gap: 9px; }
.notice.ok-notice svg { width: 17px; height: 17px; }

/* ---------------- Dashboard / detail ---------------- */
.dash-head { padding: 40px 0 6px; }
.dash-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.03em; margin: 0; color: var(--ink); }
.dash-sub { color: var(--ink-2); font-size: 15.5px; margin: 8px 0 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 4px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.stat .k { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.stat .v { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; line-height: 1; color: var(--ink); }

.dash-card { margin-top: 18px; }
.table-wrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; }
.dtable th { text-align: left; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 0 14px 11px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dtable td { padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.dtable tbody tr:last-child td { border-bottom: none; }
.dtable tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.dtable .fname { font-weight: 600; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtable .sub { font-family: var(--mono); font-size: 12px; color: var(--ink-3); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtable td:last-child { text-align: right; white-space: nowrap; }
.mono-ref { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }

.solchips { display: flex; flex-wrap: wrap; gap: 6px; }
.solchip { font-family: var(--mono); font-size: 11px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; color: var(--ink-2); white-space: nowrap; }

.pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill.new { background: var(--accent-soft); color: var(--accent-ink); }
.pill.processing { background: var(--warn-soft); color: var(--warn); }
.pill.completed { background: var(--ok-soft); color: var(--ok); }
.pill.rejected { background: var(--danger-soft); color: #ffb3b5; }
.pill.cancelled { background: var(--surface-2); color: var(--ink-3); }
.pill.read { background: var(--surface-2); color: var(--ink-2); }
.pill.replied { background: var(--ok-soft); color: var(--ok); }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.empty { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.empty svg { width: 34px; height: 34px; margin-bottom: 10px; color: var(--line-2); }
.empty p { margin: 0; font-size: 14.5px; }

.pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.pgbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 18px; color: var(--ink-2); line-height: 1; }
.pgbtn:hover { border-color: var(--accent); color: var(--accent-ink); }
.pgbtn.off { opacity: .4; pointer-events: none; }
.pgnum { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); min-width: 54px; text-align: center; }

.detail { padding-top: 8px; }
.detail .auth-back { margin: 22px 0 4px; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 6px; }
.note-box { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.meta-list { margin: 0; display: grid; gap: 2px; }
.meta-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.meta-list > div:last-child { border-bottom: none; }
.meta-list dt { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.meta-list dd { margin: 0; text-align: right; color: var(--ink); }
.meta-list dd.mono { font-family: var(--mono); font-size: 13px; }
.meta-list dd.hash { font-size: 11px; color: var(--ink-3); word-break: break-all; max-width: 60%; }

.title-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.title-actions form { margin: 0; }

/* admin */
.ftabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.ftab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ftab:hover { border-color: var(--accent); color: var(--accent-ink); }
.ftab.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.ftab span { font-family: var(--mono); font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .1); padding: 1px 7px; border-radius: 999px; }
.ftab.on span { background: rgba(255, 255, 255, .25); }
.clip { width: 14px; height: 14px; color: var(--ink-3); vertical-align: middle; margin-left: 6px; }
/* Admin liste: okunmamış mesaj göstergesi */
.msg-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; white-space: nowrap; }
.msg-badge svg { width: 13px; height: 13px; }
.dtable tr.has-unread td { background: rgba(255, 77, 46, .05); }
.dtable tr.has-unread td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.proc-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font-size: 13.5px; }
.proc-row > i { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.proc-row > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.mini-head { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-head.first { margin-top: 0; padding-top: 0; border-top: none; }
.credit-cell { display: flex; align-items: center; gap: 10px; }
.cbal { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--accent-ink); white-space: nowrap; }
.adjform { display: flex; align-items: center; gap: 6px; margin: 0; }
.adjinput { width: 80px; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.adjinput:focus { outline: none; border-color: var(--accent); }
.admin-search { display: flex; gap: 8px; margin: 8px 0 2px; }
.admin-search input { flex: 1; font: inherit; font-size: 14px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); }
.admin-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.danger-card { margin-top: 18px; border-color: rgba(255, 90, 95, .3); }
.danger-form { display: grid; gap: 14px; max-width: 420px; }
.filein { font: inherit; font-size: 13px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: var(--r-md); background: var(--surface-2); width: 100%; cursor: pointer; color: var(--ink); }
.filein::file-selector-button { font: inherit; font-weight: 600; font-size: 12.5px; margin-right: 10px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--elevated); color: var(--ink); cursor: pointer; }

/* ---------------- Credits & payment ---------------- */
.credits-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 700; font-family: var(--mono); color: var(--ink); }
.credits-chip svg { width: 15px; height: 15px; color: var(--accent); }
.credits-chip:hover, .credits-chip.on { border-color: var(--accent); color: var(--accent-ink); }

.balance-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, var(--surface), #191f2b); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 26px; margin: 22px 0 6px; box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.balance-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.balance-card .bl-k { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.balance-card .bl-v { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--ink); }
.balance-card .bl-v svg { width: 28px; height: 28px; color: var(--accent); }
.balance-card .bl-v small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.balance-card .bl-note { font-size: 13px; color: var(--ink-3); margin: 0; }

.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.credit-card { position: relative; text-align: center; padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); transition: transform .14s, border-color .14s; }
.credit-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.credit-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-line), var(--sh-2); }
.credit-card .cc-tag { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.credit-card .cc-credits { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.credit-card .cc-unit { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 4px; }
.credit-card .cc-bonus { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 10px; border-radius: 999px; }
.credit-card .cc-price { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 16px 0; color: var(--ink); }

.checkout-grid { grid-template-columns: 1.3fr 1fr; }
.card-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.secure-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; }
.secure-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--ok); }
.sum-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-row.muted, .sum-row.muted strong { color: var(--ink-3); }
.sum-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 6px; font-size: 15px; }
.sum-total strong { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); }
.paytr-badge { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.paytr-badge svg { width: 16px; height: 16px; color: var(--ok); }
/* Ödeme modalı (iframe -> xremover.net pay.php) */
.pay-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.pay-modal[hidden] { display: none; }
.pay-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 10, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pay-modal-box { position: relative; z-index: 1; width: min(580px, 100%); }
.pay-modal-x { position: absolute; top: -12px; right: -8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-2); }
.pay-modal-x svg { width: 20px; height: 20px; }
.pay-frame { width: 100%; height: 80vh; max-height: 780px; border: 0; border-radius: var(--r-xl); background: var(--bg); box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .7); }
.pay-fullpage { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.pay-fullpage:hover { color: var(--accent-ink); }
/* pay.php embed modu (iframe içinde tek kolon) */
.detail.embed { padding-top: 18px; }
.detail.embed .checkout-grid { grid-template-columns: 1fr; }
.pay-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; }
.pay-secure-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); }
.pay-secure-badge svg { width: 15px; height: 15px; color: var(--ok); }
.field-hint { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12px; color: var(--ink-3); }
.field-hint svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--accent); }
.sum-note { padding: 6px 0 0; font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.status-locked { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 6px 0; }

/* Talep mesajlaşma (chat) */
.msg-card { margin-top: 18px; }
.msg-card .sub { margin: -6px 0 12px; }
.msg-thread { display: flex; flex-direction: column; gap: 12px; max-height: 460px; overflow-y: auto; padding: 4px 2px 6px; }
.msg-row { display: flex; }
.msg-row.me { justify-content: flex-end; }
.msg-row.them { justify-content: flex-start; }
.msg-bubble { max-width: 78%; border: 1px solid var(--line); border-radius: 14px; padding: 9px 13px; background: rgba(255, 255, 255, .02); }
.msg-row.me .msg-bubble { background: var(--accent-soft); border-color: var(--accent-line); }
.msg-meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 3px; }
.msg-author { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.msg-row.me .msg-author { color: var(--accent-ink); }
.msg-time { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
.msg-body { font-size: 14px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.msg-empty { text-align: center; color: var(--ink-3); padding: 22px 0; }
.msg-empty svg { width: 28px; height: 28px; opacity: .5; }
.msg-empty p { margin: 8px 0 0; font-size: 13.5px; }
.msg-form { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.msg-form textarea { display: block; box-sizing: border-box; width: 100%; font: inherit; font-size: 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink); resize: vertical; min-height: 110px; }
.msg-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.msg-form .btn { flex: 0 0 auto; }
.msg-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* yanıtlanan mesaj alıntısı (balon içinde) */
.msg-quote { display: flex; flex-direction: column; gap: 1px; margin-bottom: 6px; padding: 6px 10px; border-left: 2px solid var(--accent); border-radius: 6px; background: rgba(255, 255, 255, .04); font-size: 12.5px; }
.msg-quote .mq-author { font-weight: 700; color: var(--accent-ink); font-size: 11.5px; }
.msg-quote .mq-text { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* mesaj eki linki */
.msg-attach { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--accent-ink); word-break: break-all; }
.msg-attach:hover { color: var(--accent); }
.msg-attach svg { width: 15px; height: 15px; flex: 0 0 auto; }
/* bubble'daki yanıtla butonu */
.msg-reply-btn { margin-left: auto; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; padding: 2px; border-radius: 5px; display: inline-flex; }
.msg-reply-btn:hover { color: var(--accent-ink); background: rgba(255, 255, 255, .05); }
.msg-reply-btn svg { width: 14px; height: 14px; }
/* form: yanıt önizleme + ek seç */
.msg-reply-preview { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--accent-line); border-radius: var(--r-md); background: var(--accent-soft); font-size: 13px; color: var(--ink-2); }
.msg-reply-preview[hidden] { display: none; }
.msg-reply-preview svg { width: 15px; height: 15px; color: var(--accent-ink); flex: 0 0 auto; }
.msg-reply-preview .mrp-text { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrp-cancel { border: 0; background: transparent; color: var(--ink-3); cursor: pointer; display: inline-flex; padding: 2px; }
.mrp-cancel:hover { color: var(--danger); }
.msg-attach-input { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.msg-attach-input:hover { color: var(--accent-ink); }
.msg-attach-input svg { width: 16px; height: 16px; }
.msg-attach-input input[type=file] { display: none; }
.maf-label { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Topbar okunmamış mesaj rozeti */
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }
.lock-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.lock-hint svg { width: 14px; height: 14px; }

.pay-ic { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; }
.pay-ic svg { width: 34px; height: 34px; }
.pay-ic.ok { background: var(--ok-soft); color: var(--ok); }
.pay-ic.fail { background: var(--danger-soft); color: var(--danger); }
.pay-ic.warn { background: var(--warn-soft); color: var(--warn); }
.pay-ic.proc { background: var(--accent-soft); color: var(--accent); }
.pay-ic.proc svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-balance { font-family: var(--mono); font-size: 14px; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 20px; }
.pay-balance svg { width: 16px; height: 16px; }
.pay-charged { font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); margin: 4px 0 0; }
.amt-pos { color: var(--ok); font-family: var(--mono); }
.amt-neg { color: var(--danger); font-family: var(--mono); }
.hist-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 14px 0 0; }
.hist-link:hover { color: var(--accent-ink); }
.hist-link svg { width: 16px; height: 16px; }

/* ---------------- Footer ---------------- */
.foot { border-top: 1px solid var(--line); margin-top: 48px; background: var(--bg-2); }
.foot-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 30px; padding: 46px 0 34px; }
.legal-note { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; margin: 0 0 22px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface-2); font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.legal-note svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--warn); margin-top: 1px; }
.legal-body h3 { margin-top: 26px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-tagline { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); max-width: 34ch; margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col h4 { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 2px 0 4px; font-weight: 600; }
.foot-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .14s; }
.foot-col a:hover { color: var(--accent-ink); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot .muted { font-size: 12.5px; color: var(--ink-3); }

/* ---------------- Contact form + captcha ---------------- */
.contact-form-wrap { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-form { display: flex; flex-direction: column; gap: 15px; max-width: 620px; margin-top: 6px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cf-field input, .cf-field textarea { width: 100%; padding: 11px 13px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); color: var(--ink); font: inherit; font-size: 14.5px; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cf-field textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { border: 1px solid var(--line-2); border-radius: 10px; display: block; background: #141924; }
.captcha-reload { padding: 9px 11px; }
.captcha-row input { flex: 1; min-width: 120px; letter-spacing: .25em; font-family: var(--mono); text-transform: uppercase; }

/* ---------------- Admin contact messages ---------------- */
.cmsg-list { display: flex; flex-direction: column; gap: 14px; }
.cmsg { padding: 18px 20px; }
.cmsg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cmsg-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmsg-name { font-family: var(--display); font-weight: 600; font-size: 15.5px; color: var(--ink); }
.cmsg-mail { font-size: 13px; color: var(--accent-ink); text-decoration: none; }
.cmsg-mail:hover { text-decoration: underline; }
.cmsg-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.cmsg-date { font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
.cmsg-lang { font-size: 11px; font-weight: 700; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.cmsg-subject { margin: 13px 0 4px; font-size: 14.5px; color: var(--ink); }
.cmsg-body { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); white-space: normal; }
.cmsg-reply-shown { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0; }
.cmsg-reply-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.cmsg-reply-label svg { width: 14px; height: 14px; }
.cmsg-reply-shown > div { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cmsg-actions { display: flex; align-items: flex-end; gap: 12px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cmsg-reply-form { flex: 1; min-width: 240px; display: flex; gap: 10px; align-items: flex-end; }
.cmsg-reply-form textarea { flex: 1; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); color: var(--ink); font: inherit; font-size: 14px; resize: vertical; min-height: 42px; }
.cmsg-reply-form textarea:focus { outline: none; border-color: var(--accent); }
.btn.danger-btn:hover { border-color: var(--danger); color: #ffb3b5; }

/* ---------------- Auth ---------------- */
.auth-body { display: grid; place-items: center; min-height: 100vh; padding: 30px 18px; }
.auth-card { width: min(430px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 34px 30px; position: relative; overflow: hidden; }
.auth-card.auth-wide { width: min(520px, 100%); padding: 40px 44px; }
/* Ferah auth alanları (Sign in / Sign up) */
.auth-wide .auth-form { gap: 18px; }
.auth-wide .field { gap: 8px; }
.auth-wide .field span { font-size: 13px; }
.auth-wide .field input, .auth-wide .field select { padding: 13px 15px; font-size: 15px; border-radius: var(--r-lg); }
.auth-wide .btn.primary.wide { padding: 14px; font-size: 15px; margin-top: 4px; }
.auth-wide .auth-google { padding: 12px; margin-bottom: 18px; }
.auth-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent); }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.auth-top .logo { font-size: 19px; }
.auth-card h1 { font-family: var(--display); margin: 0 0 6px; font-size: 25px; letter-spacing: -.025em; color: var(--ink); }
.auth-card .muted { color: var(--ink-2); font-size: 14.5px; margin: 0 0 22px; }
.auth-form { display: grid; gap: 14px; }
.auth-google { width: 100%; margin-bottom: 16px; }
.forgot-row { text-align: right; margin-top: -4px; }
.forgot-row a { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.forgot-row a:hover { color: var(--accent-ink); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; margin: 4px 0 16px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.auth-switch a { color: var(--accent-ink); font-weight: 600; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin-top: 18px; }
.auth-back svg { width: 15px; height: 15px; }

/* ---------------- Toast ---------------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--elevated); color: var(--ink); padding: 12px 20px; border-radius: 11px; font-size: 14px; font-weight: 500; box-shadow: var(--sh-3); z-index: 90; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-2); animation: toastin .2s; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.toast.success::before { background: var(--ok); }
.toast.error::before { background: var(--danger); }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(12px); animation: reveal .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.reveal.d1 { animation-delay: .05s; } .reveal.d2 { animation-delay: .12s; } .reveal.d3 { animation-delay: .19s; } .reveal.d4 { animation-delay: .26s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
    .caps { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .sol-grid { grid-template-columns: repeat(4, 1fr); }
    .sol-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .rel-grid { grid-template-columns: repeat(2, 1fr); }
    .credit-grid { grid-template-columns: repeat(2, 1fr); }
    .sol-price-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .detect-grid { grid-template-columns: 1fr 1fr; }
    .manual-pick.show { grid-template-columns: 1fr; }
    .foot .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
    .topbar .wrap, body.data .topbar .wrap, .wrap.wide { width: 92vw; }
    /* Mobil topbar: satır sarması ile taşmayı önle (dil alanı sağa kaydırmasın) */
    .topbar .wrap { flex-wrap: wrap; height: auto; min-height: 60px; padding: 9px 0; column-gap: 12px; row-gap: 9px; }
    .topnav { flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px 10px; min-width: 0; }
    .lang-switch { flex-wrap: wrap; }
    .navlink.on::after { display: none; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .sol-grid { grid-template-columns: repeat(3, 1fr); }
    .sol-hub-grid { grid-template-columns: 1fr; }
    .sol-facts { grid-template-columns: repeat(2, 1fr); }
    .rel-grid { grid-template-columns: 1fr; }
    .sol-doc-head { flex-direction: column; gap: 14px; }
    .foot-main { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .foot-brand { grid-column: 1 / -1; }
    .credit-grid { grid-template-columns: 1fr; }
    .card-row { grid-template-columns: 1fr 1fr; }
    .price-cta-bar { flex-direction: column; align-items: stretch; }
    .price-cta-bar .btn { justify-content: center; }
    .sol-price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    /* Çok dar ekran: dil değiştirici + üye çipi tam satıra yayılabilsin */
    .topnav { justify-content: space-between; }
    .lang-switch { font-size: 11px; }
    .lang-switch a { padding: 4px 6px; }
    .user-chip { max-width: 100%; }
    .user-chip, .credits-chip { font-size: 13px; }
    .sol-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}
