/* TRLCAD tanıtım sitesi. Dış kaynak yok: yazı tipleri sistemden, görseller yerelden.
   Dil: programın koyu çalışma alanı (gece laciverdi) üstte ve altta, belgeler gibi açık zemin ortada. */
:root {
  --gece: #0B1A42;          /* açılış ve pencere zemini */
  --lacivert: #12275C;      /* marka laciverdi */
  --panel: #152E6A;         /* pencere içi paneller */
  --cizgi: #2A4A8E;         /* koyu zeminde çizgi */
  --soluk-koyu: #9DB0DA;    /* koyu zeminde ikincil yazı */
  --turkuaz: #22D3EE;       /* marka turkuazı: TR kutusu, ölçü, odak */
  --tel: #FF7A66;           /* faz teli (programdaki kırmızının koyu zemin karşılığı) */
  --uygun: #4ADE80;
  --murekkep: #0E1A33;
  --kagit: #FFFFFF;
  --zemin: #F3F6FB;
  --soluk: #56627F;
  --ince: #DCE2EE;
  --baslik: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", sans-serif;
  --govde: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --olcu: 76rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--kagit); color: var(--murekkep); font: 1.0625rem/1.6 var(--govde); }
h1, h2, h3 { font-family: var(--baslik); color: var(--lacivert); line-height: 1.12; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; letter-spacing: -.005em; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; max-width: 66ch; }
a { color: var(--lacivert); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--turkuaz); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

/* yazı markası: programdaki ile aynı kurgu */
.marka { display: inline-flex; align-items: stretch; font: 700 1.5rem/1 var(--baslik); text-decoration: none; color: var(--lacivert); }
.marka .tr { background: var(--turkuaz); color: var(--lacivert); padding: .3rem .35rem; }
.marka .l { border: 2px solid currentColor; border-left: 0; padding: calc(.3rem - 2px) .35rem; }
.marka .cad { padding: .3rem .4rem; letter-spacing: .12em; }
.marka.kucuk { font-size: 1.125rem; }

.dugme { display: inline-block; background: var(--turkuaz); color: var(--gece); text-decoration: none; padding: .85rem 1.5rem;
  font: 600 1.0625rem/1 var(--baslik); letter-spacing: .02em; border-radius: 2px; }
.dugme:hover { background: #67E8F9; }
.dugme.kucuk { padding: .55rem .95rem; font-size: .9375rem; }
.duz { margin-left: 1.5rem; }

/* ---------- üst kısım: gece laciverdi ---------- */
.gece { background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(34, 211, 238, .10), transparent 60%),
    linear-gradient(180deg, var(--gece) 0%, #0E2052 100%);
  color: #E7EDFA; }
.gece a { color: #E7EDFA; }
.gece .marka { color: #fff; }
.ust { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem max(1rem, calc((100vw - var(--olcu)) / 2)); background: rgba(11, 26, 66, .88);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(157, 176, 218, .16); }
.ust nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.ust nav a { text-decoration: none; font-size: .9375rem; color: #C9D6F2; }
.ust nav a:hover { color: #fff; }
.ust nav a.dugme { color: var(--gece); }

.acilis { max-width: var(--olcu); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1rem clamp(3rem, 7vw, 5.5rem); }
.acilis-metin { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 3rem; align-items: end; }
.acilis h1 { color: #fff; max-width: 17ch; font-size: clamp(2.3rem, 5vw, 4rem); }
.acilis .giris { font-size: 1.1875rem; color: #C9D6F2; margin: 0 0 1.5rem; max-width: 44ch; }
.eylemler { margin: 0; }
.acilis .duz { color: #C9D6F2; }
.olcek { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 1.5rem 0 0; }
.olcek div { border-left: 2px solid var(--turkuaz); padding-left: .8rem; }
.olcek dt { font-size: .8125rem; color: var(--soluk-koyu); }
.olcek dd { margin: .1rem 0 0; font: 600 1.0625rem var(--baslik); color: #fff; letter-spacing: .01em; }
.acilis .pencere { margin-top: clamp(2rem, 4vw, 3rem); }

/* program penceresi */
.pencere { margin: 0; background: #0A1636; border: 1px solid #2A4A8E; border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(2, 8, 28, .75), 0 0 0 1px rgba(34, 211, 238, .06); color: #DCE5F7; }
.pencere-baslik { display: flex; align-items: center; gap: .6rem; padding: .5rem .8rem; background: #122763;
  font: .8125rem var(--govde); color: #C9D6F2; border-bottom: 1px solid #23417F; }
.isaret { width: 12px; height: 12px; background: var(--turkuaz); box-shadow: 4px 4px 0 -1px #0A1636, 4px 4px 0 0 var(--turkuaz); flex: none; }
.pencere-dugmeler { margin-left: auto; display: flex; gap: .9rem; }
.pencere-dugmeler i { width: 10px; height: 2px; background: #7C90BE; }
.sekmeler { display: flex; gap: 2px; padding: 0 .6rem; background: #0F2257; border-bottom: 1px solid #23417F; font: .8125rem var(--baslik); }
.sekmeler span { padding: .45rem .9rem; color: #8FA3CF; }
.sekmeler .etkin { color: #fff; background: #0A1636; box-shadow: inset 0 2px 0 var(--turkuaz); }
.pencere-govde { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 14.5rem; }
.arac-seridi { display: flex; flex-direction: column; gap: .55rem; padding: .7rem 0; align-items: center; background: #0D1E4C; border-right: 1px solid #1C3570; }
.arac-seridi i { width: 18px; height: 18px; border: 1.5px solid #6F86B8; border-radius: 3px; }
.arac-seridi i.etkin { border-color: var(--turkuaz); background: rgba(34, 211, 238, .18); }
.gorunum { position: relative; min-width: 0; background: radial-gradient(120% 90% at 50% 10%, #10265E 0%, #0A1636 70%); }
.sahne { display: block; width: 100%; height: auto; }
.sahne .ag { fill: none; stroke: #3A5FA8; stroke-width: .7; }
.sahne .ag.ince { stroke: #2A4A8E; stroke-width: .5; opacity: .3; }
.sahne .kafes line { stroke: #9FC4F5; stroke-width: 1.1; }
.sahne .kafes line.ic { stroke-width: .55; opacity: .7; }
.sahne .tel { fill: none; stroke: var(--tel); stroke-width: 1.3; }
.sahne .koruma { fill: none; stroke: var(--turkuaz); stroke-width: .9; opacity: .8; }
.sahne .olcu line { stroke: var(--turkuaz); stroke-width: 1.2; stroke-dasharray: 4 3; }
.sahne .olcu circle { fill: var(--turkuaz); }
.sahne .olcu text { font: 600 14px var(--baslik); fill: #fff; }
.sahne .olcu text.ikincil { font: 12px var(--govde); fill: var(--soluk-koyu); }
.sahne .etiket text { font: 600 12px var(--baslik); fill: #C9D6F2; text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) {
  .sahne .tel, .sahne .koruma { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ciz 2.2s .35s cubic-bezier(.3,.6,.2,1) forwards; }
  .sahne .olcu { opacity: 0; animation: belir .6s 2.3s forwards; }
  @keyframes ciz { to { stroke-dashoffset: 0; } }
  @keyframes belir { to { opacity: 1; } }
}
.ozellik { background: #0F2257; border-left: 1px solid #1C3570; padding: .9rem .9rem 1rem; font-size: .8125rem; }
.ozellik p { margin: 0; }
.ozellik-baslik { font: 600 1rem var(--baslik); color: #fff; }
.ozellik-alt { color: var(--soluk-koyu); margin-bottom: .9rem !important; }
.olcum { display: grid; grid-template-columns: 1fr auto; gap: .2rem .5rem; padding: .55rem 0; border-top: 1px solid #1F3A78; }
.olcum span:first-child { color: #B7C6E6; }
.olcum b { font: 600 .875rem var(--baslik); color: #fff; font-variant-numeric: tabular-nums; }
.cubuk { grid-column: 1 / -1; height: 4px; background: #1F3A78; border-radius: 2px; }
.cubuk i { display: block; height: 100%; background: var(--turkuaz); border-radius: 2px; }
.olcum.uygun b { color: var(--uygun); }
.durum-satiri { display: flex; gap: 1.5rem; padding: .4rem .8rem; background: #0D1E4C; border-top: 1px solid #1C3570;
  font: .75rem var(--govde); color: #8FA3CF; font-variant-numeric: tabular-nums; }
.durum-satiri .uygun { margin-left: auto; color: var(--uygun); }
.durum-satiri .uygun::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--uygun); margin-right: .45rem; }

@media (max-width: 64rem) { .acilis-metin { grid-template-columns: 1fr; } }
@media (max-width: 40rem) {
  .pencere-govde { grid-template-columns: minmax(0, 1fr); }
  .arac-seridi, .ozellik, .sekmeler span:nth-child(4) { display: none; }
  .durum-satiri span:nth-child(2) { display: none; }
  .ust nav a:not(.dugme) { display: none; }
  .duz { display: block; margin: 1rem 0 0; }
}

/* ---------- açık zeminli bölümler ---------- */
section[id] { scroll-margin-top: 4.5rem; }
.bolum { max-width: var(--olcu); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1rem; }
.aciklama { color: var(--soluk); }
.not { border-left: 4px solid var(--turkuaz); padding-left: 1rem; margin-top: 1.75rem; }

/* beş adım: km cetveli boyunca duraklar */
.hat { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--lacivert); }
.hat li { padding: 1.25rem 1.25rem 0 0; position: relative; }
.hat li::before { content: ""; position: absolute; top: -8px; left: 0; width: 2px; height: 14px; background: var(--lacivert); }
.hat .km { font: 500 .875rem var(--baslik); color: var(--soluk); font-variant-numeric: tabular-nums; }
.hat h3 { margin-top: .2rem; }
.hat p { font-size: .9688rem; margin: 0; color: #2C3858; }
@media (max-width: 56rem) {
  .hat { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--lacivert); }
  .hat li { padding: 0 0 1.6rem 1.4rem; }
  .hat li::before { top: .55rem; left: -8px; width: 14px; height: 2px; }
}

/* dene: etkileşimli profil, koyu çalışma alanında */
.dene { background: linear-gradient(180deg, #0E2052, var(--gece)); color: #DCE5F7; }
.dene-ic { max-width: var(--olcu); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 2.5rem; align-items: center; }
.dene h2 { color: #fff; }
.dene-metin p { color: #C9D6F2; }
.profil { display: block; width: 100%; height: auto; background: #0A1636; touch-action: pan-y; user-select: none; }
.profil path { fill: none; }
.profil .mm { stroke: #1D3670; stroke-width: .35; opacity: .5; }
.profil .cm path { stroke: #23407F; stroke-width: .5; opacity: .6; }
.profil .cm5 path { stroke: #2F55A0; stroke-width: .7; opacity: .7; }
.profil .cerceve { fill: none; stroke: #2A4A8E; stroke-width: 1; }
.profil .zemin { stroke: #E7EDFA; stroke-width: 1.8; }
.profil .yan-sol { stroke: #7AA2F7; stroke-width: 1.1; stroke-dasharray: 7 4; }
.profil .yan-sag { stroke: #4ADE80; stroke-width: 1.1; opacity: .85; }
.profil .tel { stroke: var(--tel); stroke-width: 1.5; }
.profil .tel.ust { stroke-width: .9; opacity: .8; }
.profil .koruma { stroke: var(--turkuaz); stroke-width: 1; }
.profil .klerans { stroke: #B7C6E6; stroke-width: 1; stroke-dasharray: 8 5; }
.profil .klerans.ihlal { stroke: #FF5A5A; stroke-width: 1.8; }
.profil text { font: 11.5px Consolas, "Cascadia Mono", "Courier New", monospace; fill: #C9D6F2; }
.profil .kot text { text-anchor: end; fill: #8FA3CF; }
.profil .kot .datum { text-anchor: start; font-size: 10px; }
.profil .pay path { stroke: #C9D6F2; stroke-width: .8; }
.profil .pay text { font-weight: 700; fill: #fff; }
.profil .pay.ihlal path { stroke: #FF5A5A; stroke-width: 1.6; }
.profil .pay.ihlal text { fill: #FF8A8A; }
.profil .direk { cursor: ew-resize; outline: none; }
.profil .direk.uc { cursor: default; }
.profil .direk path { stroke: #9FC4F5; stroke-width: 2; }
.profil .direk .bayrak { stroke-width: 1.2; fill: #0A1636; }
.profil .direk .tut { fill: transparent; stroke: none; }
.profil .direk .ad { text-anchor: middle; font-weight: 700; fill: #fff; }
.profil .direk.secili path { stroke: var(--turkuaz); stroke-width: 3; }
.profil .direk.secili .tut { fill: rgba(34, 211, 238, .14); }
.profil .direk:focus-visible .tut { stroke: var(--turkuaz); stroke-width: 2; stroke-dasharray: 4 3; }
.profil .bant path { stroke: #2F55A0; stroke-width: .8; }
.profil .bant .ayrac { stroke-width: .6; }
.profil .bant .baslik { font-size: 9.5px; fill: #8FA3CF; }
.profil .bant .orta { text-anchor: middle; }
.profil .bant .saga { text-anchor: end; }
.profil-arac { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  padding: .7rem .9rem; background: #0D1E4C; border-top: 1px solid #1C3570; }
.profil-arac p { margin: 0; max-width: none; }
#profil-durum { font-weight: 600; color: var(--uygun); font-size: .9375rem; }
#profil-durum.ihlal { color: #FF8A8A; }
.profil-dugmeler { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
#profil-secili { font: 600 .9375rem var(--baslik); color: #fff; margin-right: .5rem; }
.profil-dugmeler button { font: 600 .875rem var(--baslik); color: #E7EDFA; background: #152E6A; border: 1px solid #2F55A0;
  border-radius: 3px; padding: .45rem .8rem; cursor: pointer; }
.profil-dugmeler button:hover { background: #1D3B80; }
@media (max-width: 64rem) { .dene-ic { grid-template-columns: 1fr; } }

.iki { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 48rem) { .iki { grid-template-columns: 1fr; } }
ul { margin: 0; padding-left: 1.1rem; }
li { margin-bottom: .5rem; }

.cikti { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cikti th, .cikti td { text-align: left; vertical-align: top; padding: .95rem .75rem .95rem 0; border-bottom: 1px solid var(--ince); }
.cikti th { font: 600 1.0625rem var(--baslik); color: var(--lacivert); width: 16rem; }
@media (max-width: 40rem) { .cikti th, .cikti td { display: block; width: auto; border: 0; padding: 0; } .cikti td { padding-bottom: 1rem; border-bottom: 1px solid var(--ince); } }

/* ---------- alt kısım: lacivert ---------- */
.koyu { max-width: none; background: var(--lacivert); color: #E3EAF8; }
.koyu > * { max-width: var(--olcu); margin-left: auto; margin-right: auto; }
.koyu h2, .koyu h3 { color: #fff; }
.koyu h2 { margin-bottom: 1.5rem; }
.koyu a { color: #fff; }
#lisans { padding-bottom: 2.5rem; }
.indir { background: var(--gece); padding-top: 3rem; }
.indir-kutu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 2rem 2.25rem; border: 1px solid #2A4A8E; border-radius: 8px; background: rgba(21, 46, 106, .55); }
.indir-kutu h2 { margin: 0; }
.indir-kutu p { margin: 0; }
.indir .surum { font-family: var(--baslik); color: var(--soluk-koyu); margin-top: .35rem !important; font-variant-numeric: tabular-nums; }
.indir .aciklama { color: var(--soluk-koyu); margin-top: 1.25rem; }
.dugme.acik { padding: 1rem 1.8rem; font-size: 1.125rem; }
details { margin: 1.5rem auto; }
summary { cursor: pointer; color: #fff; font-weight: 600; }
details p { margin-top: .75rem; color: #C9D6F2; }
.ozet code { font: .875rem Consolas, "Cascadia Mono", monospace; word-break: break-all; }

.alt { background: var(--gece); border-top: 1px solid rgba(157, 176, 218, .16); color: #C9D6F2;
  padding: 1.5rem max(1rem, calc((100vw - var(--olcu)) / 2)); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.alt .marka { color: #fff; }
.alt p { margin: 0; color: var(--soluk-koyu); font-size: .9375rem; }

/* tam marka: programdaki yazı markası gibi iki alt satırlı */
.tam-baglanti { text-decoration: none; }
.tam-marka { display: inline-grid; gap: .3rem; color: #fff; }
.tam-marka .marka { color: #fff; font-size: 1.25rem; justify-self: start; }
.tam-marka .alt1 { font: 600 .8125rem/1.1 var(--baslik); letter-spacing: .06em; color: #E3EAF8; }
.tam-marka .alt2 { font: 400 .75rem/1.1 var(--baslik); letter-spacing: .14em; color: var(--turkuaz); }
.tam-marka.buyuk .marka { font-size: 1.75rem; }
.tam-marka.buyuk .alt1 { font-size: .9375rem; }
.tam-marka.buyuk .alt2 { font-size: .8125rem; }
.indir-sol { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.indir-sol .tam-marka { padding-right: 2rem; border-right: 1px solid #2A4A8E; }
@media (max-width: 40rem) { .indir-sol .tam-marka { border-right: 0; padding-right: 0; } }

.profil-dugmeler .grup { display: inline-flex; align-items: center; gap: .3rem; margin-right: .6rem; }
.profil-dugmeler .grup-ad { font: 600 .8125rem var(--baslik); color: var(--soluk-koyu); margin-right: .15rem; }
.profil-dugmeler .grup button { min-width: 3.6rem; font-variant-numeric: tabular-nums; }
