/* ==========================================================================
   Net ipTV 2026 — yeni tasarim sistemi
   Bootstrap'ten bagimsizdir. Sadece bu dosyayi yukleyen sayfalari etkiler.
   ========================================================================== */

:root {
    --bg:            #0a0a0c;
    --bg-elevated:   #121215;
    --bg-panel:      #17171b;
    --border:        #26262c;
    --border-strong: #35353d;

    --text:          #ffffff;
    --text-muted:    #9b9ba4;
    --text-dim:      #6e6e78;

    --brand:         #d81f12;
    --brand-hover:   #ef2a1c;

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 18px;

    --maxw: 1180px;
    --gutter: 16px;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

/* --- reset (bu sayfalara sinirli) ------------------------------------ */

.np-page *,
.np-page *::before,
.np-page *::after { box-sizing: border-box; }

.np-page {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.np-page img { max-width: 100%; height: auto; display: block; }

.np-page a { color: inherit; text-decoration: none; }
.np-page a:hover,
.np-page a:focus { color: inherit; text-decoration: none; }

.np-page h1, .np-page h2, .np-page h3, .np-page h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.np-page p { margin: 0; }
.np-page ul { margin: 0; padding: 0; list-style: none; }

/* klavye ile gezinenler icin gorunur odak */
.np-page a:focus-visible,
.np-page button:focus-visible {
    outline: 2px solid var(--brand-hover);
    outline-offset: 3px;
    border-radius: 4px;
}

.np-container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* --- butonlar --------------------------------------------------------- */

.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    white-space: nowrap;
}

.np-btn--primary { background: var(--brand); color: #fff; }
.np-btn--primary:hover,
.np-btn--primary:focus { background: var(--brand-hover); color: #fff; }

.np-btn--ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}
.np-btn--ghost:hover,
.np-btn--ghost:focus { border-color: #5a5a66; color: var(--text); }

.np-btn--sm { padding: 10px 20px; font-size: 14px; }

/* --- header ----------------------------------------------------------- */

.np-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 12, .92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.np-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}

.np-logo { flex: 0 0 auto; }
.np-logo img { height: 30px; width: auto; }

.np-nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }

.np-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .15s ease;
}
.np-nav a:hover,
.np-nav a:focus,
.np-nav a.is-active { color: var(--text); }

.np-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }

/* mobil menu */
.np-burger {
    display: none;
    width: 42px; height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
}
.np-burger span {
    display: block;
    width: 18px; height: 2px;
    margin: 3px auto;
    background: currentColor;
    border-radius: 2px;
}

/* --- hero ------------------------------------------------------------- */

.np-hero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(900px 420px at 78% 18%, rgba(216, 31, 18, .13), transparent 62%),
        radial-gradient(700px 400px at 8% 0%, rgba(90, 90, 180, .08), transparent 60%);
}

.np-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: center;
}

.np-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.np-hero h1 {
    font-size: clamp(44px, 6.2vw, 76px);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.np-hero__lede {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 30ch;
    margin-bottom: 32px;
}

.np-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

.np-hero__note { font-size: 13px; color: var(--text-dim); }

/* --- hero gorseli: saf CSS cihaz maketi -------------------------------- */
/* Disaridan gorsel yok: sayfa tek basina calisir ve hicbir yayin/kanal   */
/* logosu barindirmaz.                                                    */

.np-device { position: relative; padding-right: 54px; padding-bottom: 30px; }

.np-tv {
    position: relative;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    padding: 10px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}

.np-tv__screen {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 14px;
    border-radius: var(--radius);
    background: #0e0e11;
    padding: 14px;
    overflow: hidden;
}

.np-tv__side { display: flex; flex-direction: column; gap: 6px; }

.np-tv__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
}
.np-tv__brand img { height: 18px; width: auto; }

.np-tv__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
}
.np-tv__item.is-active { background: var(--brand); color: #fff; font-weight: 600; }

.np-tv__main { min-width: 0; }

.np-tv__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }

.np-tv__player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    /* kullanicinin kendi icerigini temsil eden notr bir manzara */
    background: linear-gradient(180deg, #24364a 0%, #5b4f52 52%, #8a5a3c 74%, #2a2024 100%);
}
.np-tv__player::before {
    /* gun batimi parlamasi */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(42% 46% at 68% 44%, rgba(255, 168, 86, .45), transparent 70%);
}
.np-tv__player::after {
    /* dag silueti */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1b2630 0%, #0d131a 100%);
    clip-path: polygon(0% 100%, 0% 68%, 12% 50%, 23% 63%, 38% 38%, 50% 56%,
                       63% 42%, 76% 60%, 88% 49%, 100% 64%, 100% 100%);
}

.np-tv__bar {
    position: absolute;
    left: 12px; right: 12px; bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    color: rgba(255, 255, 255, .85);
}
.np-tv__track {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .28);
}
.np-tv__track span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: 2px;
    background: var(--brand);
}

.np-tv__strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.np-tv__thumb {
    aspect-ratio: 16 / 10;
    border-radius: 7px;
    background: linear-gradient(160deg, #3a4a56, #141c24);
}
.np-tv__thumb:nth-child(1) { background: linear-gradient(165deg, #7a4a2c, #241820); }
.np-tv__thumb:nth-child(2) { background: linear-gradient(165deg, #8a5733, #2a1c18); }
.np-tv__thumb:nth-child(3) { background: linear-gradient(165deg, #3e5a52, #16201f); }
.np-tv__thumb:nth-child(4) { background: linear-gradient(165deg, #4a5a6e, #161c26); }
.np-tv__thumb:nth-child(5) { background: linear-gradient(165deg, #6a4a5a, #1e1620); }
.np-tv__thumb.is-active { box-shadow: 0 0 0 2px var(--brand); }

/* yanindaki telefon */
.np-phone {
    position: absolute;
    right: 0;
    bottom: 26px;
    width: 122px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: var(--bg-elevated);
    padding: 7px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
}
.np-phone__screen { border-radius: 11px; background: #0e0e11; padding: 9px; }
.np-phone__brand { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.np-phone__brand img { height: 12px; width: auto; }
.np-phone__title { font-size: 9px; font-weight: 600; margin-bottom: 7px; }
.np-phone__list { display: flex; flex-direction: column; gap: 6px; }
.np-phone__row {
    height: 26px;
    border-radius: 5px;
    background: linear-gradient(160deg, #3a4a56, #141c24);
}

.np-caption {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
}

/* --- cihaz seridi ------------------------------------------------------ */

.np-strip { border-top: 1px solid var(--border); }

.np-strip__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.np-strip__label {
    flex: 0 0 auto;
    padding-right: 22px;
    border-right: 1px solid var(--border);
    font-size: 17px;
    font-weight: 700;
}

.np-strip__list {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px 26px;
}

.np-strip__list a {
    font-size: 15px;
    color: var(--text-muted);
    transition: color .15s ease;
}
.np-strip__list a:hover,
.np-strip__list a:focus { color: var(--text); }

/* --- fiyatlandirma ----------------------------------------------------- */

.np-pricing { padding: 34px 0 56px; border-top: 1px solid var(--border); }

.np-pricing h2 { font-size: 24px; margin-bottom: 20px; }

.np-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.np-plan {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
}

.np-plan__name {
    flex: 0 0 auto;
    padding-right: 18px;
    border-right: 1px solid var(--border);
    font-size: 16px;
    font-weight: 700;
}

.np-plan__price { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }

.np-plan__meta { flex: 1; font-size: 13px; color: var(--text-muted); line-height: 1.35; }
.np-plan__meta strong { display: block; font-weight: 600; color: var(--text); }

.np-plan--featured { border-color: var(--border-strong); }

/* --- footer ------------------------------------------------------------ */

.np-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; }

.np-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.np-footer__logo img { height: 26px; width: auto; }

.np-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.np-footer__links a { font-size: 14px; color: var(--text-muted); }
.np-footer__links a:hover,
.np-footer__links a:focus { color: var(--text); }

.np-footer__legal {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text-dim);
}

.np-footer__copy { margin-top: 14px; font-size: 12.5px; color: var(--text-dim); }
.np-footer__copy a { color: var(--text-muted); }

/* --- duyarli davranis --------------------------------------------------- */

@media (max-width: 980px) {
    .np-hero { padding: 48px 0 40px; }
    .np-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .np-hero__lede { max-width: 48ch; }
    .np-plans { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
    .np-burger { display: block; }

    .np-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px var(--gutter) 16px;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
    }
    .np-nav.is-open { display: flex; }
    .np-nav a { padding: 13px 2px; border-bottom: 1px solid var(--border); }
    .np-nav a:last-child { border-bottom: 0; }

    .np-header__inner { position: relative; }
    .np-header__actions { margin-left: auto; }

    .np-strip__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .np-strip__label { padding-right: 0; border-right: 0; }
    .np-strip__list { justify-content: flex-start; gap: 10px 20px; }
}

@media (max-width: 620px) {
    .np-tv__screen { grid-template-columns: minmax(0, 1fr); }
    .np-tv__side { flex-direction: row; gap: 6px; }
    .np-tv__brand { display: none; }
    .np-tv__item { flex: 1; justify-content: center; padding: 7px 6px; font-size: 12px; }
    .np-phone { display: none; }
    .np-device { padding-bottom: 0; }

    .np-plan { flex-wrap: wrap; gap: 12px; }
    .np-plan__name { border-right: 0; padding-right: 0; flex-basis: 100%; }
    .np-plan .np-btn { margin-left: auto; }

    .np-footer__top { flex-direction: column; align-items: flex-start; }
}

/* hareketi azalt tercihi */
@media (prefers-reduced-motion: reduce) {
    .np-page * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Ic sayfa bilesenleri
   ========================================================================== */

/* --- sayfa basligi ----------------------------------------------------- */

.np-pagehead {
    padding: 56px 0 34px;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(760px 320px at 20% 0%, rgba(216, 31, 18, .10), transparent 65%);
}
.np-pagehead h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.np-pagehead p {
    margin-top: 12px;
    max-width: 68ch;
    font-size: 16px;
    color: var(--text-muted);
}

/* --- genel bolum ------------------------------------------------------- */

.np-section { padding: 46px 0; }
.np-section + .np-section { border-top: 1px solid var(--border); }
.np-section h2 { font-size: 24px; margin-bottom: 18px; }
.np-section h3 { font-size: 18px; margin-bottom: 12px; }

.np-lead { font-size: 18px; color: var(--text-muted); max-width: 70ch; }

/* --- metin govdesi (sozlesme / politika sayfalari) --------------------- */

.np-prose { max-width: 76ch; font-size: 15.5px; line-height: 1.75; color: #d4d4db; }
.np-prose > * + * { margin-top: 16px; }
.np-prose h2 {
    margin-top: 38px;
    font-size: 21px;
    color: var(--text);
}
.np-prose h3 {
    margin-top: 28px;
    font-size: 17px;
    color: var(--text);
}
.np-prose strong { color: var(--text); font-weight: 600; }
.np-prose a { color: #ff8a80; text-decoration: underline; }
.np-prose a:hover { color: #ffb3ad; }
.np-prose ul, .np-prose ol { padding-left: 22px; }
.np-prose ul { list-style: disc; }
.np-prose ol { list-style: decimal; }
.np-prose li { margin-top: 8px; }
.np-prose li::marker { color: var(--text-dim); }

/* --- kutu / uyari ------------------------------------------------------ */

.np-note {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius-sm);
    background: var(--bg-panel);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
}
.np-note strong { color: var(--text); }

.np-alert {
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    line-height: 1.55;
}
.np-alert--ok   { border-color: #1f5133; background: #10281b; color: #8ae0ad; }
.np-alert--err  { border-color: #5d2420; background: #2a1312; color: #ff9d94; }
.np-alert--info { background: var(--bg-panel); color: var(--text-muted); }

/* --- akordeon (native <details>, JS gerektirmez) ----------------------- */

.np-acc { max-width: 80ch; border-top: 1px solid var(--border); }

.np-acc details { border-bottom: 1px solid var(--border); }

.np-acc summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
}
.np-acc summary::-webkit-details-marker { display: none; }
.np-acc summary::after {
    content: "+";
    margin-left: auto;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-dim);
}
.np-acc details[open] summary::after { content: "\2212"; }
.np-acc summary:hover { color: #fff; }

.np-acc__body {
    padding: 0 2px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}
.np-acc__body > * + * { margin-top: 12px; }

/* --- kart izgarasi ----------------------------------------------------- */

.np-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.np-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    transition: border-color .18s ease;
}
a.np-card:hover, a.np-card:focus { border-color: var(--border-strong); }

.np-card h3 { font-size: 16px; }
.np-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.np-card__meta { font-size: 12.5px; color: var(--text-dim); }
.np-card__cta { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: #ff8a80; }

/* --- adim adim rehber -------------------------------------------------- */

.np-steps { counter-reset: npstep; max-width: 80ch; }

.np-step {
    position: relative;
    padding: 0 0 26px 46px;
    border-left: 1px solid var(--border);
    margin-left: 13px;
}
.np-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.np-step::before {
    counter-increment: npstep;
    content: counter(npstep);
    position: absolute;
    left: -13px;
    top: 0;
    width: 26px; height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.np-step h3 { font-size: 16px; margin-bottom: 6px; }
.np-step p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.np-step img {
    margin-top: 12px;
    max-width: 520px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* --- formlar ----------------------------------------------------------- */

.np-form { max-width: 560px; }
.np-form--wide { max-width: 100%; }

.np-field { margin-bottom: 18px; }

.np-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}

.np-input,
.np-select,
.np-textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #0e0e11;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color .15s ease;
    text-transform: none;
}
.np-textarea { min-height: 130px; resize: vertical; }

.np-input::placeholder,
.np-textarea::placeholder { color: #55555f; }

.np-input:focus,
.np-select:focus,
.np-textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.np-input[readonly],
.np-input:disabled { background: #141418; color: var(--text-muted); cursor: not-allowed; }

.np-help { margin-top: 6px; font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }

.np-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.np-check input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--brand); }
.np-check a { color: #ff8a80; text-decoration: underline; }

.np-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ASP.NET MVC dogrulama siniflari */
.np-page .field-validation-error,
.np-page .validation-summary-errors { color: #ff9d94; font-size: 13px; }
.np-page .validation-summary-errors ul { padding-left: 18px; list-style: disc; }
.np-page .input-validation-error { border-color: #a33 !important; }

/* --- tablo ------------------------------------------------------------- */

.np-tablewrap { overflow-x: auto; }

.np-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.np-table th, .np-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.np-table th { font-weight: 600; color: var(--text); white-space: nowrap; }
.np-table td { color: var(--text-muted); }

/* --- yardimci ---------------------------------------------------------- */

.np-stack  > * + * { margin-top: 16px; }
.np-stack-l > * + * { margin-top: 28px; }
.np-center { text-align: center; }
.np-muted { color: var(--text-muted); }
.np-dim { color: var(--text-dim); font-size: 13px; }
.np-hr { height: 1px; border: 0; background: var(--border); margin: 34px 0; }

@media (max-width: 620px) {
    .np-pagehead { padding: 38px 0 26px; }
    .np-section { padding: 34px 0; }
}

/* --- odeme plan kartlari ------------------------------------------------ */

.np-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.np-paycard {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
}
.np-paycard--featured { border-color: var(--brand); }

.np-paycard__name { font-size: 17px; font-weight: 700; }
.np-paycard__price {
    margin: 6px 0 4px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.np-paycard__term { font-size: 14px; color: var(--text-muted); }

.np-paycard__terms {
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.np-paycard fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.np-paycard fieldset[disabled] { opacity: .45; }
.np-paycard fieldset[disabled] .np-input { cursor: not-allowed; }

.np-paycard .np-btn { width: 100%; }

@media (max-width: 860px) {
    .np-grid2 { grid-template-columns: minmax(0, 1fr); }
}

/* --- haber listesi ------------------------------------------------------ */

.np-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    align-items: start;
}

.np-post {
    padding: 24px 24px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.np-post:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.np-post h2 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--text);
}
.np-post__meta {
    display: inline-block;
    margin: 0 0 14px;
    padding-left: 11px;
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--text-dim);
    border-left: 3px solid var(--brand);
}
.np-post__body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-muted);
}
.np-post__body strong { color: var(--text); }

/* --- uc sutunlu arac duzeni (Upload) ----------------------------------- */

.np-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}
.np-panel {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
}
.np-panel > h2 {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.np-panel .np-btn { width: 100%; }
.np-panel fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

/* URL satiri: giris + yanindaki buton */
.np-urlrow { display: flex; gap: 8px; align-items: flex-start; }
.np-urlrow .np-input { flex: 1; min-width: 0; }
.np-urlrow .np-btn { width: auto; flex: 0 0 auto; }

@media (max-width: 980px) {
    .np-grid3 { grid-template-columns: minmax(0, 1fr); }
}

/* --- native <dialog> modal --------------------------------------------- */

.np-modal {
    width: min(460px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    color: var(--text);
    font-family: var(--font);
}
.np-modal::backdrop { background: rgba(0, 0, 0, .66); }

.np-modal__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 700;
}
.np-modal__close {
    margin-left: auto;
    width: 30px; height: 30px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.np-modal__close:hover { color: var(--text); }

.np-modal__body { padding: 20px; }
.np-modal__body .np-field:last-child { margin-bottom: 0; }

.np-modal__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.np-modal__foot .np-btn { flex: 1; }

.np-urlrow > div { min-width: 0; }
.np-urlrow > div:first-child { flex: 1; }
.np-urlrow .np-btn { width: auto; white-space: nowrap; }

/* --- dialog: eski tarayici yedegi --------------------------------------- */
/* showModal desteklemeyen tarayicida dialog bilinmeyen bir ogedir: kapaliyken
   gizlenmesi ve acikken ortalanmasi elle saglanir. */
dialog.np-modal:not([open]) { display: none; }

.np-modal--fallback {
    display: block;
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    margin: 0;
    z-index: 1001;
}
.np-backdrop {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .66);
    z-index: 1000;
}

/* --- AI yardim sohbeti ------------------------------------------------ */

.np-chat__fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 900;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 18px; border: 0; border-radius: 999px;
    background: var(--brand); color: #fff; font: 600 14px/1 var(--font);
    cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.np-chat__fab:hover { background: var(--brand-hover); }

.np-chat__panel {
    position: fixed; right: 16px; bottom: 16px; z-index: 901;
    display: none; flex-direction: column;
    width: 360px; max-width: calc(100vw - 32px);
    height: 520px; max-height: calc(100vh - 32px);
    background: var(--bg-panel); border: 1px solid var(--border-strong);
    border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0, 0, 0, .6);
    overflow: hidden;
}
.np-chat.is-open .np-chat__panel { display: flex; }
.np-chat.is-open .np-chat__fab { display: none; }

.np-chat__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border-bottom: 1px solid var(--border);
    font-weight: 600; font-size: 15px;
}
.np-chat__close {
    border: 0; background: none; color: var(--text-muted);
    font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.np-chat__close:hover { color: var(--text); }

.np-chat__log {
    flex: 1; overflow-y: auto; padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
}
.np-chat__msg {
    max-width: 88%; padding: 9px 12px; border-radius: 12px;
    font-size: 14px; line-height: 1.5;
    white-space: pre-wrap; overflow-wrap: anywhere;
}
.np-chat__msg a { color: #fff; text-decoration: underline; }
.np-chat__msg--bot  { align-self: flex-start; background: var(--bg-elevated); border: 1px solid var(--border); }
.np-chat__msg--user { align-self: flex-end; background: var(--brand); color: #fff; }
.np-chat__msg--wait { color: var(--text-muted); }

.np-chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); }
.np-chat__input {
    flex: 1; min-width: 0; padding: 10px 12px;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    font: 16px/1.3 var(--font);   /* 16px: iOS odaklaninca yakinlastirmasin */
}
.np-chat__input:focus { outline: none; border-color: var(--brand); }
.np-chat__send {
    padding: 0 14px; border: 0; border-radius: var(--radius-sm);
    background: var(--brand); color: #fff; font: 600 14px/1 var(--font); cursor: pointer;
}
.np-chat__send:disabled { opacity: .5; cursor: default; }
.np-chat__note { margin: 0; padding: 0 12px 10px; font-size: 11.5px; color: var(--text-dim); }

@media (max-width: 480px) {
    .np-chat__panel {
        right: 0; bottom: 0; width: 100vw; max-width: 100vw;
        height: 100%; max-height: 100%; border-radius: 0; border: 0;
    }
}

/* --- mobil ve hizalama duzeltmeleri ------------------------------------ */

.np-pricing + .np-section { border-top: 1px solid var(--border); }

/* Upload: eski Bootstrap duzeninden kalan satir ici stiller (margin-left:15px;
   width:97%) butonlari panelden tasiriyordu. Isaretlemeye dokunmadan ezilir. */
.np-panel .np-btn[style*="97%"],
.np-modal .np-btn[style*="97%"] { width: 100% !important; margin-left: 0 !important; }
.np-panel .row,
.np-modal .row { margin-left: 0 !important; }

.np-panel hr,
.np-modal hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
.np-panel label,
.np-modal label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; }
.np-urlrow { margin-bottom: 12px; }
.np-panel .np-input + .np-input { margin-top: 10px; }

@media (max-width: 620px) {
    .np-device { padding-right: 0; }
    .np-pricing { padding: 30px 0 34px; }
    .np-panel { padding: 18px; }
    .np-footer__top { padding-bottom: 8px; }
    .np-modal .np-btn { padding-left: 16px !important; padding-right: 16px !important; }
}

.np-chat__msg { flex-shrink: 0; }
