/* ==========================================================================
   NovaPrime — Bilgi & Yasal Sayfa Düzeni (SSS, Hakkımızda, Kariyer, KVKK...)
   assets/global_nav_theme.css'ten SONRA yüklenir; tema değişkenlerini kullanır.
   ========================================================================== */

body.np-body {
    margin: 0;
    background: var(--bg-page, #0a0a0e);
    color: var(--text-main, #f3f3f8);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.np-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 88px;
}

.np-narrow {
    max-width: 860px;
}

/* ---------------------------------------------------------------- Başlık */
.np-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--primary, #8182f8);
    background: rgba(var(--primary-rgb, 129, 130, 248), 0.12);
    border: 1px solid rgba(var(--primary-rgb, 129, 130, 248), 0.3);
    border-radius: 999px;
    padding: 7px 15px;
    margin: 0;
}

.np-eyebrow i {
    font-size: 11px;
}

.np-title {
    margin: 20px 0 14px;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(30px, 4.6vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-main, #f3f3f8);
}

.np-title span {
    color: var(--primary, #8182f8);
}

.np-lead {
    margin: 0;
    max-width: 780px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted, #8e8ea2);
}

.np-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-dim, #606075);
}

.np-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* -------------------------------------------------------------- Bölümler */
.np-section {
    margin-top: 48px;
}

.np-section > h2 {
    margin: 0 0 14px;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main, #f3f3f8);
}

.np-section > h3 {
    margin: 26px 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main, #f3f3f8);
}

.np-section p,
.np-section li {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text-muted, #8e8ea2);
}

.np-section p {
    margin: 0 0 14px;
}

.np-section a {
    color: var(--primary, #8182f8);
    text-decoration: none;
}

.np-section a:hover {
    text-decoration: underline;
}

.np-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.np-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.np-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    line-height: 1.7;
    color: var(--primary, #8182f8);
    flex-shrink: 0;
}

.np-list.np-list-plain li::before {
    content: "\f054";
    font-size: 10px;
}

/* -------------------------------------------------------------- Kartlar */
.np-grid {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.np-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.np-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.np-card {
    background: var(--bg-card, #14141e);
    border: 1px solid var(--border-color, #242434);
    border-radius: 16px;
    padding: 22px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.np-card:hover {
    border-color: rgba(var(--primary-rgb, 129, 130, 248), 0.45);
    transform: translateY(-2px);
}

.np-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--primary, #8182f8);
    background: rgba(var(--primary-rgb, 129, 130, 248), 0.12);
    border: 1px solid rgba(var(--primary-rgb, 129, 130, 248), 0.28);
}

.np-card h3 {
    margin: 0 0 8px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-main, #f3f3f8);
}

.np-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-muted, #8e8ea2);
}

.np-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-muted, #8e8ea2);
}

/* ------------------------------------------------------------------ SSS */
.np-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.np-faq details {
    background: var(--bg-card, #14141e);
    border: 1px solid var(--border-color, #242434);
    border-radius: 14px;
    overflow: hidden;
}

.np-faq details[open] {
    border-color: rgba(var(--primary-rgb, 129, 130, 248), 0.45);
}

.np-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-main, #f3f3f8);
    list-style: none;
}

.np-faq summary::-webkit-details-marker {
    display: none;
}

.np-faq summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--primary, #8182f8);
    transition: transform 0.2s ease;
}

.np-faq details[open] summary::after {
    transform: rotate(180deg);
}

.np-faq-body {
    padding: 0 20px 19px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted, #8e8ea2);
}

/* ----------------------------------------------------------- CTA / not */
.np-cta {
    margin-top: 54px;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb, 129, 130, 248), 0.3);
    background: radial-gradient(circle at 20% 0%, rgba(var(--primary-rgb, 129, 130, 248), 0.16), transparent 62%),
        var(--bg-card, #14141e);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.np-cta h2 {
    margin: 0 0 6px;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--text-main, #f3f3f8);
}

.np-cta p {
    margin: 0;
    font-size: 14.5px;
    color: var(--text-muted, #8e8ea2);
}

.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--primary, #8182f8);
    color: #0b0b12;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.np-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.np-btn-ghost {
    background: transparent;
    border-color: var(--border-color, #242434);
    color: var(--text-main, #f3f3f8);
}

.np-note {
    margin-top: 40px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-color, #242434);
    background: var(--bg-muted, #111117);
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted, #8e8ea2);
}

.np-updated {
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, #242434);
    font-size: 13px;
    color: var(--text-dim, #606075);
}

/* --------------------------------------------------------------- Mobil */
@media (max-width: 640px) {
    .np-main {
        padding: 40px 18px 64px;
    }

    .np-cta {
        padding: 22px;
    }

    .np-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Yasal metinler — mevcut (SSR) sözleşme sayfaları için tipografi katmanı
   #npLegal sarmalayıcısı içindeki Tailwind sınıflarını ezer.
   ========================================================================== */
#npLegal h1 {
    margin: 0 0 18px;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

#npLegal h2 {
    margin: 40px 0 12px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

#npLegal h2:first-of-type {
    margin-top: 26px;
    padding-top: 0;
    border-top: 0;
}

#npLegal h4 {
    margin: 30px 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

#npLegal h5 {
    margin: 22px 0 8px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
}

#npLegal p,
#npLegal li {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text-muted);
}

#npLegal p {
    margin: 0 0 14px;
}

#npLegal ul {
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: disc;
}

#npLegal li {
    margin-bottom: 8px;
}

#npLegal hr {
    margin: 26px 0;
    border: 0;
    border-top: 1px solid var(--border-color);
}

#npLegal a {
    color: var(--primary);
}

/* ==========================================================================
   Sürüm notları (changelog) — zaman tüneli
   ========================================================================== */
.np-timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.np-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 129, 130, 248), 0.55), rgba(var(--primary-rgb, 129, 130, 248), 0.06));
}

.np-release {
    position: relative;
    background: var(--bg-card, #14141e);
    border: 1px solid var(--border-color, #242434);
    border-radius: 16px;
    padding: 22px 24px;
}

.np-release::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 26px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-page, #0a0a0e);
    border: 2px solid var(--primary, #8182f8);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb, 129, 130, 248), 0.12);
}

.np-release-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.np-version {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary, #8182f8);
    background: rgba(var(--primary-rgb, 129, 130, 248), 0.12);
    border: 1px solid rgba(var(--primary-rgb, 129, 130, 248), 0.3);
    border-radius: 8px;
    padding: 5px 11px;
}

.np-release-date {
    font-size: 13px;
    color: var(--text-dim, #606075);
}

.np-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 11px;
    border: 1px solid transparent;
}

.np-tag-new {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
}

.np-tag-improve {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
}

.np-tag-fix {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.np-tag-security {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.3);
}

.np-release h3 {
    margin: 0 0 12px;
    font-size: 17.5px;
    font-weight: 700;
    color: var(--text-main, #f3f3f8);
}

.np-release .np-list {
    margin: 0;
    gap: 9px;
}

.np-release .np-list li {
    font-size: 14.5px;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .np-timeline {
        padding-left: 22px;
    }

    .np-release {
        padding: 18px;
    }

    .np-release::before {
        left: -22px;
        width: 13px;
        height: 13px;
    }
}
