/* Gateclave — site stilleri.
   Bileşen stilleri tasarım paketindeki gibi büyük ölçüde satır içi (style=""):
   burada yalnızca global kurallar, animasyonlar, durum (hover/aria) stilleri ve
   satır içi stillerin ifade edemediği kurallar (dar ekran, katalog) var. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:target { scroll-margin-top: 24px; }
.gc { font-family: 'Geist', system-ui, sans-serif; color: #F2EDE3; background: #0E0C08; min-width: 0; overflow-x: clip; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #F0A400; outline-offset: 2px; }

/* ---- Tasarım paketinden (tüm sayfaların <style> blokları) ---- */
body{margin:0;background:#0E0C08}
a{color:#F0A400}a:hover{color:#F5C04D}
.gc-menu summary::-webkit-details-marker{display:none}
.gc-menu summary:hover{color:#F2EDE3}
.gc-menu[open] .gc-chev{transform:rotate(180deg)}
.gc-menu a:hover{background:#1F1B13}
@keyframes gcStream{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@keyframes gcPulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.9);opacity:0}}
@keyframes gcBlink{0%,100%{opacity:1}50%{opacity:.25}}
.gc-stream{animation:gcStream 38s linear infinite}
.gc-stream-b{animation:gcStream 52s linear infinite}
.gc-pulse{transform-origin:280px 210px;transform-box:view-box;animation:gcPulse 2.4s ease-out infinite}
.gc-pulse2{transform-origin:280px 210px;transform-box:view-box;animation:gcPulse 2.4s ease-out 1.2s infinite}
.gc-live{animation:gcBlink 1.6s ease-in-out infinite}
@keyframes gcTile{0%,100%{opacity:1}50%{opacity:.45}}
.gc-tile{animation:gcTile 2.4s ease-in-out infinite}.gc-tile1{animation-delay:.3s}.gc-tile2{animation-delay:.6s}.gc-tile3{animation-delay:.9s}
@media (prefers-reduced-motion: reduce){.gc-stream,.gc-stream-b,.gc-pulse,.gc-pulse2,.gc-live,.gc-tile{animation:none}}
.gc-faq summary::-webkit-details-marker{display:none}
.gc-faq summary:hover{color:#F5C04D}
.gc-faq-ico{transition:transform .2s}
.gc-faq[open] .gc-faq-ico{transform:rotate(45deg)}

/* ---- Üst menü ---- */
.gc-menu a[aria-current="page"] { background: #1F1B13; }
.gc-lang {
  font-family: 'Geist Mono', monospace; font-size: 13px; color: #8A8170;
  background: none; border: 0; padding: 0 4px; min-height: 44px; cursor: pointer;
}
.gc-lang:hover { color: #F2EDE3; }
html[lang="tr"] .gc-lang [data-l="tr"],
html[lang="en"] .gc-lang [data-l="en"] { color: #F0A400; }

/* ---- Demo formu ---- */
.gc-form input:focus, .gc-form select:focus, .gc-form textarea:focus { outline: none; border-color: #F0A400 !important; }
.gc-form button:disabled { opacity: .6; cursor: progress; }
.gc-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gc-form-note {
  flex: 1 1 520px; min-width: 0; background: #17140E; border: 1px solid #2A2519; border-radius: 16px;
  padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.gc-form-note h3 { margin: 0; font-size: 24px; font-weight: 600; color: #FFFFFF; }
.gc-form-note p { margin: 0; font-size: 16px; line-height: 1.6; color: #BDB4A2; }

/* ---- Konnektör kataloğu ---- */
.gc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gc-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font: inherit; font-size: 14px; cursor: pointer; background: transparent; color: #D6CFC0; border: 1px solid #40382A;
}
.gc-chip:hover { border-color: #F0A400; }
.gc-chip[aria-pressed="true"] { background: #F0A400; color: #1B1710; border-color: #F0A400; }
.gc-chip-n { font-family: 'Geist Mono', monospace; font-size: 11.5px; opacity: .7; }
.gc-search {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: #17140E; border: 1px solid #332C1F; border-radius: 10px; flex: 0 1 320px; min-width: 220px;
}
.gc-search:focus-within { border-color: #F0A400; }
.gc-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #F2EDE3; font: inherit; font-size: 15px; }
.gc-card {
  width: 100%; text-align: left; font: inherit; cursor: pointer; padding: 20px; border-radius: 14px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 240px;
  background: #17140E; border: 1px solid #2A2519; color: inherit;
}
.gc-card:hover { border-color: #40382A; }
.gc-card[aria-pressed="true"] { background: #1F1B13; border-color: #F0A400; }
.gc-mono {
  width: 40px; height: 40px; flex: none; border-radius: 10px; background: #241B06; border: 1px solid #3A2D10;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 600; color: #F0A400;
}
.gc-mono--lg { width: 52px; height: 52px; border-radius: 12px; font-size: 16px; }
/* Marketplace logoları partnerden gelir; açık zeminli olanlar koyu temada
   kaybolmasın diye hepsi aynı açık karoda gösteriliyor. */
.gc-logo { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: contain; padding: 5px; background: #F7F3EA; }
.gc-logo--lg { width: 52px; height: 52px; border-radius: 12px; padding: 7px; }
.gc-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gc-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.gc-facts dt { font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: .06em; color: #8A8170; padding-top: 2px; }
.gc-facts dd { margin: 0; color: #D6CFC0; }
.gc-stat { padding: 18px 22px; border: 1px solid #2A2519; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.gc-stat-n { font-size: 32px; font-weight: 600; color: #FFFFFF; }
.gc-stat-l { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: #A39A88; letter-spacing: .08em; }
.gc-status { font-family: 'Geist Mono', monospace; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: #1C2414; color: #9CCB86; }
.gc-label { font-family: 'Geist Mono', monospace; font-size: 11.5px; letter-spacing: .1em; color: #8A8170; }
.gc-detail {
  flex: 1 1 380px; min-width: 0; background: #17140E; border: 1px solid #2A2519; padding: 28px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  position: sticky; top: 24px; scroll-margin-top: 24px;
  /* Uzun açıklamalı ürünlerde pano ekrana sığsın; kendi içinde kayar. */
  max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #332C1F transparent;
}
@media (max-width: 900px) { .gc-detail { position: static; max-height: none; overflow: visible; } }

/* ---- Yasal sayfalar (Gizlilik, KVKK) ---- */
.gc-legal-hero { border-bottom: 1px solid #231F16; }
.gc-legal-hero > div { max-width: 1240px; margin: 0 auto; padding: 72px 24px 56px; display: flex; flex-direction: column; gap: 22px; }
.gc-crumb { display: flex; gap: 10px; font-family: 'Geist Mono', monospace; font-size: 12.5px; color: #8A8170; letter-spacing: .06em; }
.gc-crumb a { color: #A39A88; text-decoration: none; }
.gc-crumb [aria-current] { color: #F0A400; }
.gc-legal-hero h1 { margin: 0; font-size: 54px; line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; color: #FFFFFF; }
.gc-legal-hero p { margin: 0; max-width: 720px; font-size: 18.5px; line-height: 1.6; color: #BDB4A2; }
.gc-legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: 'Geist Mono', monospace; font-size: 12px; color: #8A8170; }
.gc-legal-meta span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 3px; background: #F0A400; vertical-align: middle; }

.gc-legal { background: #0A0906; border-bottom: 1px solid #231F16; }
.gc-legal > div { max-width: 1240px; margin: 0 auto; padding: 64px 24px 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.gc-toc { flex: 0 1 260px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; padding: 18px; background: #17140E; border: 1px solid #2A2519; border-radius: 14px; }
.gc-toc a { padding: 7px 10px; border-radius: 8px; font-size: 14px; color: #BDB4A2; text-decoration: none; }
.gc-toc a:hover { background: #1F1B13; color: #F2EDE3; }
.gc-doc { flex: 1 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 44px; }
.gc-doc section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.gc-doc h2 { margin: 0; display: flex; align-items: baseline; gap: 14px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: #FFFFFF; }
.gc-doc h2 small { font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 500; color: #F0A400; letter-spacing: 0; }
.gc-doc p, .gc-doc li { margin: 0; font-size: 16px; line-height: 1.7; color: #D6CFC0; }
.gc-doc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gc-doc ul li { display: flex; gap: 12px; }
.gc-doc ul li::before { content: '—'; color: #F0A400; flex: none; }
.gc-doc strong { color: #FFFFFF; font-weight: 600; }
.gc-doc code { font-family: 'Geist Mono', monospace; font-size: .9em; color: #E8D7B0; }
.gc-note { padding: 18px 20px; border: 1px solid #3A2D10; border-radius: 12px; background: #17130A; }
.gc-note p { color: #E8D7B0; }
.gc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gc-cards > div { padding: 18px; background: #17140E; border: 1px solid #2A2519; border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.gc-cards b { font-family: 'Geist Mono', monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; color: #8A8170; }
.gc-cards p { font-size: 14.5px; line-height: 1.6; }
.gc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.gc-table th { text-align: left; padding: 10px 12px; font-family: 'Geist Mono', monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; color: #8A8170; border-bottom: 1px solid #332C1F; }
.gc-table td { padding: 12px; vertical-align: top; color: #D6CFC0; border-bottom: 1px solid #231F16; }
.gc-table td:first-child { color: #FFFFFF; font-weight: 500; }
.gc-contact { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid #2A2519; border-radius: 12px; background: #17140E; font-size: 15px; line-height: 1.6; color: #D6CFC0; }
.gc-contact strong { font-size: 16px; }
@media (max-width: 900px) {
  .gc-toc { position: static; flex-basis: 100%; }
}
@media (max-width: 720px) {
  .gc-legal-hero h1 { font-size: 38px; }
  .gc-legal > div { padding-top: 40px; gap: 32px; }
  .gc-table, .gc-table tbody, .gc-table tr, .gc-table td { display: block; width: 100%; }
  .gc-table thead { display: none; }
  .gc-table tr { padding: 12px 0; border-bottom: 1px solid #231F16; }
  .gc-table td { padding: 2px 0; border: 0; }
}

/* ---- Hata sayfası ---- */
.gc-error { max-width: 760px; margin: 0 auto; padding: 120px 24px; min-height: 50vh; }
.gc-error h1 { margin: 0; font-size: 48px; line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; color: #FFFFFF; }
.gc-error p { margin: 20px 0 0; font-size: 17px; line-height: 1.62; color: #BDB4A2; max-width: 48ch; }
.gc-btn {
  display: inline-flex; align-items: center; margin-top: 32px; min-height: 48px; padding: 0 22px;
  background: #F0A400; color: #1B1710; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none;
}
.gc-btn:hover { background: #F5C04D; color: #1B1710; }

/* ---- Dar ekran ----
   Tasarım flex-wrap ile zaten akıyor; burada yalnızca satır içi değerlerin
   telefonda taşırdığı başlık boyları, iç boşluklar ve ızgara sütunları
   düzeltiliyor. */
@media (max-width: 720px) {
  main h1 { font-size: 38px !important; }
  main h2 { font-size: 30px !important; }
  main section > div[style*="padding: 120px 24px"],
  main section > div[style*="padding: 104px 24px"],
  main section > div[style*="padding: 96px 24px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  main [style*="grid-template-columns: repeat(auto-fit, minmax("],
  main [style*="grid-template-columns: repeat(auto-fill, minmax("] { grid-template-columns: 1fr !important; }
  main [style*="flex: 1 1 5"], main [style*="flex: 1 1 4"], main [style*="flex: 1 1 6"] { flex-basis: 100% !important; }
  main form[data-mailform] { padding: 22px !important; }
  .gc-search { flex-basis: 100%; }
  .gc-error h1 { font-size: 36px; }
}
@media (max-width: 420px) {
  main h1 { font-size: 32px !important; }
  header nav { gap: 18px !important; }
}
