:root {
  --page: #f5f6f8;
  --surface: #ffffff;
  --surface-subtle: #f8f9fb;
  --ink: #172033;
  --muted: #687386;
  --line: #dfe3e8;
  --line-strong: #cbd2dc;
  --brand: #1269a6;
  --brand-dark: #0d4e7b;
  --brand-soft: #eaf3f9;
  --success: #19724f;
  --success-soft: #eaf6f0;
  --danger: #a6343e;
  --danger-soft: #fff0f1;
  --shadow: 0 14px 40px rgba(23, 32, 51, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 14px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 15px; letter-spacing: -.1px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .3px;
}
.topbar nav { display: flex; align-items: center; gap: 24px; }
.topbar nav a { color: #566277; font-size: 13px; font-weight: 600; }
.topbar nav a:hover { color: var(--brand); }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.public-page { padding: 62px 0 70px; }
.section-label { margin: 0 0 10px; color: var(--brand); font-size: 12px; font-weight: 700; }

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: 72px;
  align-items: center;
  padding: 42px 0 70px;
  border-bottom: 1px solid var(--line);
}
.hero-copy h1 { max-width: 680px; margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: -2.2px; font-weight: 720; }
.lead { max-width: 670px; margin: 24px 0 0; color: #586579; font-size: 18px; line-height: 1.65; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 650;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.button.secondary:hover { border-color: #9eabb9; }
.button.disabled { background: #e7e9ed; color: #7b8493; cursor: default; }
.button.disabled:hover { transform: none; }
.download-button { min-width: 206px; justify-content: space-between; padding: 13px 15px 13px 17px; }
.download-button span { display: grid; text-align: left; line-height: 1.25; }
.download-button b { font-size: 14px; }
.download-button small { margin-top: 4px; color: inherit; opacity: .75; font-size: 10px; font-weight: 500; }
.download-button i { font-style: normal; font-size: 18px; }
.compatibility { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; color: #657085; font-size: 12px; }
.compatibility span { position: relative; }
.compatibility span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #9ba5b3; position: absolute; left: -12px; top: 8px; }

.release-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.release-panel-head { min-height: 108px; padding: 24px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.release-panel-head > div { display: grid; }
.release-panel-head small { color: var(--muted); }
.release-panel-head strong { font-size: 30px; letter-spacing: -1px; }
.verified { padding: 5px 9px; color: var(--success); background: var(--success-soft); border-radius: 5px; font-size: 10px; font-weight: 700; }
.release-panel dl { margin: 0; padding: 12px 24px; }
.release-panel dl div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #edf0f3; }
.release-panel dl div:last-child { border-bottom: 0; }
.release-panel dt { color: var(--muted); }
.release-panel dd { margin: 0; font-weight: 650; }
.release-panel-foot { padding: 18px 24px; background: var(--surface-subtle); border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; }
.release-panel-foot p { margin: 0; color: var(--muted); font-size: 11px; }
.shield { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; font-weight: 800; }

.capabilities { padding: 72px 0; display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; border-bottom: 1px solid var(--line); }
.section-intro h2 { max-width: 390px; margin: 0; font-size: 31px; line-height: 1.25; letter-spacing: -.8px; }
.capability-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; }
.capability-list article { padding: 22px 0; border-top: 1px solid var(--line); display: flex; gap: 15px; }
.feature-icon { width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.capability-list h3 { margin: 0 0 6px; font-size: 15px; }
.capability-list p { margin: 0; color: var(--muted); font-size: 12px; }

.release-notes { padding: 48px 0; display: grid; grid-template-columns: .42fr 1fr; gap: 45px; border-bottom: 1px solid var(--line); }
.release-notes h2 { margin: 0; font-size: 25px; }
.release-notes > p { margin: 3px 0 0; color: #566277; }
.license-strip { margin-top: 42px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: .55fr 1.45fr; gap: 35px; align-items: center; }
.license-strip strong { font-size: 14px; }
.license-strip p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0 38px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
footer a:hover { color: var(--brand); }

/* Yönetim */
.admin-container { padding: 38px 0 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.page-heading h1 { margin: 0 0 4px; font-size: 30px; letter-spacing: -.7px; }
.page-heading > div > p:last-child { margin: 0; color: var(--muted); }
.release-summary { min-width: 150px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; gap: 11px; }
.release-summary div { display: grid; line-height: 1.25; }
.release-summary small { color: var(--muted); font-size: 10px; }
.release-summary strong { font-size: 16px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #9ca6b4; box-shadow: 0 0 0 4px #edf0f3; }
.status-dot.live { background: #2a9a70; box-shadow: 0 0 0 4px #e7f4ee; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.admin-sidebar { display: grid; gap: 20px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(23, 32, 51, .035); }
.card-head { margin-bottom: 18px; display: flex; justify-content: space-between; }
.card h2 { margin: 0 0 4px; font-size: 17px; }
.card-head p, .card > p { margin: 0; color: var(--muted); font-size: 12px; }
.card form { display: grid; gap: 15px; }
label { display: grid; gap: 6px; color: #485469; font-size: 12px; font-weight: 650; }
label > span { font-weight: 500; }
label small { color: var(--muted); font-size: 10px; font-weight: 400; }
input, select, textarea { width: 100%; min-height: 40px; padding: 9px 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; outline: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #67a6cf; box-shadow: 0 0 0 3px rgba(18, 105, 166, .09); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.publish-switch { min-height: 40px; margin-top: 23px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; gap: 9px; }
.publish-switch input { width: 16px; min-height: auto; }
.publish-switch span { display: grid; line-height: 1.25; }
.publish-switch b { color: var(--ink); }
.artifact-card { margin: 4px 0 0; padding: 17px; border: 1px solid var(--line); border-radius: 9px; }
.artifact-card legend { padding: 0 8px; display: flex; align-items: baseline; gap: 9px; }
.artifact-card legend span { color: var(--ink); font-size: 14px; font-weight: 700; }
.artifact-card legend small { color: var(--muted); font-size: 10px; }
.artifact-current { margin-bottom: 14px; padding: 10px 12px; background: var(--surface-subtle); border: 1px solid #e7eaee; border-radius: 7px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.artifact-current > div { min-width: 0; display: flex; align-items: center; gap: 10px; }
.artifact-current > div > span:last-child { min-width: 0; display: grid; line-height: 1.25; }
.artifact-current strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.artifact-current small { color: var(--muted); font-size: 10px; }
.artifact-current code { flex: 0 0 auto; color: var(--success); font: 10px Consolas, monospace; }
.file-type { padding: 5px 7px; background: #fff; border: 1px solid var(--line); border-radius: 5px; color: var(--brand); font-size: 9px; font-weight: 800; }
.artifact-empty { margin-bottom: 14px; padding: 10px 12px; color: var(--muted); background: var(--surface-subtle); border: 1px dashed var(--line-strong); border-radius: 7px; font-size: 11px; }
.field-help { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.field-help b { color: var(--ink); }
.source-select { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 7px; }
.source-select label { min-height: 38px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; gap: 6px; font-size: 10px; cursor: pointer; }
.source-select input { width: auto; min-height: auto; }
.artifact-source { margin-top: 11px; padding: 12px; background: var(--surface-subtle); border-radius: 7px; }
.drive-source { display: grid; gap: 11px; }
.drive-source details { padding-top: 10px; border-top: 1px solid var(--line); }
.drive-source summary { color: #536075; font-size: 11px; font-weight: 650; cursor: pointer; }
.drive-source summary span { color: var(--muted); font-weight: 400; }
.drive-source details label { margin-top: 10px; }
.link-status { flex: 0 0 auto; padding: 4px 7px; color: var(--brand); background: var(--brand-soft); border-radius: 5px; font-size: 9px; font-weight: 700; }
.security-note { padding: 13px; background: var(--success-soft); border: 1px solid #cbe7da; border-radius: 8px; display: flex; align-items: flex-start; gap: 11px; }
.security-note strong { color: #155d42; font-size: 12px; }
.security-note p { margin: 2px 0 0; color: #487361; font-size: 10px; }
.submit-button { min-height: 43px; }
.file-list { display: grid; }
.file-row { padding: 10px 0; border-bottom: 1px solid #edf0f3; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.file-row:last-child { border-bottom: 0; }
.file-row > div { min-width: 0; display: grid; line-height: 1.35; }
.file-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.file-row small { color: var(--muted); font-size: 9px; }
.file-row form { display: block; }
.icon-button { width: 28px; height: 28px; padding: 0; background: #f6f7f9; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.danger-text { color: var(--danger); }
.empty { color: var(--muted); font-size: 11px; }
.help-card ol { margin: 14px 0; padding-left: 19px; color: #4d596d; font-size: 11px; }
.help-card li { margin: 7px 0; }
.alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; font-size: 12px; }
.alert.success { color: var(--success); background: var(--success-soft); border: 1px solid #cbe7da; }
.alert.danger { color: var(--danger); background: var(--danger-soft); border: 1px solid #f0c8cc; }
.hidden { display: none !important; }

/* Giriş ve kurulum */
.auth-body { min-height: 100vh; padding: 30px; display: grid; place-items: center; background: #eef1f4; }
.auth-card { width: min(420px, 100%); padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 28px 0 5px; font-size: 24px; letter-spacing: -.5px; }
.auth-card > p { margin: 0; }
.auth-card form { margin-top: 22px; display: grid; gap: 14px; }
.auth-card .button { width: 100%; margin-top: 3px; }
.muted { color: var(--muted); }
.quiet-link { display: block; margin-top: 19px; text-align: center; color: var(--muted); font-size: 11px; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; gap: 38px; }
  .release-panel { max-width: 520px; }
  .capabilities { grid-template-columns: 1fr; gap: 28px; }
  .section-intro h2 { max-width: 620px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { grid-template-columns: 1fr 1fr; }
  .admin-sidebar .card:first-child { grid-column: 1 / -1; }
  .source-select { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 650px) {
  .topbar { height: 64px; padding: 0 16px; }
  .public-topbar nav a:first-child, .admin-topbar nav a:not(:last-child) { display: none; }
  .container { width: min(100% - 28px, 1160px); }
  .public-page { padding-top: 28px; }
  .product-hero { padding: 28px 0 50px; }
  .hero-copy h1 { font-size: 38px; letter-spacing: -1.4px; }
  .lead { font-size: 16px; }
  .download-actions { display: grid; }
  .download-button { width: 100%; }
  .capabilities { padding: 52px 0; }
  .capability-list { grid-template-columns: 1fr; }
  .release-notes, .license-strip { grid-template-columns: 1fr; gap: 18px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .release-summary { width: 100%; }
  .admin-sidebar, .form-grid, .source-select { grid-template-columns: 1fr; }
  .artifact-current { align-items: flex-start; flex-direction: column; }
  .artifact-card legend { display: grid; }
  .card { padding: 18px; }
}
