/* TransferLE public shell — pill nav on dark canvas */

.public-body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0a0a0a url('/bg.png') no-repeat center center fixed;
    background-size: cover;
}

.public-bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.82);
    z-index: 0;
    pointer-events: none;
}

.site-shell {
    position: relative;
    z-index: 10;
}

/* Header */
.public-site-header {
    position: relative;
    z-index: 20;
}

/* Mobil üst bar — minimal white header */
.mobile-top-bar {
    position: sticky;
    top: 0;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.mobile-nav-backdrop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-drawer {
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.mobile-nav-drawer.is-open {
    transform: translateX(0);
}

body.mobile-nav-open {
    overflow: hidden;
}

.mobile-drawer-link {
    display: block;
    padding: 0.85rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-drawer-link:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.mobile-drawer-link.is-active {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

@media (min-width: 1024px) {
    .mobile-nav-backdrop,
    .mobile-nav-drawer {
        display: none !important;
    }

    body.mobile-nav-open {
        overflow: auto;
    }
}

.nav-pill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.125rem 0.5rem;
    background: #ffffff;
    border-radius: 9999px;
    padding: 0.35rem 0.65rem 0.35rem 0.85rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.nav-pill a {
    color: #1e293b;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    border-radius: 9999px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.nav-pill a:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.nav-pill a.is-active {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.auth-pill {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #ffffff;
    border-radius: 9999px;
    padding: 0.3rem 0.3rem 0.3rem 0.65rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.auth-pill .auth-link {
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.auth-pill .auth-link:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.btn-kaydol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-kaydol:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: min(100%, 280px);
}

.user-chip .name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Footer */
.public-site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.public-site-footer a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8125rem;
    transition: color 0.15s ease;
}

.public-site-footer a:hover {
    color: #fff;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.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;
}

/* Corporate / legal content cards */
.corp-article {
    background: rgba(255, 255, 255, 0.97);
    color: #1e293b;
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

@media (min-width: 640px) {
    .corp-article {
        padding: 2.5rem 2.75rem;
    }
}

.corp-article h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .corp-article h1 {
        font-size: 2.25rem;
    }
}

.corp-article .lead {
    font-size: 1.05rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.corp-article h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.corp-article p,
.corp-article li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
}

.corp-article ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.75rem 0;
}

.corp-article a {
    color: #2563eb;
    font-weight: 600;
}

.corp-article a:hover {
    text-decoration: underline;
}

.blog-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.2);
}

.blog-card h2 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.blog-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.blog-card .meta {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(96, 165, 250, 0.95);
    margin-bottom: 0.35rem;
}
