/* Node.js Hosting (2026-12-01) — pages/hosting/nodejs-hosting.php. DS kapsamı body.is-ds; servers.css yüklenmez (dönem geçişi kuralları burada). */

body.is-ds .njs-hero { padding-bottom: 56px; }
body.is-ds .njs-usps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
body.is-ds .njs-usps li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 600; }
body.is-ds .njs-usps li i { color: var(--green); font-size: 17px; }

/* Aylık / yıllık geçişi (sc-cards.js) */
body.is-ds .njs-cycle { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 8px auto 36px; padding: 4px; background: #fff; border: 1px solid var(--border); border-radius: 999px; }
body.is-ds .njs-cycle .sc-cycle-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--body); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
body.is-ds .njs-cycle .sc-cycle-btn:hover { color: var(--ink); }
body.is-ds .njs-cycle .sc-cycle-btn.is-active { background: #EA580C; color: #fff; box-shadow: 0 2px 8px rgba(234, 88, 12, .35); }
body.is-ds .njs-cycle .sc-cycle-btn:focus-visible { outline: 3px solid #fdba74; outline-offset: 2px; }
body.is-ds .njs-cycle .sc-cycle-pill { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: 12px; font-weight: 700; }
body.is-ds .njs-cycle .sc-cycle-btn:not(.is-active) .sc-cycle-pill { background: var(--green-l); color: #15803d; }
body.is-ds .njs-cards .pv-m, body.is-ds .njs-cards .pv-b, body.is-ds .njs-cards .pv-t { display: none; }
body.is-ds .njs-cards.show-monthly .pv-y, body.is-ds .njs-cards.show-biennially .pv-y, body.is-ds .njs-cards.show-triennially .pv-y { display: none; }
body.is-ds .njs-cards.show-monthly .pv-m, body.is-ds .njs-cards.show-biennially .pv-b, body.is-ds .njs-cards.show-triennially .pv-t { display: block; }
body.is-ds .njs-xsave { display: inline-block; max-width: 100%; text-align: left; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; white-space: normal; box-shadow: 0 2px 8px rgba(16, 185, 129, .3); }
body.is-ds .njs-xsave i { margin-right: 4px; }
body.is-ds .njs-xsave strong { color: inherit; font-weight: 700; }

/* Paket kartları */
body.is-ds .njs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
body.is-ds .njs-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; overflow: visible; transition: transform .2s, box-shadow .2s; }
body.is-ds .njs-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 23, 42, .08); }
body.is-ds .njs-card.is-best { border: 2px solid var(--orange); box-shadow: var(--sh-popular); }
body.is-ds .njs-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%); color: #1a1a1a; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 8px rgba(255, 193, 7, .4); }
body.is-ds .njs-ribbon i { margin-right: 4px; }
body.is-ds .njs-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
body.is-ds .njs-card-head .icon-cap { width: 44px; height: 44px; flex-shrink: 0; }
body.is-ds .njs-card-head .icon-cap img { width: 24px; height: 24px; }
body.is-ds .njs-card-head h2 { margin: 0; font-size: 20px; }
body.is-ds .njs-tag { margin: 2px 0 0; color: var(--body); font-size: 14px; }

body.is-ds .njs-price { min-height: 128px; padding: 16px 0; border-top: 1px solid var(--border-s); border-bottom: 1px solid var(--border-s); }
body.is-ds .njs-old { color: var(--muted); font-size: 14px; text-decoration: line-through; }
body.is-ds .njs-now { color: var(--ink); font-size: 34px; font-weight: 800; line-height: 1.15; }
body.is-ds .njs-now small { font-size: 15px; font-weight: 600; color: var(--body); }
body.is-ds .njs-note { margin-top: 4px; color: var(--body); font-size: 13px; }

body.is-ds .njs-proc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 2px; padding: 8px 10px; border-radius: 10px; background: var(--orange-l); border: 1px solid #FED7AA; }
body.is-ds .njs-proc-lbl { margin-right: auto; color: #9A3412; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
body.is-ds .njs-proc-lbl i { margin-right: 4px; }
body.is-ds .njs-proc-val { padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--body); font-size: 12px; font-weight: 600; white-space: nowrap; }
body.is-ds .njs-proc-val strong { color: var(--ink); font-size: 14px; font-weight: 800; margin-left: 2px; }

body.is-ds .njs-feats { list-style: none; margin: 12px 0 20px; padding: 0; }
body.is-ds .njs-feats li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; color: var(--body); font-size: 15px; border-bottom: 1px dashed var(--border-s); }
body.is-ds .njs-feats li:last-child { border-bottom: 0; }
body.is-ds .njs-feats li i { width: 16px; color: var(--orange); text-align: center; flex-shrink: 0; }
body.is-ds .njs-feats li strong { color: var(--ink); }
body.is-ds .njs-card .btn-buy { margin-top: auto; width: 100%; padding: 12px 16px; font-size: 15px; font-weight: 700; border-radius: 10px; }

body.is-ds .njs-common { max-width: 900px; margin: 28px auto 0; text-align: center; color: var(--body); font-size: 14px; line-height: 1.7; }
body.is-ds .njs-common i { color: var(--orange); margin-right: 6px; }

/* Teknoloji şeridi */
body.is-ds .njs-tech { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
body.is-ds .njs-tech li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px; text-align: center; }
body.is-ds .njs-tech-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 30px; }
body.is-ds .njs-tech-logo img { max-width: 36px; max-height: 36px; }
body.is-ds .njs-tech strong { color: var(--ink); font-size: 16px; font-weight: 700; }
body.is-ds .njs-tech span:last-child { color: var(--body); font-size: 13px; }

/* Ortak kart ızgarası */
body.is-ds .njs-grid { display: grid; gap: 20px; }
body.is-ds .njs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.is-ds .njs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.is-ds .njs-item { display: flex; flex-direction: column; padding: 24px 24px 22px; transition: transform .2s, box-shadow .2s; }
body.is-ds .njs-item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 23, 42, .08); }
body.is-ds .njs-item-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
body.is-ds .njs-item-head .icon-cap { width: 44px; height: 44px; font-size: 17px; flex-shrink: 0; }
body.is-ds .njs-item-head h3 { margin: 0; }
body.is-ds .njs-item .t-body { margin: 0; }

/* Adımlar */
body.is-ds .njs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
body.is-ds .njs-steps li { position: relative; padding: 26px 22px 22px; }
body.is-ds .njs-step-no { position: absolute; top: 16px; right: 18px; color: var(--border); font-size: 34px; font-weight: 900; line-height: 1; }
body.is-ds .njs-steps .icon-cap { width: 44px; height: 44px; font-size: 17px; margin-bottom: 14px; }
body.is-ds .njs-steps h3 { margin: 0 0 8px; }
body.is-ds .njs-steps .t-body { margin: 0; }

/* Karşılaştırma — üst paket kutuları + açılır gruplar (CSS grid, tablo yok) */
body.is-ds .njs-cmp { --njs-cols: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); }
body.is-ds .njs-cmp-heads { display: grid; grid-template-columns: var(--njs-cols); gap: 0 10px; align-items: end; margin-bottom: -1px; }
body.is-ds .njs-cmp-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 16px; background: #fff; border: 1px solid var(--border); border-bottom: 0; border-radius: 16px 16px 0 0; text-align: center; }
body.is-ds .njs-cmp-tile.is-best { background: var(--orange-l); border-color: #FDBA74; border-top: 3px solid var(--orange); }
body.is-ds .njs-cmp-tile img { width: 44px; height: 44px; }
body.is-ds .njs-cmp-tile strong { color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.2; }
body.is-ds .njs-cmp-price { color: var(--ink); font-size: 20px; font-weight: 800; }
body.is-ds .njs-cmp-price small { margin-left: 2px; color: var(--body); font-size: 13px; font-weight: 600; }
body.is-ds .njs-cmp-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 18px; border-radius: 8px; border: 1.5px solid #CBD5E1; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
body.is-ds .njs-cmp-buy:hover { background: #FFF7ED; border-color: #EA580C; color: #C2410C; text-decoration: none; }
body.is-ds .njs-cmp-buy.is-best { background: #EA580C; border-color: #EA580C; color: #fff; }
body.is-ds .njs-cmp-buy.is-best:hover { background: #C2410C; border-color: #C2410C; color: #fff; }
body.is-ds .njs-cmp-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%); color: #1a1a1a; font-size: 11px; font-weight: 700; white-space: nowrap; }

body.is-ds .njs-cmp-group { border: 1px solid var(--border); border-top: 0; background: #fff; }
body.is-ds .njs-cmp-group:first-of-type { border-top: 1px solid var(--border); border-radius: 14px 14px 0 0; overflow: hidden; }
body.is-ds .njs-cmp-group:last-of-type { border-radius: 0 0 14px 14px; overflow: hidden; }
body.is-ds .njs-cmp-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; background: #F8FAFC; border-left: 4px solid var(--orange); color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; user-select: none; }
body.is-ds .njs-cmp-sum::-webkit-details-marker { display: none; }
body.is-ds .njs-cmp-sum i:first-child { margin-right: 6px; color: var(--orange); }
body.is-ds .njs-cmp-chev { color: var(--body); font-size: 13px; transition: transform .2s; }
body.is-ds .njs-cmp-group:not([open]) .njs-cmp-chev { transform: rotate(180deg); }
body.is-ds .njs-cmp-sum:focus-visible { outline: 3px solid #fdba74; outline-offset: -3px; }

body.is-ds .njs-cmp-row { display: grid; grid-template-columns: var(--njs-cols); gap: 0 10px; border-top: 1px solid var(--border-s); }
body.is-ds .njs-cmp-row:nth-of-type(even) { background: #FCFCFD; }
body.is-ds .njs-cmp-label { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 16px; }
body.is-ds .njs-cmp-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: #F1F5F9; color: #475569; font-size: 14px; }
body.is-ds .njs-cmp-ico img { width: 18px; height: 18px; }
body.is-ds .njs-cmp-name { color: var(--ink); font-size: 14px; font-weight: 600; }
body.is-ds .njs-cmp-cell { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; color: var(--ink); font-size: 14px; font-weight: 700; text-align: center; }
body.is-ds .njs-cmp-cell.is-best { background: rgba(255, 241, 226, .7); }
body.is-ds .njs-v-ico { color: var(--orange); }
body.is-ds .njs-v-inf i { color: var(--orange); margin-right: 2px; }
body.is-ds .njs-v-yes, body.is-ds .njs-v-no { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; }
body.is-ds .njs-v-yes { background: var(--green-l); color: #15803D; }
body.is-ds .njs-v-no { background: #FEE2E2; color: #B91C1C; }

/* ? açıklama balonu (hover + klavye odağı) */
body.is-ds .njs-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #CBD5E1; color: #64748B; font-size: 11px; font-weight: 700; cursor: help; }
body.is-ds .njs-tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: 260px; padding: 8px 11px; border-radius: 8px; background: #0F172A; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
body.is-ds .njs-tip:hover::after, body.is-ds .njs-tip:focus::after { opacity: 1; visibility: visible; }
body.is-ds .njs-tip:focus-visible { outline: 2px solid #fdba74; outline-offset: 2px; }

/* VPS yönlendirme */
body.is-ds .njs-vps { max-width: 860px; margin: 0 auto; padding: 28px 32px; }
body.is-ds .njs-vps ul { list-style: none; margin: 0 0 20px; padding: 0; }
body.is-ds .njs-vps li { display: flex; gap: 10px; padding: 8px 0; color: var(--ink); font-size: 15px; border-bottom: 1px dashed var(--border-s); }
body.is-ds .njs-vps li i { color: var(--orange); margin-top: 4px; }
body.is-ds .njs-vps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
body.is-ds .njs-link { color: var(--orange-d); font-weight: 600; font-size: 14px; }

@media (max-width: 991px) {
    body.is-ds .njs-cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; gap: 28px; }
    body.is-ds .njs-card:hover { transform: none; }
    body.is-ds .njs-grid--3, body.is-ds .njs-grid--4, body.is-ds .njs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body.is-ds .njs-cmp { --njs-cols: repeat(3, minmax(0, 1fr)); }
    body.is-ds .njs-cmp-heads { gap: 0 6px; }
    body.is-ds .njs-cmp-corner { display: none; }
    body.is-ds .njs-cmp-tile { padding: 16px 6px 12px; gap: 4px; }
    body.is-ds .njs-cmp-tile img { width: 30px; height: 30px; }
    body.is-ds .njs-cmp-tile strong { font-size: 14px; }
    body.is-ds .njs-cmp-price { font-size: 15px; }
    body.is-ds .njs-cmp-buy { min-height: 34px; padding: 6px 10px; font-size: 12px; }
    body.is-ds .njs-cmp-flag { font-size: 10px; padding: 2px 8px; }
    body.is-ds .njs-cmp-sum { padding: 13px 14px; font-size: 15px; }
    body.is-ds .njs-cmp-row { gap: 0 6px; }
    body.is-ds .njs-cmp-label { grid-column: 1 / -1; padding: 10px 12px 2px; }
    body.is-ds .njs-cmp-ico { width: 26px; height: 26px; font-size: 12px; }
    body.is-ds .njs-cmp-name { font-size: 13px; }
    body.is-ds .njs-cmp-cell { padding: 6px 4px 10px; font-size: 13px; }
    body.is-ds .njs-tip::after { left: auto; right: -8px; transform: none; max-width: 220px; }
}
@media (max-width: 575px) {
    body.is-ds .njs-grid--3, body.is-ds .njs-grid--4, body.is-ds .njs-steps { grid-template-columns: minmax(0, 1fr); }
    body.is-ds .njs-usps { flex-direction: column; align-items: center; gap: 8px; }
    body.is-ds .njs-cycle { border-radius: 18px; }
    body.is-ds .njs-cycle .sc-cycle-btn { flex: 1 1 calc(50% - 4px); justify-content: center; padding: 9px 10px; font-size: 13px; }
    body.is-ds .njs-now { font-size: 30px; }
    body.is-ds .njs-vps { padding: 20px 18px; }
}

/* Terminal (SSH) rehberi — açılır kapanır */
body.is-ds .njs-guide { max-width: 860px; margin: 36px auto 0; }
body.is-ds .njs-guide-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
body.is-ds .njs-guide-title i { color: var(--orange); }
body.is-ds .njs-guide-item { margin: 0 0 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
body.is-ds .njs-guide-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; user-select: none; }
body.is-ds .njs-guide-item summary::-webkit-details-marker { display: none; }
body.is-ds .njs-guide-item summary span i { width: 18px; margin-right: 8px; color: var(--orange); text-align: center; }
body.is-ds .njs-guide-item summary:focus-visible { outline: 3px solid #fdba74; outline-offset: -3px; }
body.is-ds .njs-guide-chev { flex-shrink: 0; color: var(--body); font-size: 13px; transition: transform .2s; }
body.is-ds .njs-guide-item[open] { border-color: #FED7AA; }
body.is-ds .njs-guide-item[open] .njs-guide-chev { transform: rotate(180deg); }
body.is-ds .njs-guide-body { padding: 0 18px 16px 44px; color: var(--body); font-size: 15px; line-height: 1.6; }
body.is-ds .njs-guide-body p { margin: 0 0 8px; }
body.is-ds .njs-guide-body p:last-child { margin-bottom: 0; }
body.is-ds .njs-guide-body code { padding: 1px 6px; border-radius: 5px; background: #F1F5F9; color: #0F172A; font-size: 13.5px; }
body.is-ds .njs-guide-body pre { margin: 0 0 8px; padding: 12px 14px; border-radius: 8px; background: #0F172A; overflow-x: auto; }
body.is-ds .njs-guide-body pre code { padding: 0; background: none; color: #E2E8F0; white-space: pre; }
@media (max-width: 575px) {
    body.is-ds .njs-guide-item summary { padding: 13px 14px; font-size: 14px; }
    body.is-ds .njs-guide-body { padding: 0 14px 14px; font-size: 14px; }
}
body.is-ds .njs-feats li.njs-feat-node { align-items: center; }
body.is-ds .njs-feats li.njs-feat-node img { width: 16px; height: 16px; flex-shrink: 0; }
