/* ============================================
   IzDesk sayfası: yalnız bu sayfaya özgü kurallar. Sıra: lisans oluşturucu (şu an sayfaya dahil edilmiyor; ücretli modele dönüş için
   duruyor), iki sütunlu yüzeyler, indirme, hero, ücretsiz kullanım bölümü.
   Ortak bileşenler (.cs-*) cloudserver.css, hero iskeleti hero-stack.css, içerik bölümleri product-content.css içindedir ve bu dosyadan önce yüklenir.
   ============================================ */

/* ---- Lisans oluşturucu ---- */
.izd-loading { margin: 0; padding: 24px 0; text-align: center; font-size: 15px; color: var(--hm-ink-2); }
.izd-hide, .izd-save-wrap { display: none; }
.izd-cfg-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 32px; }
.izd-lic-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.izd-lic-h label { font-size: 15px; font-weight: 600; color: var(--hm-ink); }
.izd-badge { min-width: 56px; padding: 6px 10px; border-radius: 8px; background: var(--hm-tint); color: var(--hm-blue-700); text-align: center; font: 700 16px/1.2 var(--hm-display); font-variant-numeric: tabular-nums; }

.izd-slider { position: relative; padding-top: 42px; }
.izd-bubble { position: absolute; top: 6px; left: 9px; transform: translateX(-50%); padding: 3px 9px; border-radius: 6px; background: var(--hm-navy-900); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.izd-range { display: block; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.izd-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--hm-blue-600) calc(var(--val, 0) * 1%), var(--hm-line) 0); }
.izd-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--hm-line); }
.izd-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--hm-blue-600); }
.izd-range::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6px; border: 2px solid #fff; border-radius: 50%; background: var(--hm-blue-600); -webkit-appearance: none; appearance: none; }
.izd-range::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: var(--hm-blue-600); }
.izd-range:focus-visible, .cs .billing-tab:focus-visible { outline: 2px solid var(--hm-blue-600); outline-offset: 2px; }
.cs .izd-limits { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--hm-ink-2); opacity: 1; }

.izd-summary { padding-left: 32px; border-left: 1px solid var(--hm-line); }
.izd-sum-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cs .izd-sum-h h3 { font-size: 16px; }
.izd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hm-line); font-size: 14px; color: var(--hm-ink-2); font-variant-numeric: tabular-nums; }
.izd-row b { color: var(--hm-ink); font-weight: 600; white-space: nowrap; }

.izd-billing { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0; padding: 4px; border-radius: 10px; background: var(--hm-tint); }
.cs .billing-tab { flex: 1 1 auto; min-height: 38px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; box-shadow: none; color: var(--hm-ink-2); font: 600 14px/1 var(--font-body); white-space: nowrap; cursor: pointer; }
.cs .billing-tab small { font-size: 14px; color: var(--hm-blue-700); }
.cs .billing-tab.active { background: #fff; box-shadow: none; color: var(--hm-ink); }

.izd-period { display: block; font-size: 14px; color: var(--hm-ink-2); }
.izd-total { margin: 4px 0; font: 700 clamp(1.75rem, 2.6vw, 2.125rem)/1.15 var(--hm-display); letter-spacing: -.02em; color: var(--hm-ink); font-variant-numeric: tabular-nums; }
.izd-save { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--hm-tint); color: var(--hm-blue-700); font-size: 14px; font-weight: 600; }
.cs .izd-add { width: 100%; margin-top: 16px; border: 0; cursor: pointer; }
.izd-vat { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--hm-ink-2); }

/* ---- İki sütunlu yüzeyler ---- */
.izd-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.izd-duo article { padding: 24px; border: 1px solid var(--hm-line); border-radius: 14px; background: #fff; }
.cs .izd-duo h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.15rem, 1.7vw, 1.3rem); }
.izd-duo h3 .cs-i { font-size: 24px; color: var(--hm-blue-600); }
.izd-duo article > p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--hm-ink-2); }
.izd-duo .cs-checks { margin-top: 14px; }

/* ---- İndirme ---- */
.izd-dl-h { display: flex; align-items: center; gap: 12px; }
.izd-dl-h > .cs-i { font-size: 28px; color: var(--hm-blue-600); }
.izd-dl-h span { display: block; margin-top: 2px; font-size: 14px; color: var(--hm-ink-2); }
.izd-dl-h b { margin-left: auto; padding: 4px 10px; border-radius: 6px; background: var(--hm-tint); color: var(--hm-blue-700); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.izd-dl-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cs .cs-btn.izd-dl-btn { flex: 1 1 120px; justify-content: center; border: 1px solid var(--hm-blue-600); color: var(--hm-blue-700); }
.cs .cs-btn.izd-dl-btn:hover { background: var(--hm-tint); }

/* ---- Duyarlı ---- */
@media (max-width: 960px) {
    .izd-cfg-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .izd-summary { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--hm-line); }
    .izd-duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .izd-duo article { padding: 18px 16px; }
}

/* ============================================
   Hero (pages/izdesk + pages/izdesk/hero-viz). Düzen, yazı ölçüleri, zemin ve görsel kutusu ortak ürün hero
   standardından gelir (hero-stack.css, .hs-cloud); burada yalnız sahnenin içi ve dar ekran (720 px ve altı) düzeni tanımlanır.
   Sahne: Türkiye haritası, sunucu yığını, kalkan ve kilit, dizüstü, dört onaylı cihaz. 920 × 576 birimlik kutudur (.izd-sc);
   cihazlar bu kutuya yüzdeyle yerleşir. Sahnede yazı yoktur. Betik yok.
   ============================================ */

/* Standarda bildirilen oranlar: çizilen alan kutunun %97,8'i genişliğinde, %60,9'u yüksekliğindedir */
.hs-cloud .izd-viz { --hs-fw: .9783; --hs-fh: .6087; --hs-dx: -.2; --hs-dy: .9; --hs-lx: 1.2; overflow: visible; }

/* ---- Sahne ---- */
.izd-sc { position: relative; width: 100%; aspect-ratio: 920 / 576; }
/* Haritanın arkasında ortak zeminin nokta deseni kısılır: iki nokta dokusu üst üste binip gürültü yapmasın */
.izd-sc::before { content: ""; position: absolute; left: 14%; top: -7%; width: 78%; height: 50%; background: radial-gradient(closest-side, rgb(6 32 51 / .82), rgb(6 32 51 / .6) 55%, rgb(6 32 51 / 0)); pointer-events: none; }
.izd-sc-c { position: absolute; inset: 0; }
.izd-art { display: block; width: 100%; height: 100%; overflow: visible; }
.izd-m { display: none; fill: none; stroke: #a6d6f7; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 5; }
.izd-devs { display: contents; }
.izd-dev { position: absolute; width: 15.217%; aspect-ratio: 140 / 116; height: auto; overflow: visible; } /* 140 / 920 */
.izd-dev-1, .izd-dev-2 { left: 1.304%; }  /* 12 / 920 */
.izd-dev-3, .izd-dev-4 { left: 84.783%; } /* 780 / 920 */
.izd-dev-1, .izd-dev-3 { top: 32.292%; }  /* 186 / 576 */
.izd-dev-2, .izd-dev-4 { top: 58.333%; }  /* 336 / 576 */
.izd-ln-d { stroke-dasharray: 7 6; }

/* Kilit parlaması: fare sahnenin üzerindeyken ya da klavye odağı hero düğmelerindeyken kalkan ve kilit aydınlanır.
   Parlama ayrı bir katmandır (.izd-lit: hale, kenar ışığı, beyaz kilit) ve yalnız saydamlığı değişir; hiçbir gruba filtre uygulanmaz.
   Dokunmatik ekranda (hover yok) katman yarı açık durur, böylece durağan hâl sönük kalmaz. */
.izd-lit { opacity: 0; transition: opacity .6s var(--hm-ease); }
.izd-viz:hover .izd-lit, .izd-hero .hs-grid:has(:focus-visible) .izd-lit { opacity: 1; transition-duration: .35s; }
@media (hover: none) {
    .izd-lit { opacity: .45; }
}

/* ---- Hareket: bağlantı çizgilerinde dizüstünden cihazlara akan kesikler; azaltılmış harekette durur ---- */
@media (prefers-reduced-motion: no-preference) {
    .izd-ln-d { animation: izd-flow 1.8s linear infinite; }
}
@keyframes izd-flow { to { stroke-dashoffset: -26; } }

/* ---- Dar ekran ---- */
/* 720 ve altı: sahnenin ortası (kutunun 170–750 arası) ortalanır, kenarları söner; bağlantı çizgileri gizlenir, dört cihaz alt sıraya iner */
@media (max-width: 720px) {
    .hs-cloud .izd-viz { margin-block: 22px 0; }
    .izd-sc { display: grid; justify-items: center; aspect-ratio: auto; }
    .izd-sc::before { left: 50%; top: -2%; width: min(100%, 440px); height: 170px; transform: translateX(-50%); }
    .izd-sc-c { position: relative; inset: auto; width: min(100%, 420px); aspect-ratio: 580 / 576; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
    .izd-art { position: absolute; left: -29.31%; top: 0; width: 158.62%; max-width: none; height: 100%; } /* 170 / 580, 920 / 580 */
    .izd-ln { display: none; }
    .izd-m { position: relative; display: block; width: min(100%, 420px); height: 34px; margin-top: -4px; }
    .izd-devs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 420px); }
    .izd-dev { position: static; justify-self: center; width: min(100%, 92px); }
}
/* 520 px ve altı: şeridin iki sütunu etiketleri böler; tek sütuna iner */
@media (max-width: 520px) {
    .cs .izd-hero .hs-grid .cs-metrics { grid-template-columns: minmax(0, 1fr); gap: 14px 0; }
}

/* ============================================
   Ücretsiz kullanım bölümü (pages/izdesk/free): hero'ya binen beyaz panel, lisans yapılandırıcısının yerinde.
   Üstte durum cümlesi; altında iki yol yan yana: solda doğrudan indirme (çerçeveli düğme), sağda firmaya özel kurulum,
   kazandırdıkları ve sayfanın tek birincil düğmesi. Birincil düğme mavidir: hero'daki turuncu düğmeyle aynı ekranda görünebilir.
   Düğmenin meşgul (.is-busy) ve hata (.izd-own-err) durumlarını pages/izdesk/script yönetir.
   ============================================ */
.izd-free .cs-panel { padding: 0; }
.izd-free-h { padding: 28px 36px 24px; }
.cs .izd-free h2 { font-size: clamp(1.4rem, 2.1vw, 1.7rem); }
.izd-free-h p { margin: 8px 0 0; max-width: 46em; font-size: 15.5px; line-height: 1.55; color: var(--hm-ink-2); }
.izd-free-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-top: 1px solid var(--hm-line); }
.izd-free-a, .izd-free-b { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 36px 28px; }
.izd-free-b { border-left: 1px solid var(--hm-line); }
.cs .izd-free h3 { font-size: 17px; }
.izd-free-in p { margin: 6px 0 0; max-width: 36em; font-size: 15px; line-height: 1.55; color: var(--hm-ink-2); }
.cs .izd-free h4 { margin: 18px 0 0; font: 600 14.5px/1.3 var(--font-body); letter-spacing: 0; color: var(--hm-ink); }
.izd-free-b .cs-checks { width: 100%; gap: 9px 24px; margin-top: 10px; }
.izd-free-b .cs-checks li { font-size: 14.5px; color: var(--hm-ink); }
.izd-free-a > p, .izd-free-b .cs-checks { margin-bottom: 20px; }
.cs .cs-btn.izd-free-dl { min-height: 48px; padding: 0 20px; border: 1px solid var(--hm-blue-600); color: var(--hm-blue-700); font-size: 15px; }
.cs .cs-btn.izd-free-dl:hover { background: var(--hm-tint); color: var(--hm-blue-700); }
.izd-free-act { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cs .izd-own { min-height: 48px; padding: 8px 22px; border: 0; font-size: 15px; line-height: 1.25; cursor: pointer; }
.cs .izd-own:focus-visible { outline: 2px solid var(--hm-blue-600); outline-offset: 3px; }
.izd-own .izd-spin { display: none; flex: none; width: 16px; height: 16px; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; border-radius: 50%; }
.cs .izd-own.is-busy { background: var(--hm-blue-700); cursor: default; }
.izd-own.is-busy > .cs-i { display: none; }
.izd-own.is-busy .izd-spin { display: block; animation: izd-spin .7s linear infinite; }
@keyframes izd-spin { to { transform: rotate(360deg); } }
.izd-free-in .izd-own-err { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #b42318; }
.izd-own-err[hidden] { display: none; }
.izd-free-n { margin: 0; padding: 13px 36px 14px; border-top: 1px solid var(--hm-line); font-size: 14px; line-height: 1.5; color: var(--hm-ink-2); }
@media (max-width: 1100px) {
    .izd-free-b .cs-checks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .izd-free-in { grid-template-columns: minmax(0, 1fr); }
    .izd-free-h, .izd-free-a, .izd-free-b { padding: 22px 24px 24px; }
    .izd-free-b { border-left: 0; border-top: 1px solid var(--hm-line); }
    .izd-free-n { padding-inline: 24px; }
}
@media (max-width: 520px) {
    .izd-free-h, .izd-free-a, .izd-free-b { padding: 20px 18px 22px; }
    .izd-free-n { padding-inline: 18px; }
    .cs .cs-btn.izd-free-dl, .cs .izd-own { width: 100%; }
    .cs .izd-own { padding: 8px 14px; }
}
@media (max-width: 400px) {
    .izd-own > .cs-i { display: none; } /* dar ekranda etiket olabildiğince tek satırda kalsın */
}
