:root {
    --bg: #0b1220;
    --bg-soft: #111a2e;
    --panel: #16203a;
    --panel-2: #1c2846;
    --line: #26334f;
    --text: #e8eefc;
    --muted: #93a3c4;
    --accent: #3b82f6;
    --accent-strong: #2563eb;
    --ok: #22c55e;
    --warn: #f59e0b;
    --bad: #ef4444;
    --radius: 14px;
    --shell: 1140px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.muted { color: var(--muted); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }

/* ---------- ust bar ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 18, 32, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 66px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -.01em;
}

.brand-sm { font-size: 16px; }

.topnav {
    display: flex;
    gap: 22px;
    margin-inline-start: 18px;
    font-size: 15px;
    color: var(--muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
}

.inline-form { display: inline; margin: 0; }

/* ---------- dil secici ---------- */

.langpick { position: relative; }

.langpick > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    user-select: none;
}

.langpick > summary::-webkit-details-marker { display: none; }
.langpick > summary:hover { color: var(--text); border-color: #33456b; }

.langpick-code { font-weight: 650; letter-spacing: .04em; }

.caret {
    width: 0; height: 0;
    border-inline-start: 4px solid transparent;
    border-inline-end: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.langpick-menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    min-width: 190px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.langpick-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--muted);
}

.langpick-menu a:hover { background: var(--panel-2); color: var(--text); }
.langpick-menu a.is-active { color: var(--accent); }
.langpick-menu .langpick-code { min-width: 26px; }

/* ---------- dugmeler ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 550;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s, color .15s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: #33456b; }

.btn-lg { padding: 13px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */

.hero {
    padding: 86px 0 70px;
    background:
        radial-gradient(900px 420px at 50% -140px, rgba(59, 130, 246, .22), transparent 70%),
        linear-gradient(180deg, var(--bg), var(--bg-soft));
    text-align: center;
}

.hero p.lead {
    max-width: 660px;
    margin: 0 auto 26px;
    font-size: 18px;
    color: var(--muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(59, 130, 246, .1);
    color: #bfd4ff;
    font-size: 13.5px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- bolumler ---------- */

section { padding: 68px 0; }
section.alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head p { color: var(--muted); margin: 0; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.card-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(59, 130, 246, .14);
    margin-bottom: 14px;
}

.steps { counter-reset: step; }

.step-no {
    display: inline-grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ---------- fiyat ---------- */

.price {
    font-size: 34px;
    font-weight: 700;
    margin: 6px 0 2px;
}

.price small { font-size: 15px; font-weight: 400; color: var(--muted); }

.plan ul { list-style: none; padding: 0; margin: 18px 0; }
.plan li { padding: 6px 0; color: var(--muted); font-size: 15px; display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(59, 130, 246, .35); }

/* ---------- formlar ---------- */

.auth-wrap {
    max-width: 430px;
    margin: 58px auto 84px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
}

.auth-wrap h1 { font-size: 26px; text-align: center; }
.auth-wrap > p.muted { text-align: center; margin-top: 0; font-size: 15px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }

.field input {
    width: 100%;
    padding: 11px 13px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
}

.field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 13px;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.providers { display: grid; gap: 9px; }

.provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-2);
    font-size: 15px;
    color: var(--text);
}

.provider:hover { border-color: #3d5580; }
.provider img { width: 18px; height: 18px; }

.alert {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    margin-bottom: 16px;
    border: 1px solid;
}

.alert-bad { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .4); color: #fecaca; }
.alert-ok { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .4); color: #bbf7d0; }

/* ---------- panel ---------- */

.panel-head { padding: 34px 0 8px; }
.panel-head h1 { font-size: 27px; margin-bottom: 2px; }

.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
    overflow-x: auto;
}

.tabs a {
    padding: 11px 15px;
    color: var(--muted);
    font-size: 15px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 26px; }

.stat {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
}

.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 25px; font-weight: 660; margin-top: 2px; }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

thead th {
    text-align: start;
    padding: 10px 12px;
    color: var(--muted);
    font-weight: 550;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--line);
}

tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
tbody tr:hover { background: rgba(255, 255, 255, .02); }

.table-wrap {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12.5px;
    border: 1px solid;
}

.tag-ok { color: #86efac; border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .1); }
.tag-warn { color: #fcd34d; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1); }
.tag-bad { color: #fca5a5; border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .1); }
.tag-mute { color: var(--muted); border-color: var(--line); }

.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input[type=search] {
    flex: 1;
    min-width: 220px;
    padding: 10px 13px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
}
.toolbar input[type=search]:focus { outline: none; border-color: var(--accent); }

.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 22px; color: var(--muted); font-size: 14px; }

.empty { padding: 52px 20px; text-align: center; color: var(--muted); }

.cta {
    text-align: center;
    padding: 66px 0;
    background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

/* ---------- alt bilgi ---------- */

.footer { border-top: 1px solid var(--line); padding: 40px 0 26px; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-inner p { margin: 8px 0 0; font-size: 14.5px; max-width: 340px; }
.footer-links { display: flex; gap: 20px; color: var(--muted); font-size: 14.5px; height: fit-content; }
.footer-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }

@media (max-width: 860px) {
    .topnav { display: none; }
    h1 { font-size: 33px; }
    h2 { font-size: 25px; }
    .hero { padding: 58px 0 48px; }
}
