@charset "UTF-8";
/* ==========================================================================
   Texrun sayfası  —  /assets/css/texrun.css  (v1.0)
   Tüm seçiciler .tx- öneklidir ve .tx-page altında çalışır.
   Sitenin app.css değişkenlerine (--primary vb.) bağımlı değildir.
   ========================================================================== */

.tx-page {
  --tx-blue: #004fa2;        /* Texrun logo mavisi */
  --tx-blue-site: #003f93;   /* sitenin mavisi (hover) */
  --tx-navy: #1b366c;        /* datasheet bandı */
  --tx-navy-deep: #0f2350;
  --tx-sky: #a4cdff;
  --tx-surface: #f2f4f6;
  --tx-border: #dfdfdf;
  --tx-text: #181a1b;
  --tx-text-2: #5a5b5e;
  --tx-muted: #9a9da3;
  --tx-radius: 8px;
  --tx-ease: 200ms ease;
  --tx-header-h: 92px;       /* JS: sitenin fixed header yüksekliği */
  --tx-nav-h: 56px;          /* JS: yapışkan çubuğun yüksekliği */

  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tx-text);
  background: #fff;
}

/* --- temel sıfırlamalar (yalnızca .tx-page altında) ----------------------- */
.tx-page *, .tx-page *::before, .tx-page *::after { box-sizing: border-box; }
.tx-page img { max-width: 100%; height: auto; display: block; }
.tx-page h1, .tx-page h2, .tx-page h3 { font-family: 'Montserrat', sans-serif; margin: 0; color: inherit; }
.tx-page p, .tx-page ul, .tx-page dl { margin: 0; }
.tx-page ul { list-style: none; padding: 0; }
.tx-page :where(a) { color: var(--tx-blue); text-decoration: none; }
.tx-page :focus-visible { outline: 2px solid var(--tx-blue); outline-offset: 3px; }
.tx-page svg { flex: none; }

/* Genişlik ve kenar boşluğu sitenin .container sınıfından gelir (header ile aynı hizada). */
.tx-container { width: 100%; }

/* --- İnce banner ---------------------------------------------------------- */
.tx-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, var(--tx-navy-deep) 0%, var(--tx-navy) 46%, #2a56a6 100%);
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}
.tx-banner h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.tx-banner__lead {
  margin-top: 0.625rem;
  font-size: 1.0625rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
}
.tx-banner__rings {
  position: absolute;
  right: -4%; top: 50%;
  width: 560px; height: auto;
  transform: translateY(-50%);
  opacity: 0.07;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .tx-banner .tx-container { animation: tx-rise 0.45s ease-out both; }
  @keyframes tx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* --- Yapışkan bölüm çubuğu -------------------------------------------------- */
.tx-subnav {
  position: -webkit-sticky;
  position: sticky;
  top: var(--tx-header-h);
  z-index: 9;                      /* site header 10; mega menü üstte kalır */
  background: #fff;
  border-bottom: 1px solid var(--tx-border);
}
.tx-subnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}
.tx-subnav__tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tx-subnav__tabs::-webkit-scrollbar { display: none; }
.tx-subnav__link {
  position: relative;
  display: inline-block;
  padding: 1rem 0.875rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--tx-text-2);
  white-space: nowrap;
  transition: color var(--tx-ease);
}
.tx-subnav__link::after {
  content: "";
  position: absolute;
  left: 0.875rem; right: 0.875rem; bottom: -1px;
  height: 3px;
  background: var(--tx-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tx-ease);
}
.tx-subnav__link:hover, .tx-subnav__link.is-active { color: var(--tx-blue); }
.tx-subnav__link.is-active::after { transform: scaleX(1); }

/* açılır datasheet menüsü (details/summary, JS'siz) */
.tx-dd { position: relative; }
.tx-dd summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--tx-border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tx-text);
  white-space: nowrap;
  transition: border-color var(--tx-ease), color var(--tx-ease);
}
.tx-dd summary::-webkit-details-marker { display: none; }
.tx-dd summary svg { width: 1rem; height: 1rem; }
.tx-dd[open] summary, .tx-dd summary:hover { border-color: var(--tx-blue); color: var(--tx-blue); }
.tx-dd__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius);
  box-shadow: 0 3px 9px rgba(14, 14, 14, 0.11);
  padding: 0.5rem;
  z-index: 2;
}
.tx-dd__menu a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; color: var(--tx-text); font-size: 0.9375rem; font-weight: 600; }
.tx-dd__menu a small { display: block; color: var(--tx-text-2); font-size: 0.8125rem; font-weight: 400; }
.tx-dd__menu a:hover { background: var(--tx-surface); }

/* --- Bölümler --------------------------------------------------------------- */
.tx-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  scroll-margin-top: calc(var(--tx-header-h) + var(--tx-nav-h) + 16px);
}
.tx-section--grey { background: var(--tx-surface); }

/* %40 metin (yapışkan) + %60 ürünler */
.tx-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.tx-split__aside {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--tx-header-h) + var(--tx-nav-h) + 24px);
}
.tx-split__main { display: grid; gap: 1.5rem; min-width: 0; }

.tx-group { margin: 0; }
.tx-group h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--tx-navy);
}
.tx-group__lead { margin-top: 0.875rem; font-size: 1.0625rem; max-width: 60ch; color: var(--tx-text-2); }
.tx-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tx-facts li {
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--tx-blue);
  border-radius: 6px;
  background: #fff;
  color: var(--tx-blue);
  font-weight: 600;
  font-size: 0.875rem;
}

/* --- Ürün kartları (yatay: görsel solda, içerik sağda) ------------------- */
.tx-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.tx-card {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius);
  overflow: hidden;
  transition: border-color var(--tx-ease);
}
.tx-card:hover { border-color: var(--tx-blue); }
.tx-card__media {
  background: var(--tx-surface);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.tx-card__media img { width: 100%; height: auto; max-height: 240px; object-fit: contain; }
.tx-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; min-height: 160px;
  border: 1px dashed #c0c6ce;
  border-radius: 6px;
  color: var(--tx-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}
.tx-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.tx-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tx-navy);
}
.tx-card__lead { color: var(--tx-text-2); font-size: 0.9375rem; }
.tx-card__lead.is-pending { color: var(--tx-muted); font-style: italic; }

.tx-specs { display: grid; }
.tx-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--tx-border);
  font-size: 0.875rem;
}
.tx-specs dt { color: var(--tx-text-2); font-weight: 600; }
.tx-specs dd { margin: 0; text-align: right; }
.tx-specs dd.is-pending { color: var(--tx-muted); font-style: italic; }

.tx-more { border-top: 1px solid var(--tx-border); }
.tx-more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tx-blue);
}
.tx-more summary::-webkit-details-marker { display: none; }
.tx-more summary::after {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--tx-ease);
  margin-right: 0.25rem;
}
.tx-more[open] summary::after { transform: rotate(-135deg); }
.tx-more .tx-specs > div:first-child { border-top: 0; }

.tx-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.25rem; }

/* kit çıkış tablosu (kart içinde) */
.tx-mini-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; margin-top: 0.75rem; }
.tx-mini-table th, .tx-mini-table td { padding: 0.35rem 0.25rem; text-align: left; border-top: 1px solid var(--tx-border); }
.tx-mini-table th { color: var(--tx-text-2); font-weight: 600; border-top: 0; }
.tx-mini-table td:last-child, .tx-mini-table th:last-child { text-align: right; }

/* --- Butonlar --------------------------------------------------------------- */
.tx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background var(--tx-ease), color var(--tx-ease), border-color var(--tx-ease);
}
.tx-btn svg { width: 1rem; height: 1rem; }
.tx-btn--sm { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
.tx-btn--primary { background: var(--tx-blue); color: #fff; }
.tx-btn--primary:hover { background: var(--tx-blue-site); }
.tx-btn--ghost { background: #fff; border-color: var(--tx-blue); color: var(--tx-blue); }
.tx-btn--ghost:hover { background: var(--tx-blue); color: #fff; }
.tx-btn--light { background: #fff; color: var(--tx-navy); }
.tx-btn--light:hover { background: var(--tx-sky); }
.tx-btn--outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.tx-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* --- CTA -------------------------------------------------------------------- */
.tx-cta {
  background: linear-gradient(118deg, var(--tx-navy-deep), var(--tx-navy));
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  scroll-margin-top: calc(var(--tx-header-h) + var(--tx-nav-h) + 16px);
}
.tx-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.tx-cta h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.2; }
.tx-cta p { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.85); max-width: 50ch; }
.tx-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.tx-cta__docs { display: grid; gap: 0.5rem; }
.tx-cta__docs a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--tx-radius);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--tx-ease), border-color var(--tx-ease);
}
.tx-cta__docs a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }
.tx-cta__docs a svg { width: 1.25rem; height: 1.25rem; color: var(--tx-sky); }
.tx-cta__docs a small { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.7); font-size: 0.8125rem; }
.tx-cta__docs .is-pending { opacity: 0.5; }

/* --- Duyarlılık ------------------------------------------------------------- */
@media (max-width: 991px) {
  .tx-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .tx-split__aside { position: static; }
  .tx-cta__grid { grid-template-columns: 1fr; }
  .tx-banner__rings { width: 420px; }
}
@media (max-width: 767px) {
  .tx-card { grid-template-columns: 1fr; }
  .tx-card__media { aspect-ratio: 16 / 10; min-height: 0; }
  .tx-card__media img { height: 100%; max-height: none; }
  .tx-subnav__link { padding: 0.875rem 0.625rem; }
  .tx-subnav__link::after { left: 0.625rem; right: 0.625rem; }
  .tx-card__body { padding: 1.25rem; }
  .tx-dd summary span { display: none; }      /* dar ekranda yalnızca ikon */
  .tx-dd summary { padding: 0.5rem 0.625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tx-page *, .tx-page *::before, .tx-page *::after { transition: none !important; animation: none !important; }
}
