/* Ana sayfa — Gravity marka renkleri (ekru #f5f2eb, antrasit #16191b, kırmızı #d5001c, koyu footer #111d21) */
:root { --hd-bg: #f5f2eb; --hd-bg-2: #efebe2; --hd-card: #fffdfa; --hd-line: rgba(22, 25, 27, .11); --hd-line-2: rgba(22, 25, 27, .17); --hd-line-hover: rgba(22, 25, 27, .32); --hd-text: #16191b; --hd-muted: #5f686b; --hd-dim: #858d90; --hd-red: #d5001c; --hd-red-2: #b10017; --hd-white: #ffffff; --hd-hover: rgba(22, 25, 27, .05); }
html:has(.gtf-home-dark) { background: var(--hd-bg); }
#siteView:has(.gtf-home-dark) { background: var(--hd-bg); }

/* Header: ortak dosyada (gtf-header.css) */

/* Gövde */
.gtf-home-dark { background: var(--hd-bg); color: var(--hd-text); font-family: "Inter", Arial, sans-serif; overflow-x: clip; }
.gtf-home-dark h1, .gtf-home-dark h2, .gtf-home-dark h3, .hd-footer h3 { font-family: "Inter", Arial, sans-serif !important; font-style: normal !important; text-transform: none !important; color: var(--hd-text); margin: 0; }
.gtf-home-dark p { margin: 0; }
.gtf-home-dark svg, .hd-footer svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hd-wrap { width: min(1088px, calc(100% - 32px)); margin: 0 auto; }
.hd-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 32px; border-radius: 6px; font: 600 15px/1 "Inter", Arial, sans-serif; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.hd-btn-red { background: var(--hd-red); color: var(--hd-white) !important; }
.hd-btn-red:hover { background: var(--hd-red-2); }
.hd-btn-dark { background: var(--hd-card); color: var(--hd-text) !important; border: 1px solid var(--hd-line-2); }
.hd-btn-dark:hover { border-color: var(--hd-line-hover); background: var(--hd-card); }
.hd-btn:focus-visible, .hd-hbtn:focus-visible { outline: 2px solid var(--hd-red); outline-offset: 3px; }

/* Hero */
.hd-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 16px 40px; overflow: hidden; }
.hd-map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hd-map.ready { opacity: 1; }
.hd-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--hd-bg)); pointer-events: none; }
.hd-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.hd-hero-logo { display: block; width: clamp(220px, 25vw, 360px); height: auto; margin: 0 auto 34px; }
.hd-hero h1 { font-size: clamp(40px, 4.6vw, 62px) !important; line-height: 1.08 !important; font-weight: 700 !important; letter-spacing: -.035em !important; }
.hd-hero h1 em { font-style: normal; color: var(--hd-red); }
.hd-lede { max-width: 690px; margin: 30px auto 0 !important; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.65; color: var(--hd-muted); }
.hd-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 30px 0 0; padding: 0; list-style: none; }
.hd-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--hd-muted); }
.hd-points li + li::before { content: "·"; margin-right: 22px; color: var(--hd-dim); }
.hd-points svg { width: 15px; height: 15px; }
.hd-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; }
.hd-actions.left { justify-content: flex-start; margin-top: 40px; }
.hd-strip { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 0; margin: 72px auto 0; padding: 0; list-style: none; color: var(--hd-muted); }
.hd-strip li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.hd-strip li + li::before { content: ""; width: 120px; height: 1px; margin: 0 26px; background: linear-gradient(90deg, var(--hd-line-2), var(--hd-line-hover), var(--hd-line-2)); }
.hd-strip b { font: 500 12px/1 ui-monospace, Menlo, monospace; color: var(--hd-dim); }
.hd-strip svg { width: 18px; height: 18px; color: var(--hd-muted); }
.hd-strip span { display: grid; gap: 3px; text-align: left; }
.hd-strip strong { color: var(--hd-text); font-weight: 500; font-size: 14px; }
.hd-strip small { font-size: 12px; color: var(--hd-dim); }

/* Bölümler */
.hd-section { padding: clamp(96px, 9vw, 128px) 0; border-top: 1px solid var(--hd-line); }
.hd-eyebrow { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--hd-muted); }
.hd-title { margin-top: 18px !important; max-width: 640px; font-size: clamp(28px, 2.6vw, 36px) !important; line-height: 1.18 !important; font-weight: 700 !important; letter-spacing: -.03em !important; }
.hd-title .dim { color: var(--hd-dim); }
.hd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 72px; margin-top: 104px; padding: 0 24px; }
.hd-features article { display: flex; gap: 20px; }
.hd-features article > svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--hd-muted); }
.hd-features h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 16px !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
.hd-features code, .hd-chip-code { padding: 3px 7px; border: 1px solid var(--hd-line-2); border-radius: 5px; background: var(--hd-card); font: 400 11px/1.2 ui-monospace, Menlo, monospace; color: var(--hd-muted); }
.hd-features p { margin-top: 10px !important; max-width: 450px; font-size: 14px; line-height: 1.6; color: var(--hd-muted); }
.hd-steps { margin: 72px 0 0; padding: 0; list-style: none; display: grid; gap: 52px; max-width: 520px; }
.hd-steps li { position: relative; display: flex; gap: 32px; }
.hd-steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 80px; bottom: -44px; width: 1px; background: var(--hd-line-2); }
.hd-steps i { flex: 0 0 auto; display: grid; justify-items: center; gap: 10px; font-style: normal; }
.hd-steps i svg { box-sizing: content-box; width: 18px; height: 18px; padding: 10px; border: 1px solid var(--hd-line-2); border-radius: 8px; background: var(--hd-card); color: var(--hd-muted); transition: border-color .3s ease, color .3s ease; }
.hd-steps li:hover i svg { border-color: var(--hd-red); color: var(--hd-red); }
.hd-steps b { font: 400 11px/1 ui-monospace, Menlo, monospace; color: var(--hd-dim); }
.hd-steps h3 { font-size: 16px !important; font-weight: 600 !important; margin-top: 10px !important; }
.hd-steps p { margin-top: 12px !important; font-size: 14px; line-height: 1.6; color: var(--hd-muted); }
.hd-eco { margin-top: 96px; }
.hd-eco-k { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--hd-muted); }
.hd-eco-k svg { width: 18px; height: 18px; }
.hd-eco-d { margin-top: 12px !important; font-size: 14px; color: var(--hd-muted); }
.hd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.hd-card { display: flex; gap: 20px; padding: 24px; min-height: 122px; border: 1px solid var(--hd-line); border-radius: 8px; background: var(--hd-card); text-decoration: none; color: inherit; transition: border-color .25s ease, background-color .25s ease; }
.hd-card:hover { border-color: var(--hd-line-hover); background: var(--hd-card); }
.hd-card i { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(213, 0, 28, .08); color: var(--hd-red); }
.hd-card i svg { width: 22px; height: 22px; }
.hd-card h3 { font-size: 16px !important; font-weight: 600 !important; }
.hd-card h3 em { font-style: normal; font-size: 12px; color: var(--hd-dim); margin-left: 8px; transition: color .2s ease; }
.hd-card:hover h3 em { color: var(--hd-red); }
.hd-card p { margin-top: 10px !important; font-size: 14px; line-height: 1.55; color: var(--hd-muted); }
.hd-cta { padding: clamp(110px, 11vw, 150px) 0; }
.hd-cta .hd-title { font-size: clamp(30px, 2.7vw, 38px) !important; }
.hd-cta-sub { margin-top: 26px !important; max-width: 430px; font-size: 16px; line-height: 1.55; color: var(--hd-muted); }
.hd-cta-note { margin-top: 38px !important; font-size: 12px; color: var(--hd-dim); }

/* Görünüme girerken */
.hd-js .hd-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.hd-js .hd-reveal.in { opacity: 1; transform: none; }

/* Footer — diğer sayfalardaki koyu footer */
.site-footer.hd-footer { --hd-bg: #111d21; --hd-card: #16262b; --hd-line: rgba(255, 255, 255, .09); --hd-line-2: rgba(255, 255, 255, .15); --hd-line-hover: rgba(255, 255, 255, .3); --hd-text: #ffffff; --hd-muted: #9aa8ac; --hd-dim: #748388; --hd-hover: rgba(255, 255, 255, .05); }
.site-footer.hd-footer { display: block !important; padding: 64px 0 32px !important; background: var(--hd-bg) !important; border-top: 1px solid var(--hd-line) !important; color: var(--hd-muted); text-align: left !important; font-family: "Inter", Arial, sans-serif; }
.site-footer.hd-footer > .hd-wrap { display: block !important; width: min(1216px, calc(100% - 32px)) !important; margin: 0 auto !important; }
.hd-foot-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.hd-foot-brand img { display: block; width: 200px; height: auto; }
.hd-foot-brand p { margin: 30px 0 0 !important; max-width: 320px; font-size: 14px !important; line-height: 1.6; color: var(--hd-muted) !important; text-align: left !important; }
.hd-social { display: flex; gap: 12px; margin-top: 26px; }
.hd-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--hd-line-2); border-radius: 8px; background: var(--hd-card); color: var(--hd-muted); transition: border-color .2s ease, color .2s ease; }
.hd-social a:hover { border-color: var(--hd-red); color: #fff; }
.hd-social svg { width: 18px; height: 18px; }
.hd-footer h3 { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--hd-text) !important; margin: 8px 0 22px !important; }
.hd-footer h3.sp { margin-top: 34px !important; }
.hd-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.hd-footer ul a { color: var(--hd-muted) !important; font-size: 14px; text-decoration: none; }
.hd-footer ul a:hover { color: var(--hd-white) !important; }
.site-footer.hd-footer .hd-foot-bottom { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hd-line); }
.site-footer.hd-footer .hd-foot-bottom p { margin: 0; font-size: 12px !important; color: var(--hd-dim) !important; text-align: left !important; }
.hd-foot-bottom p a { color: var(--hd-dim) !important; text-decoration: none; margin-left: 18px; font-size: 12px; }
.hd-foot-bottom p a:hover { color: var(--hd-text) !important; }

/* Duyarlı */
@media (max-width: 900px) {
  .hd-features { grid-template-columns: 1fr; gap: 48px; margin-top: 72px; padding: 0 8px; }
  .hd-cards { grid-template-columns: 1fr; gap: 16px; }
  .hd-foot-top { grid-template-columns: 1fr 1fr; }
  .hd-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hd-hero { padding: 112px 16px 32px; }
  .hd-hero-logo { margin-bottom: 30px; }
  .hd-hero h1 { font-size: 34px !important; }
  .hd-lede { margin-top: 24px !important; font-size: 16px; }
  .hd-points { gap: 10px 16px; }
  .hd-points li + li::before { display: none; }
  .hd-actions { flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
  .hd-actions.left { align-items: stretch; }
  .hd-strip { justify-content: flex-start; margin-top: 56px; overflow: hidden; }
  .hd-strip li + li::before { width: 28px; margin: 0 12px; }
  .hd-strip li:nth-child(3) { display: none; }
  .hd-section { padding: 88px 0; }
  .hd-steps li { gap: 22px; }
  .hd-foot-top { grid-template-columns: 1fr; gap: 36px; }
  .site-footer.hd-footer .hd-foot-bottom { flex-direction: column; justify-content: center; }
  .site-footer.hd-footer .hd-foot-bottom p { text-align: center !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-js .hd-reveal { opacity: 1; transform: none; transition: none; }
  .hd-map { transition: none; }
}
@media (max-width: 640px) { .hd-map.ready { opacity: .5; } }

/* ECU veritabanı */
.hd-db-panel { margin-top: 56px; }
.hd-db-search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border: 1px solid var(--hd-line-2); border-radius: 10px; background: var(--hd-card); transition: border-color .2s ease, box-shadow .2s ease; }
.hd-db-search:focus-within { border-color: var(--hd-red); box-shadow: 0 0 0 3px rgba(213, 0, 28, .1); }
.hd-db-search svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--hd-muted); }
.hd-db-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--hd-text); font: 400 16px/1 "Inter", Arial, sans-serif; }
.hd-db-search input::placeholder { color: var(--hd-dim); }
.hd-db-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hd-db-filters label { display: grid; gap: 6px; min-width: 0; }
.hd-db-filters span { font-size: 12px; font-weight: 600; color: var(--hd-muted); }
.hd-db-filters select { width: 100%; height: 42px; padding: 0 30px 0 12px; border: 1px solid var(--hd-line-2); border-radius: 8px; background: var(--hd-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f686b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center/14px no-repeat; appearance: none; color: var(--hd-text); font: 400 14px/1 "Inter", Arial, sans-serif; text-overflow: ellipsis; }
.hd-db-filters select:disabled { color: var(--hd-dim); background-color: transparent; cursor: not-allowed; }
.hd-db-filters select:focus-visible { outline: 2px solid var(--hd-red); outline-offset: 1px; }
.hd-db-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 12px; }
.hd-db-meta p { font-size: 14px; color: var(--hd-muted); }
.hd-db-reset { border: 0; background: none; padding: 6px 0; color: var(--hd-red); font: 600 13px/1 "Inter", Arial, sans-serif; cursor: pointer; }
.hd-db-reset:hover { text-decoration: underline; }
.hd-db-table { border: 1px solid var(--hd-line); border-radius: 10px; background: var(--hd-card); overflow-x: auto; }
.hd-db-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hd-db-table th { padding: 13px 16px; text-align: left; font-size: 12px; font-weight: 600; color: var(--hd-muted); background: var(--hd-bg-2); border-bottom: 1px solid var(--hd-line); white-space: nowrap; }
.hd-db-table td { padding: 13px 16px; border-bottom: 1px solid var(--hd-line); color: var(--hd-text); white-space: nowrap; }
.hd-db-table tr:last-child td { border-bottom: 0; }
.hd-db-table tbody tr:hover td { background: rgba(22, 25, 27, .025); }
.hd-db-table td strong { font-weight: 600; }
.hd-db-mk { display: none; }
.hd-db-table code { font: 500 13px/1 ui-monospace, Menlo, monospace; }
.hd-db-loading { color: var(--hd-muted) !important; text-align: center; padding: 28px 16px !important; }
.hd-db-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hd-db-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hd-db-badge.supported { color: #1e7a3c; background: #e7f3ea; }
.hd-db-badge.developing { color: #8a5a00; background: #fbf0d9; }
.hd-db-empty { padding: 32px; border: 1px dashed var(--hd-line-2); border-radius: 10px; text-align: center; }
.hd-db-empty strong { display: block; font-size: 16px; }
.hd-db-empty p { margin: 8px auto 20px !important; max-width: 460px; font-size: 14px; line-height: 1.6; color: var(--hd-muted); }
.hd-db-more { display: flex; margin: 20px auto 0; }
.hd-db-more[hidden], .hd-db-empty[hidden], .hd-db-table[hidden] { display: none; }
.hd-db-note { margin-top: 18px !important; font-size: 12px; color: var(--hd-dim); }
@media (max-width: 1024px) { .hd-db-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hd-db-panel { margin-top: 40px; }
  .hd-db-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hd-db-table th:nth-child(1), .hd-db-table td:nth-child(1), .hd-db-table th:nth-child(3), .hd-db-table td:nth-child(3) { display: none; }
  .hd-db-table td { white-space: normal; }
  .hd-db-mk { display: inline !important; color: var(--hd-muted); font-size: 12px; }
  .hd-db-table th, .hd-db-table td { padding: 12px; }
}

/* WinOLS kartı kaldırıldı: tek kart */
.hd-cards { grid-template-columns: minmax(0, 520px); }
/* Portal giriş ekranı logosu: orijinal renkler (beyaz filtre yok) */
.auth-brand-panel .auth-logo { filter: none !important; }
