/* =========================================================================
   OnyTransfer — Tasarım Sistemi (app.css)
   Premium, sade, kurumsal. Beyaz + lacivert ağırlıklı, az vurgu.
   ========================================================================= */

/* ---- Tasarım Token'ları ---- */
:root {
    /* Renkler */
    --ink:            #16384F;   /* Ana / mürekkep */
    --ink-deep:       #0E2533;   /* Koyu lacivert (hover, koyu bölüm) */
    --accent:         #2E9BD6;   /* Vurgu — gök mavisi (CTA, link, ilerleme) */
    --accent-deep:    #2484bb;
    --success:        #2BB673;
    --warning:        #F2A900;
    --danger:         #E04F5F;
    --surface:        #FFFFFF;   /* Yüzey */
    --canvas:         #F6F8FB;   /* Tuval / arka plan */
    --border:         #E6EBF1;   /* Kenarlık */
    --text:           #334155;   /* Gövde metni */
    --muted:          #64748B;   /* Soluk metin */

    /* Degradeler */
    --grad-premium:   linear-gradient(135deg, #16384F 0%, #2E9BD6 100%);
    --grad-hero:      radial-gradient(1200px 600px at 80% -10%, rgba(46,155,214,.10), transparent 60%);

    /* Tipografi */
    --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Yarıçap */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Gölge */
    --sh-sm: 0 1px 2px rgba(16,37,51,.06), 0 1px 3px rgba(16,37,51,.05);
    --sh-md: 0 6px 20px rgba(16,37,51,.08);
    --sh-lg: 0 18px 50px rgba(16,37,51,.14);
    --sh-accent: 0 10px 30px rgba(46,155,214,.28);

    /* Düzen */
    --container: 1160px;
    --gutter: 24px;
    --header-h: 74px;

    /* Geçiş */
    --t: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset & Temel ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: clip;          /* mobilde yatay taşma güvenlik ağı (sticky'yi bozmaz) */
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-deep); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(46,155,214,.45); outline-offset: 2px; border-radius: 4px; }

/* ---- Düzen yardımcıları ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { min-height: 60vh; }
.text-accent { color: var(--accent); }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600;
    font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent); margin-bottom: .75rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head__lead { color: var(--muted); font-size: 1.1rem; }

/* ---- Butonlar ---- */
.btn {
    --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1;
    padding: 13px 22px; border-radius: var(--r-pill);
    background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    white-space: nowrap; text-align: center;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; box-shadow: var(--sh-accent); }
.btn--primary:hover { --btn-bg: var(--accent-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--border); }
.btn--ghost:hover { --btn-bg: var(--canvas); --btn-fg: var(--ink); border-color: #d4dde8; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--sh-md); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--sh-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__icon { height: 30px; width: auto; display: block; }
.brand__word { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -.015em; line-height: 1; }
.brand:hover .brand__word { color: var(--ink); }
.brand--light .brand__word { color: #fff; }
.brand--light .brand__icon { filter: brightness(0) invert(1); }
.brand--lg .brand__icon { height: 40px; }
.brand--lg .brand__word { font-size: 1.7rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav__link {
    font-family: var(--font-head); font-weight: 500; color: var(--ink);
    padding: 9px 14px; border-radius: var(--r-pill); transition: background var(--t), color var(--t);
}
.site-nav__link:hover { background: var(--canvas); color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; background: var(--ink); }
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { order: 2; }
.hero__card { order: 1; }
.hero__title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero__features { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.hero__features li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.tick {
    flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(43,182,115,.12); color: var(--success);
    display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Yükleme Kartı ---- */
.upload-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
    box-shadow: var(--sh-lg); overflow: hidden;
}
.upload-card__tabs { display: flex; padding: 8px; gap: 6px; background: var(--canvas); border-bottom: 1px solid var(--border); }
.tab {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted);
    padding: 12px; border: 0; background: transparent; border-radius: var(--r-md); transition: var(--t);
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }
.upload-card__panel { padding: 22px; }
.upload-card__panel[hidden] { display: none; }

.dropzone {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    padding: 34px 20px; border: 2px dashed #cfdae6; border-radius: var(--r-lg);
    background: linear-gradient(180deg, #fbfdff, #f4f8fc); cursor: pointer; transition: var(--t);
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--accent); background: #f0f8fe; }
.dropzone.is-dragover { border-color: var(--accent); background: #e7f4fd; transform: scale(1.01); }
.dropzone__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-premium); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-accent); }
.dropzone__text strong { display: block; color: var(--ink); font-family: var(--font-head); }
.dropzone__text span { color: var(--muted); font-size: .92rem; }
.dropzone__text em { color: var(--accent); font-style: normal; font-weight: 600; }
.dropzone__btn { margin-top: 6px; }

.upload-card__fields { margin-top: 18px; display: grid; gap: 12px; }
.seg { display: flex; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px; }
.seg__btn { flex: 1; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .88rem; padding: 9px; border-radius: var(--r-pill); transition: var(--t); }
.seg__btn.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }
.field-group { display: grid; gap: 10px; }

.input {
    width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
    padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-md);
    background: #fff; transition: border-color var(--t), box-shadow var(--t); resize: vertical;
}
.input::placeholder { color: #97a3b4; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,155,214,.15); }

.upload-card__note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* ---- Dosya İste kapısı ---- */
.request-gate { text-align: center; padding: 18px 12px 8px; }
.request-gate__icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: rgba(46,155,214,.1); color: var(--accent); display: grid; place-items: center; }
.request-gate h3 { font-size: 1.35rem; }
.request-gate p { color: var(--muted); max-width: 38ch; margin-inline: auto; }
.request-gate__actions { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }

/* ---- Güven şeridi ---- */
.trust { padding: 36px 0; border-top: 1px solid var(--border); background: var(--surface); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust__item { text-align: center; }
.trust__num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.trust__label { color: var(--muted); font-size: .9rem; }

/* ---- Fiyatlandırma ---- */
.pricing { padding: clamp(40px, 6vw, 80px) 0; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.plan-card {
    position: relative; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 28px 22px; box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan-card--featured { border-color: var(--accent); box-shadow: var(--sh-lg); }
.plan-card__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--grad-premium); color: #fff; font-family: var(--font-head); font-weight: 600;
    font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill); box-shadow: var(--sh-accent);
}
.plan-card__name { font-size: 1.25rem; margin-bottom: 10px; }
.plan-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }
.plan-card__amount { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--ink); }
.plan-card__period { color: var(--muted); font-size: .9rem; }
.plan-card__desc { color: var(--muted); font-size: .9rem; min-height: 60px; }
.plan-card__features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.plan-card__features li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; color: var(--text); }

.enterprise {
    margin-top: 28px; background: var(--grad-premium); color: #fff; border-radius: var(--r-xl);
    padding: 36px clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.enterprise h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.enterprise p { color: rgba(255,255,255,.86); margin: 0; max-width: 60ch; }

.faq { max-width: 760px; margin: 56px auto 0; }
.faq__title { text-align: center; font-size: 1.8rem; margin-bottom: 24px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 4px 20px; margin-bottom: 12px; }
.faq__item summary { font-family: var(--font-head); font-weight: 600; color: var(--ink); padding: 14px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq__item summary::after { content: '+'; font-size: 1.4rem; color: var(--accent); }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* ---- Durum sayfaları (404/500/yakında) ---- */
.state-page { padding: clamp(56px, 10vw, 120px) 0; }
.state-page__inner { text-align: center; max-width: 540px; margin: 0 auto; }
.state-page__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 14vw, 7rem); line-height: 1; background: var(--grad-premium); -webkit-background-clip: text; background-clip: text; color: transparent; }
.state-page__icon { color: var(--accent); display: flex; justify-content: center; margin-bottom: 16px; }
.state-page h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.state-page p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.debug-box { text-align: left; margin-top: 40px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--danger); border-radius: var(--r-md); padding: 18px; }
.debug-box h2 { color: var(--danger); font-size: 1.1rem; }
.debug-box pre { overflow: auto; font-size: .78rem; background: var(--canvas); padding: 12px; border-radius: 8px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.72); margin-top: 80px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-block: 56px; }
.site-footer__tagline { margin-top: 14px; color: rgba(255,255,255,.6); max-width: 32ch; }
.site-footer__company { display: block; margin-top: 16px; font-style: normal; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.site-footer__company span { display: block; }
.site-footer__company a { color: rgba(255,255,255,.75); }
.site-footer__company a:hover { color: #fff; }
.site-footer__bottom .container { font-size: .8rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer__col a { display: block; color: rgba(255,255,255,.66); padding: 5px 0; font-size: .92rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---- Toast (bildirim) ---- */
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; display: grid; gap: 10px; width: min(92vw, 420px); }
.toast {
    background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--sh-lg);
    font-size: .92rem; display: flex; align-items: center; gap: 10px;
    animation: toast-in .25s ease both;
}
.toast--accent { background: var(--accent); }
.toast--success { background: var(--success); }
.toast--warning { background: var(--warning); color: var(--ink-deep); }
.toast--error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__copy { order: 1; text-align: center; }
    .hero__card { order: 2; max-width: 480px; margin-inline: auto; width: 100%; }
    .hero__features { text-align: left; max-width: 420px; margin-inline: auto; }
    .hero__cta { justify-content: center; }
    .hero__lead { margin-inline: auto; }
    .plan-grid { grid-template-columns: repeat(2, 1fr); }
    .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
        background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px; gap: 6px;
        box-shadow: var(--sh-md); transform: translateY(-130%); transition: transform var(--t); visibility: hidden;
    }
    .site-nav.is-open { transform: translateY(0); visibility: visible; }
    .site-nav__link { padding: 12px 14px; }
    .plan-grid { grid-template-columns: 1fr; }
    .enterprise { flex-direction: column; align-items: flex-start; text-align: left; }
    .request-gate__actions { flex-direction: column; }
    .request-gate__actions .btn { width: 100%; }
}

/* =========================================================================
   Kimlik (auth) sayfaları — iki bölmeli
   ========================================================================= */
.auth-body { background: var(--surface); }
.auth-split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

.auth-brand { background: var(--grad-premium); color: #fff; position: relative; overflow: hidden; }
.auth-brand::after { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 10%, rgba(255,255,255,.12), transparent 60%); }
.auth-brand__inner { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: 48px clamp(32px, 5vw, 72px); }
.auth-brand__logo { align-self: flex-start; }
.auth-brand__copy { margin-top: auto; margin-bottom: auto; }
.auth-brand__copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; max-width: 14ch; }
.auth-brand__copy p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 42ch; }
.auth-brand__features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.auth-brand__features li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); }
.auth-brand__features .tick { background: rgba(255,255,255,.18); color: #fff; }
.auth-brand__foot { color: rgba(255,255,255,.6); font-size: .85rem; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; overflow-y: auto; }
.auth-main__inner { width: 100%; max-width: 420px; }

.auth-form h1 { font-size: 1.9rem; margin-bottom: 6px; }
.auth-form__sub { color: var(--muted); margin-bottom: 24px; }
.auth-form__icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(46,155,214,.1); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.auth-form__row { display: flex; justify-content: flex-end; margin: -6px 0 16px; }
.auth-form__alt { margin-top: 22px; text-align: center; color: var(--muted); }
.auth-form__resend { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; color: var(--muted); font-size: .9rem; }

/* =========================================================================
   Formlar
   ========================================================================= */
.form-field { margin-bottom: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.input--code { text-align: center; font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; letter-spacing: 12px; padding: 14px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted); margin: 6px 0 20px; line-height: 1.5; }
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.form-check a { font-weight: 500; }

.link-muted { color: var(--muted); font-size: .9rem; }
.link-muted:hover { color: var(--accent); }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 600; font-family: var(--font-body); font-size: .9rem; cursor: pointer; padding: 0; text-decoration: underline; }
.nav-logout { display: inline; margin: 0; }

/* =========================================================================
   Uyarı / bildirim kutuları (alert)
   ========================================================================= */
.flash-stack { display: grid; gap: 10px; margin-bottom: 20px; }
.flash-container { padding-top: 22px; }
.flash-container .flash-stack { margin-bottom: 0; }
.alert { padding: 13px 16px; border-radius: var(--r-md); font-size: .92rem; border: 1px solid transparent; display: flex; align-items: flex-start; gap: 8px; }
.alert--success { background: rgba(43,182,115,.1); color: #1c7a4d; border-color: rgba(43,182,115,.25); }
.alert--error { background: rgba(224,79,95,.08); color: #b23344; border-color: rgba(224,79,95,.22); }
.alert--warning { background: rgba(242,169,0,.1); color: #99700a; border-color: rgba(242,169,0,.25); }

/* =========================================================================
   Rozet (badge)
   ========================================================================= */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; font-family: var(--font-head); padding: 4px 10px; border-radius: var(--r-pill); }
.badge--success { background: rgba(43,182,115,.12); color: #1c7a4d; }
.badge--muted { background: var(--canvas); color: var(--muted); }

/* =========================================================================
   Geçici panel (Faz 1)
   ========================================================================= */
.panel-lite { padding: clamp(32px, 5vw, 56px) 0; }
.panel-lite__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.panel-lite__head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.panel-lite__sub { color: var(--muted); margin: 0; }
.panel-lite__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); }
.stat-card__label { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.stat-card__value { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--ink); margin-bottom: 10px; }
.stat-card__value--sm { font-size: 1.05rem; word-break: break-all; }
.stat-card__link { font-size: .85rem; color: var(--accent); font-weight: 500; }
.panel-lite__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--grad-premium); color: #fff; border-radius: var(--r-xl); padding: 28px clamp(24px, 4vw, 40px); }
.panel-lite__cta h3 { color: #fff; margin-bottom: 4px; }
.panel-lite__cta p { color: rgba(255,255,255,.85); margin: 0; }

@media (max-width: 860px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .panel-lite__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}

/* =========================================================================
   Yükleme kartı ekranları (form / verify / progress / success)
   ========================================================================= */
.uc-screen[hidden] { display: none; }
.uc-back { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; padding: 0 0 10px; }
.uc-title { font-size: 1.3rem; text-align: center; margin: 4px 0 6px; }
.uc-sub { color: var(--muted); text-align: center; font-size: .92rem; margin-bottom: 16px; }
.uc-step { display: grid; gap: 12px; }

/* Seçilen dosyalar */
.uc-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-height: 200px; overflow-y: auto; }
.uc-file { display: flex; align-items: center; min-width: 0; gap: 10px; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-md); padding: 9px 12px; }
.uc-file__name { flex: 1; min-width: 0; font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-file__size { font-size: .8rem; color: var(--muted); }
.uc-file__rm { border: 0; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.uc-file__rm:hover { color: var(--danger); }
.uc-total { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: right; font-weight: 600; }

/* İlerleme */
.uc-progress { display: flex; flex-direction: column; align-items: center; padding: 18px 0 8px; }
.uc-progress { position: relative; }
.uc-ring { transform: rotate(-90deg); }
.uc-ring__bg { fill: none; stroke: var(--border); stroke-width: 8; }
.uc-ring__fg { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset .3s ease; }
.uc-progress__pct { position: absolute; top: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--ink); }
.uc-progress__info { color: var(--muted); font-size: .9rem; margin: 14px 0 4px; text-align: center; }
.uc-progress__file { color: var(--ink); font-size: .9rem; text-align: center; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 14px; }
.uc-screen[data-uc="progress"] { text-align: center; }
.uc-screen[data-uc="progress"] .btn { margin: 0 auto; display: inline-flex; }

/* Başarı */
.uc-screen[data-uc="success"] { text-align: center; }
.uc-success__icon { width: 64px; height: 64px; margin: 4px auto 8px; border-radius: 50%; background: rgba(43,182,115,.12); color: var(--success); display: grid; place-items: center; }
.uc-link { display: flex; gap: 8px; margin: 14px 0; }
.uc-link input { flex: 1; font-size: .85rem; padding: 11px 12px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--canvas); color: var(--ink); }
.uc-qr { display: flex; justify-content: center; margin: 8px 0; }
.uc-qr img { border: 1px solid var(--border); border-radius: var(--r-md); padding: 8px; background: #fff; }
.uc-expiry { font-size: .85rem; color: var(--muted); margin: 8px 0 16px; }

/* =========================================================================
   İndirme sayfası
   ========================================================================= */
.dl { padding: clamp(32px, 6vw, 64px) 0; background: var(--grad-hero), var(--canvas); }
.dl__wrap { max-width: 600px; }
.dl__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: clamp(24px, 4vw, 36px); }
.dl__card--narrow { max-width: 420px; margin: 0 auto; text-align: center; }
.dl__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.dl__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-premium); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-accent); }
.dl__icon--lock { margin: 0 auto 14px; }
.dl__title { font-size: 1.4rem; margin-bottom: 4px; }
.dl__meta { color: var(--muted); font-size: .9rem; margin: 0; }
.dl__message { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; color: var(--text); font-size: .92rem; margin-bottom: 18px; }
.dl__files { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.dl__file { display: flex; align-items: center; min-width: 0; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color var(--t), background var(--t); }
.dl__file:hover { border-color: var(--accent); background: #f7fbfe; }
.dl__file-icon { color: var(--accent); flex: 0 0 auto; }
.dl__file-name { flex: 1 1 auto; min-width: 0; font-size: .92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl__file-size { flex: 0 0 auto; white-space: nowrap; font-size: .82rem; color: var(--muted); }
.dl__file-dl { flex: 0 0 auto; color: var(--accent); display: inline-flex; padding: 6px; border-radius: 8px; }
.dl__file-dl:hover { background: rgba(46,155,214,.1); }
.dl__actions { margin-bottom: 14px; }
.dl__expiry { text-align: center; font-size: .85rem; color: var(--muted); margin: 0; }
.dl__pwform { display: grid; gap: 12px; margin-top: 18px; }
.dl__foot { text-align: center; margin-top: 18px; font-size: .9rem; }

/* =========================================================================
   Yasal / iletişim sayfaları
   ========================================================================= */
.legal { padding: clamp(32px, 5vw, 64px) 0; }
.legal__wrap { max-width: 760px; }
.legal__back { color: var(--muted); font-size: .9rem; }
.legal__back:hover { color: var(--accent); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 12px 0 6px; }
.legal__meta { color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p { color: var(--text); line-height: 1.75; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: var(--sh-sm); margin-top: 16px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.contact-row { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); font-size: .95rem; }
.contact-row__label { color: var(--muted); min-width: 92px; flex: 0 0 auto; }

/* İletişim: form + bilgi/harita düzeni */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; margin: 8px 0 44px; }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--sh-sm); }
.contact-form-card h2 { font-size: 1.25rem; margin: 0; }
.contact-form-card textarea.input { min-height: 140px; resize: vertical; font-family: inherit; line-height: 1.6; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-side .contact-card { margin-top: 0; }
.contact-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.contact-map__link { display: inline-block; margin-top: -6px; font-size: .88rem; font-weight: 600; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

/* =========================================================================
   Admin — Ziyaretçi konum analitiği (harita + listeler)
   ========================================================================= */
.geo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 20px; }
.geo-range { display: inline-flex; background: var(--canvas, #f4f7fa); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px; gap: 2px; }
.geo-range__btn { padding: 7px 15px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--muted); }
.geo-range__btn.is-active { background: var(--surface); color: var(--ink, #16384f); box-shadow: var(--sh-sm, 0 1px 3px rgba(16,56,79,.08)); }
.geo-resolve { display: inline-flex; align-items: center; gap: 10px; }
.geo-map-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm, 0 1px 3px rgba(16,56,79,.08)); padding: 18px 20px; margin-bottom: 24px; }
.geo-map-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.geo-map-card__head h3 { margin: 0; }
.geo-map-scroll { overflow-x: auto; }
.geo-map { width: 100%; min-width: 560px; height: auto; display: block; border-radius: var(--r-md); --geo-ocean: #eef3f8; --geo-grid: #c9d6e3; --geo-label: #8095a8; }
.geo-bubble { fill: var(--accent, #2e9bd6); fill-opacity: .45; stroke: #fff; stroke-width: 1; transition: fill-opacity .15s; cursor: pointer; }
.geo-bubble:hover { fill-opacity: .85; }
.geo-empty { text-align: center; color: var(--muted); padding: 14px; margin: 0; }
.geo-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.geo-rank { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm, 0 1px 3px rgba(16,56,79,.08)); padding: 20px 22px; }
.geo-rank h3 { margin: 0 0 14px; font-size: 1.05rem; }
.geo-row { display: grid; grid-template-columns: 26px 1fr 90px auto; align-items: center; gap: 10px; padding: 7px 0; }
.geo-row__flag { font-size: 1.15rem; line-height: 1; }
.geo-row__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.geo-row__name small { font-size: .78rem; }
.geo-row__bar { height: 8px; background: var(--canvas, #f4f7fa); border-radius: var(--r-pill); overflow: hidden; }
.geo-row__bar span { display: block; height: 100%; background: var(--grad-premium, #2e9bd6); border-radius: var(--r-pill); }
.geo-row__num { font-weight: 700; font-family: var(--font-head, inherit); font-size: .9rem; text-align: right; white-space: nowrap; }
.geo-row__num small { display: block; font-weight: 400; font-size: .7rem; color: var(--muted); }
.geo-note { margin-top: 16px; font-size: .8rem; }
@media (max-width: 820px) { .geo-lists { grid-template-columns: 1fr; } .geo-row { grid-template-columns: 24px 1fr 56px auto; } }

/* =========================================================================
   Ödeme (PayTR iframe) sayfası
   ========================================================================= */
.pay { padding: clamp(28px, 5vw, 56px) 0; }
.pay__wrap { max-width: 640px; }
.pay__head { text-align: center; margin-bottom: 22px; }
.pay__head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.pay__head p { color: var(--muted); margin: 0; }
.pay__frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 10px; overflow: hidden; }
.pay__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.pay__secure svg { color: var(--success); }
.plan-card__buy { margin: 0; }

/* =========================================================================
   Yükleme kartı — gelişmiş alanlar (klasör, süre, alıcı sayacı, kurtarılabilir)
   ========================================================================= */
.uc-add { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.uc-add__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--canvas); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .9rem; cursor: pointer; transition: var(--t); }
.uc-add__btn:hover { border-color: var(--accent); background: #f0f8fe; color: var(--ink); }
.uc-add__btn svg { color: var(--accent); }
.dropzone--mini { padding: 14px; gap: 0; }
.dropzone--mini span { color: var(--muted); font-size: .88rem; }
.dropzone--mini em { color: var(--accent); font-style: normal; font-weight: 600; }
.uc-reccount { font-size: .78rem; color: var(--muted); text-align: right; margin-top: -4px; }
.uc-reccount.is-over { color: var(--danger); }
.uc-row { display: flex; gap: 10px; }
.uc-row__field { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.uc-row__label { font-size: .8rem; color: var(--muted); font-weight: 500; }
.uc-recover { margin: 4px 0 0; font-size: .85rem; }
.uc-badge { font-style: normal; font-size: .68rem; font-weight: 700; background: var(--grad-premium); color: #fff; padding: 2px 7px; border-radius: var(--r-pill); margin-left: 4px; vertical-align: middle; }

/* =========================================================================
   Kullanıcı Paneli (sidebar)
   ========================================================================= */
.panel-body { background: var(--canvas); }
.panel-shell { display: flex; min-height: 100vh; }
.panel-side { width: 256px; flex: 0 0 256px; background: var(--ink-deep); color: rgba(255,255,255,.8); display: flex; flex-direction: column; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.panel-side__brand { margin: 4px 8px 24px; }
.panel-side__brand .brand__word { color: #fff; }
.panel-side__brand .brand__icon { filter: brightness(0) invert(1); }
.panel-nav { display: flex; flex-direction: column; gap: 4px; }
.panel-nav__link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-md); color: rgba(255,255,255,.72); font-family: var(--font-head); font-weight: 500; font-size: .93rem; transition: var(--t); border: 0; background: none; width: 100%; text-align: left; cursor: pointer; }
.panel-nav__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.panel-nav__link.is-active { background: var(--accent); color: #fff; }
.panel-nav__link svg { flex: 0 0 auto; }
.panel-side__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.panel-side__user { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 8px; }
.panel-side__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: 0 0 auto; }
.panel-side__uinfo { display: flex; flex-direction: column; min-width: 0; }
.panel-side__name { color: #fff; font-size: .88rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-side__mail { font-size: .76rem; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-nav__logout { color: rgba(255,255,255,.6); }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.panel-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.panel-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.panel-content { padding: 28px; max-width: 1080px; width: 100%; }
.panel-flash { margin-bottom: 18px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.panel-head h1 { font-size: 1.7rem; margin: 0; }
.panel-head__sub { color: var(--muted); margin: 4px 0 0; }
.badge--accent { background: rgba(46,155,214,.12); color: var(--accent-deep); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card__sub { font-size: 1rem; color: var(--muted); font-weight: 400; }

.quota-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); margin-bottom: 24px; }
.quota-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.quota-row { margin-bottom: 16px; }
.quota-row:last-child { margin-bottom: 0; }
.quota-row__top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 7px; }
.quota-row__top span:last-child { color: var(--muted); }
.quota-bar { height: 9px; background: var(--canvas); border-radius: var(--r-pill); overflow: hidden; }
.quota-bar span { display: block; height: 100%; background: var(--grad-premium); border-radius: var(--r-pill); transition: width .4s; }
.quota-unlim { font-size: .82rem; color: var(--success); font-weight: 600; }
.panel-promo { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--grad-premium); color: #fff; border-radius: var(--r-lg); padding: 24px 28px; flex-wrap: wrap; }
.panel-promo h3 { color: #fff; margin: 0 0 2px; } .panel-promo p { color: rgba(255,255,255,.85); margin: 0; }

/* Tablo */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: auto; box-shadow: var(--sh-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th { text-align: left; padding: 14px 16px; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table__actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 32px; height: 32px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-sm); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: .72rem; font-weight: 700; padding: 0; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn--danger:hover { border-color: var(--danger); color: var(--danger); }
.muted { color: var(--muted); font-size: .82rem; }
.mono { font-family: ui-monospace, monospace; }
.empty-state { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--r-lg); padding: 40px; text-align: center; color: var(--muted); }

/* İstek kartları */
.request-create { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); margin-bottom: 24px; }
.request-create h3 { margin-bottom: 4px; }
.request-create__form { display: grid; gap: 12px; margin-top: 14px; }
.istek-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-sm); margin-bottom: 16px; }
.istek-card.is-new { border-color: var(--accent); box-shadow: var(--sh-accent); }
.istek-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.istek-card__head h3 { margin: 0 0 2px; font-size: 1.1rem; }
.istek-card__link { display: flex; gap: 8px; margin-bottom: 14px; }
.istek-card__link input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--canvas); font-size: .85rem; color: var(--ink); }
.istek-card__uploads-title { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 8px; }
.upload-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.upload-row__from { font-weight: 500; font-size: .9rem; }
.upload-row .btn { margin-left: auto; }
.istek-card__empty { margin: 0; }

/* Hesap & plan */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); }
.account-card h3 { margin-bottom: 16px; }
.account-card__hint { margin-top: 12px; }
.plan-current { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--sh-sm); display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.plan-current h2 { margin: 4px 0; }
.plan-current__price { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--ink); }
.plan-current__price span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan-section-title { margin-bottom: 16px; }

/* Dosya isteği yükleme sayfası */
.istek-page { padding: clamp(32px, 5vw, 64px) 0; background: var(--grad-hero), var(--canvas); min-height: 70vh; }
.istek-page__grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.istek-page__info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.istek-page__talimat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; color: var(--text); }
.istek-page__note { color: var(--muted); font-size: .9rem; }

@media (max-width: 980px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .account-grid { grid-template-columns: 1fr; }
    .istek-page__grid { grid-template-columns: 1fr; }
    .istek-page__info { order: -1; }
}
@media (max-width: 760px) {
    .panel-side { position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-100%); transition: transform var(--t); }
    .panel-side.is-open { transform: translateX(0); }
    .panel-burger { display: flex; }
    .panel-content { padding: 18px; }
    .panel-head h1 { font-size: 1.4rem; }
}

/* =========================================================================
   Admin paneli
   ========================================================================= */
.admin-login { min-height: 100vh; display: grid; place-items: center; background: var(--ink-deep); padding: 24px; }
.admin-login__box { width: 100%; max-width: 380px; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 36px 32px; text-align: center; }
.admin-login__lock { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad-premium); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-accent); }
.admin-login__box h1 { font-size: 1.5rem; margin-bottom: 4px; }
.admin-login__sub { color: var(--muted); margin-bottom: 22px; }
.admin-login__form { display: grid; gap: 12px; }
.admin-side__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); margin: 0 8px 10px; font-weight: 600; }
.admin-shell-body .panel-side { background: #0a1a25; }

.stat-grid--5 { grid-template-columns: repeat(5, 1fr); }
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 140px; padding-top: 10px; }
.bar-chart__col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar-chart__bar { width: 100%; background: var(--grad-premium); border-radius: 4px 4px 0 0; min-height: 4px; transition: height .4s; }
.activity-list { display: flex; flex-direction: column; gap: 2px; }
.activity-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.activity-row:last-child { border-bottom: 0; }
.activity-row__msg { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }

.filter-bar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-bar .input { width: auto; flex: 0 1 auto; }
.filter-bar .input[name="q"] { flex: 1 1 240px; }
.inline-form { display: inline; margin: 0; }
.input--mini { padding: 6px 8px; font-size: .82rem; width: auto; min-width: 110px; }

.plan-edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.plan-edit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm); }
.plan-edit__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.plan-edit__head h3 { margin: 0; }
.plan-edit__fields { display: grid; gap: 10px; margin-bottom: 12px; }
.plan-edit__fields label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.plan-edit__oz { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.oz-check { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text); }
.oz-check input { accent-color: var(--accent); }

.kv-table { width: 100%; font-size: .88rem; border-collapse: collapse; margin-bottom: 14px; }
.kv-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.kv-table td:first-child { color: var(--muted); width: 38%; }
.smtp-test { display: flex; gap: 8px; margin: 10px 0; }

@media (max-width: 1100px) { .stat-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .admin-grid2 { grid-template-columns: 1fr; } .stat-grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Geçişli renkli arka plan (5 katman crossfade — WeTransfer tarzı)
   ========================================================================= */
.gradient-stage { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--ink); }
.gradient-stage__layer { position: absolute; inset: -15%; opacity: 0; animation: gb-fade 45s linear infinite; will-change: opacity; }
.gl1 { background: radial-gradient(1100px 800px at 18% 25%, #2E9BD6 0%, transparent 55%), radial-gradient(1000px 900px at 85% 75%, #1c6fb0 0%, transparent 52%), radial-gradient(900px 700px at 65% 12%, #1fb6a6 0%, transparent 50%), #16384F; animation-delay: 0s; }
.gl2 { background: radial-gradient(1200px 820px at 80% 20%, #3aa0e0 0%, transparent 55%), radial-gradient(950px 880px at 15% 80%, #5b53c7 0%, transparent 50%), radial-gradient(800px 700px at 50% 60%, #16cfd0 0%, transparent 48%), #122f45; animation-delay: 9s; }
.gl3 { background: radial-gradient(1100px 900px at 25% 75%, #18a3c9 0%, transparent 55%), radial-gradient(1000px 800px at 78% 30%, #2E9BD6 0%, transparent 52%), radial-gradient(850px 700px at 90% 88%, #2bb673 0%, transparent 46%), #0E2533; animation-delay: 18s; }
.gl4 { background: radial-gradient(1200px 850px at 12% 18%, #6a5ae0 0%, transparent 52%), radial-gradient(1000px 900px at 88% 70%, #2E9BD6 0%, transparent 52%), radial-gradient(800px 700px at 60% 40%, #1aa0c4 0%, transparent 48%), #16384F; animation-delay: 27s; }
.gl5 { background: radial-gradient(1100px 820px at 70% 22%, #21c1c9 0%, transparent 52%), radial-gradient(1000px 880px at 20% 78%, #2E9BD6 0%, transparent 52%), radial-gradient(900px 700px at 85% 55%, #3f7fe0 0%, transparent 48%), #122f45; animation-delay: 36s; }
@keyframes gb-fade { 0% { opacity: 0; } 3% { opacity: 1; } 17% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }

/* Hero artık renkli degrade üzerinde -> açık renk metin */
.hero .eyebrow { color: #bfe6fb; }
.hero__title { color: #fff; }
.hero__title .text-accent { color: #9bd8f7; }
.hero__lead { color: rgba(255,255,255,.85); }
.hero__features li { color: rgba(255,255,255,.92); }
.hero .tick { background: rgba(255,255,255,.2); color: #fff; }
.hero__cta .btn--ghost { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.hero__cta .btn--ghost:hover { --btn-bg: rgba(255,255,255,.16); --btn-fg: #fff; border-color: rgba(255,255,255,.7); }

/* İç sayfa başlık bandı — animasyonlu gradient (fiyatlandırma, yasal, iletişim) */
.page-hero { position: relative; overflow: hidden; background: var(--ink); padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 4vw, 56px); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #bfe6fb; }
.page-hero__back { display: inline-block; color: rgba(255,255,255,.72); font-size: .9rem; margin-bottom: 14px; }
.page-hero__back:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 8px; }
.page-hero__lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero__meta { color: rgba(255,255,255,.6); font-size: .85rem; margin: 6px 0 0; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }

/* =========================================================================
   Ana sayfa & fiyatlandırma — güven/detay bölümleri
   ========================================================================= */
.section-pad { padding: clamp(48px, 7vw, 96px) 0; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }

/* Nasıl çalışır */
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.how__step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--sh-sm); }
.how__num { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-premium); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--sh-accent); margin-bottom: 16px; }
.how__step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.how__step p { color: var(--muted); margin: 0; }

/* Özellikler */
.features { background: var(--canvas); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature-card__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(46,155,214,.1); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .94rem; }
.feature-card__badge { font-style: normal; font-size: .66rem; font-weight: 700; font-family: var(--font-head); background: var(--grad-premium); color: #fff; padding: 2px 8px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: middle; }

/* Güvenlik bandı (animasyonlu gradient üstünde) */
.secure { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.secure > .container { position: relative; z-index: 1; }
.secure__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.secure .eyebrow { color: #bfe6fb; }
.secure h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.secure__lead { color: rgba(255,255,255,.82); font-size: 1.06rem; }
.secure__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.secure__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.92); }
.secure__list .tick { background: rgba(43,182,115,.22); color: #5fe0a3; flex: 0 0 auto; }
.secure__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.secure__badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: var(--r-md); padding: 20px 16px; text-align: center; }
.secure__badge strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: #fff; }
.secure__badge span { color: rgba(255,255,255,.62); font-size: .82rem; }

/* CTA bandı */
.cta-band__inner { background: var(--grad-premium); color: #fff; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 60px); text-align: center; box-shadow: var(--sh-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 54ch; margin: 0 auto 24px; }
.cta-band .hero__cta { justify-content: center; }
.cta-band .btn--ghost { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }

/* Karşılaştırma tablosu */
.compare { margin-top: 64px; }
.compare__title { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 22px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 680px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-family: var(--font-head); color: var(--ink); background: var(--canvas); white-space: nowrap; }
.compare-table thead th small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--text); white-space: nowrap; }
.compare-table td.yes { color: var(--success); font-weight: 700; }
.compare-table td.no { color: #cdd6df; }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: 0; }
.compare-table .col-feat { background: rgba(46,155,214,.06); }

/* Güven rozetleri */
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.trust-badge { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 18px; text-align: center; box-shadow: var(--sh-sm); }
.trust-badge__icon { color: var(--accent); display: flex; justify-content: center; margin-bottom: 10px; }
.trust-badge strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .98rem; margin-bottom: 2px; }
.trust-badge span { color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
    .how__grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .secure__grid { grid-template-columns: 1fr; }
    .trust-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .how__grid, .feature-grid, .trust-badges, .secure__badges { grid-template-columns: 1fr; }
}

/* Banner şeridi (carousel) */
.bshow__frame { position: relative; max-width: 1040px; margin: 36px auto 0; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--ink); }
.bshow__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.bshow__slide.is-active { opacity: 1; }
.bshow__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bshow__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.bshow__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: var(--t); }
.bshow__dot.is-active { background: #fff; transform: scale(1.25); }

/* Auth marka paneli animasyonlu degrade kullanır */
.auth-brand { background: var(--ink); }
.auth-brand::after { display: none; }
.auth-brand__inner { position: relative; z-index: 1; }

/* Google ile giriş */
.oauth-sep { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .82rem; }
.oauth-sep::before, .oauth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; transition: var(--t); }
.btn-google:hover { background: var(--canvas); border-color: #d4dde8; color: var(--ink); }
.oauth-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.oauth-note a { color: var(--muted); text-decoration: underline; }

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .gradient-stage__layer.gl1 { opacity: 1; }
}

/* =========================================================================
   Mobil uyum düzeltmeleri (denetim sonrası — <=640px / iPhone ~390px)
   ========================================================================= */
/* Kırılamayan uzun metin / e-posta / URL taşmasını engelle */
.dl__head > div { min-width: 0; }
.dl__title, .dl__meta { overflow-wrap: anywhere; word-break: break-word; }
.legal p, .legal li { overflow-wrap: anywhere; word-break: break-word; }
.pay__head p { overflow-wrap: anywhere; }
.faq__item summary { flex-wrap: wrap; align-items: flex-start; }

/* Küçük ekranda başlık/fiyat punto ölçeklenmesi */
.plan-card__amount { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.auth-form h1 { font-size: clamp(1.4rem, 5vw, 1.9rem); }

/* Mobil menü açıkken arka plan kaydırma kilidi */
body.is-nav-open { overflow: hidden; }

@media (max-width: 640px) {
    /* Landing hamburger menü scrim (içeriğin üstüne yarı saydam) */
    body.is-nav-open::before {
        content: ""; position: fixed; inset: var(--header-h) 0 0 0;
        background: rgba(14, 37, 51, .45); z-index: 40;
    }

    /* OTP kod inputu taşması (12px aralık dar ekrana sığmıyor) */
    .input--code { font-size: 1.2rem; letter-spacing: 6px; padding: 12px 10px; }

    /* İletişim satırlarını dikey yığ + uzun değeri kır */
    .contact-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .contact-row__label { min-width: auto; }
    .contact-row span:last-child { min-width: 0; word-break: break-word; overflow-wrap: anywhere; }

    /* Grid'leri daralt: istatistik/footer/yükleme/plan düzenleme */
    .stat-grid, .stat-grid--5 { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
    .uc-add { grid-template-columns: 1fr; }
    .plan-edit-grid { grid-template-columns: 1fr; }

    /* Yan yana input+buton satırlarını dikey yap */
    .istek-card__link { flex-direction: column; align-items: stretch; }
    .istek-card__link input { margin-bottom: 8px; }
    .istek-card__link .btn { width: 100%; }
    .smtp-test { flex-direction: column; }
    .smtp-test .input, .smtp-test .btn { width: 100%; }

    /* Admin filtre çubuğu tam genişlik */
    .filter-bar { gap: 8px; }
    .filter-bar .input, .filter-bar .input[name="q"], .input--mini { flex: 1 1 100%; min-width: 100%; width: 100%; }
    .filter-bar .btn { width: 100%; }

    /* Tablo hücrelerini sıkıştır + dokunma hedeflerini büyüt */
    .data-table th, .data-table td { padding: 10px 8px; }
    .data-table th { font-size: .68rem; }
    .data-table td { font-size: .82rem; }
    .icon-btn { width: 40px; height: 40px; }
    .data-table__actions { gap: 8px; }

    /* Panel iç boşluklarını azalt */
    .panel-top { padding: 12px 14px; }
    .panel-content { padding: 14px; }
}

/* Ad/şifre ikili alanını biraz daha geç (480 yerine 540) tek kolona indir */
@media (max-width: 540px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}

/* Panel off-canvas menü scrim (<=760px): arkaya tıklayınca kapanır (JS) */
@media (max-width: 760px) {
    .panel-shell::after {
        content: ""; position: fixed; inset: 0;
        background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none;
        transition: opacity var(--t); z-index: 55;
    }
    .panel-shell.is-open::after { opacity: 1; pointer-events: auto; }
}
