/* LinSurf web sitesi
   Renkler logodan: gece denizi, logo mavisi, gizli pencere moru, lagün, güneş. */

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --abyss: #0e1636;
  --abyss-2: #16214d;
  --abyss-3: #1f2c63;
  --periwinkle: #5f7cff;
  --periwinkle-deep: #3d5afe;
  --violet: #8a4dff;
  --lagoon: #2fc6dd;
  --sun: #ffd36e;
  --foam: #f4f7ff;
  --white: #ffffff;
  --ink: #18203f;
  --ink-soft: #4a5375;
  --line: #dde3f5;

  --display: "Lora", "DejaVu Serif", Georgia, serif;
  --body: "Poppins", "Noto Sans", "DejaVu Sans", system-ui, sans-serif;
  --mono: ui-monospace, "DejaVu Sans Mono", "Liberation Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--periwinkle-deep); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
code { font-family: var(--mono); font-size: 0.9em; background: rgba(95, 124, 255, 0.1); padding: 0.1em 0.38em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-family: var(--display); font-weight: 650; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.08rem; font-weight: 500; margin: 0; line-height: 1.35; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section-lead { max-width: 62ch; color: var(--ink-soft); margin: 14px 0 0; font-size: 1.05rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------------- Düğmeler ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1rem/1 var(--body);
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn__meta { font-size: 0.82em; opacity: 0.72; font-weight: 400; }
.btn--sun { background: var(--sun); color: var(--abyss); }
.btn--sun:hover { background: #ffe196; color: var(--abyss); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--abyss-3); color: var(--white); }
.btn--small { padding: 10px 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------------- Üst menü ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .25s, box-shadow .25s;
}
.nav.is-scrolled { background: rgba(14, 22, 54, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 650 1.3rem var(--display); }
.brand:hover { color: var(--white); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.95rem; }
.nav__links a:hover { color: var(--white); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 78% 8%, rgba(95, 124, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #0b1230 0%, var(--abyss) 45%, var(--abyss-2) 100%);
  color: var(--white);
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 0;
}
.hero__sun {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  right: 9%; top: 92px;
  background: radial-gradient(circle at 40% 38%, #ffe6a3, var(--sun) 55%, #f6b94a);
  box-shadow: 0 0 80px 18px rgba(255, 211, 110, 0.22);
  transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0);
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.35rem); max-width: 13ch; }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin: 22px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); margin: 20px 0 0; }
.hero__note a { color: var(--lagoon); }
.hero__note a:hover { color: var(--white); }

/* ---------------- Deniz ---------------- */
.sea { position: relative; height: 170px; margin-top: 30px; z-index: 1; pointer-events: none; }
.sea__layer { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; }
.sea__layer path { fill: currentColor; }
.sea__layer--back { color: rgba(95, 124, 255, 0.35); animation: drift 34s linear infinite; }
.sea__layer--mid { color: rgba(47, 198, 221, 0.38); animation: drift 24s linear infinite reverse; height: 82%; }
.sea__layer--front { color: var(--foam); animation: drift 18s linear infinite; height: 62%; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Örnek LinSurf penceresi ---------------- */
.demo { position: relative; }
.mock {
  --m-win: #15171b; --m-tab: #191c21; --m-tab-on: #272b32; --m-surface: #202329;
  --m-border: #30343b; --m-text: #e8eaed; --m-muted: #8a9099; --m-page: #1b1e24;
  --m-bar: #2b3039; --m-accent: #6f86ff; --m-info: #1f2540; --m-info-b: #34408a;
  background: var(--m-win); color: var(--m-text);
  border-radius: 16px; padding: 10px;
  box-shadow: 0 40px 80px -20px rgba(3, 8, 30, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.07);
  animation: bob 7s ease-in-out infinite;
  transition: background-color .35s, box-shadow .35s;
  font-size: 13px; line-height: 1.4;
}
.mock[data-theme="light"] {
  --m-win: #f3f4f6; --m-tab: #e6e8ec; --m-tab-on: #ffffff; --m-surface: #ffffff;
  --m-border: #d5d8dd; --m-text: #1f2328; --m-muted: #6b7078; --m-page: #ffffff;
  --m-bar: #e3e6eb; --m-accent: #3d5afe; --m-info: #e8ecff; --m-info-b: #b9c4ff;
}
.mock[data-private="true"] { box-shadow: 0 40px 80px -20px rgba(3, 8, 30, 0.75), 0 0 0 2px var(--violet); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.4deg); } 50% { transform: translateY(-9px) rotate(0.3deg); } }

.mock__tabs { display: flex; align-items: center; gap: 4px; padding: 0 2px 8px; }
.mock__tab {
  font: 500 12.5px var(--body); color: var(--m-muted); background: var(--m-tab);
  border: 1px solid transparent; border-radius: 8px; padding: 7px 14px; min-width: 92px; text-align: left; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.mock__tab:hover { color: var(--m-text); }
.mock__tab.is-active { background: var(--m-tab-on); color: var(--m-text); border-color: var(--m-border); }
.mock__plus { color: var(--m-muted); padding: 0 8px; font-size: 16px; }

.mock__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mock__nav { display: flex; gap: 2px; }
.mock__nav svg, .mock__shield svg { width: 26px; height: 26px; padding: 5px; fill: none; stroke: var(--m-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock__address {
  flex: 1; min-width: 0; background: var(--m-surface); border: 1px solid var(--m-border); border-radius: 11px;
  padding: 6px 12px; color: var(--m-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock__private { display: none; background: var(--violet); color: #fff; font-weight: 500; border-radius: 9px; padding: 5px 11px; }
.mock[data-private="true"] .mock__private { display: inline-block; }
.mock__shield {
  display: inline-flex; align-items: center; gap: 2px; padding: 0 10px 0 4px; height: 30px;
  background: var(--m-surface); border: 1px solid var(--m-border); border-radius: 9px; color: var(--m-text); font-variant-numeric: tabular-nums;
}
.mock__shield svg { stroke: var(--m-accent); width: 24px; height: 24px; }
.mock[data-adblock="false"] .mock__shield svg { stroke: var(--m-muted); }
.mock__shield.is-bump span { animation: bump .45s ease; display: inline-block; }
@keyframes bump { 30% { transform: scale(1.35); color: var(--sun); } }

.mock__info {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--m-info); border: 1px solid var(--m-info-b); border-radius: 10px; padding: 7px 8px 7px 12px; margin-bottom: 8px;
}
.mock__info[hidden] { display: none; }
.mock__info p { margin: 0; flex: 1; min-width: 160px; }
.mock__info button {
  font: 500 12px var(--body); border-radius: 7px; padding: 5px 11px; cursor: pointer;
  background: var(--m-accent); color: #fff; border: 1px solid var(--m-accent);
}
.mock__info button.is-quiet { background: transparent; color: var(--m-text); border-color: var(--m-border); }

.mock__page { background: var(--m-page); border-radius: 10px; height: 318px; overflow: hidden; position: relative; transition: background-color .35s; }
.page { position: absolute; inset: 0; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .25s; }
.page.is-active { opacity: 1; visibility: visible; }

.news__head { height: 20px; width: 62%; border-radius: 6px; background: var(--m-bar); margin-bottom: 14px; }
.news__cols { display: grid; grid-template-columns: 1fr 110px; gap: 14px; }
.news__photo {
  height: 96px; border-radius: 8px; margin-bottom: 12px;
  background: radial-gradient(26px 26px at 78% 34%, var(--sun) 60%, transparent 62%),
              linear-gradient(180deg, transparent 58%, rgba(47, 198, 221, 0.55) 58%),
              linear-gradient(180deg, #3a52c9, #7b62e6);
}
.news__more { margin-top: 14px; }
.news__text i, .news__more i, .video__meta i { display: block; height: 9px; border-radius: 5px; background: var(--m-bar); margin-bottom: 10px; }
.news__text i.short, .news__more i.short, .video__meta i.short { width: 60%; }
.ad {
  display: grid; place-items: center; border-radius: 8px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 92, 92, 0.16) 0 10px, rgba(255, 92, 92, 0.06) 10px 20px);
  border: 1px dashed rgba(255, 110, 110, 0.55); color: #ff8b8b; font-weight: 500;
  transition: height .45s cubic-bezier(.4, 0, .2, 1), opacity .3s, margin .45s, border-width .45s;
}
.ad--banner { height: 54px; margin-bottom: 14px; }
.ad--side { height: 150px; }
.ad--inline { height: 46px; margin-top: 6px; }
.mock[data-adblock="true"] .ad { height: 0 !important; opacity: 0; margin: 0; border-width: 0; }
.mock[data-adblock="true"] .news__cols { grid-template-columns: 1fr 0; gap: 0; }
.news__cols { transition: grid-template-columns .45s; }

.player { position: relative; height: 210px; border-radius: 10px; overflow: hidden; background: #0b0f22; }
.player__screen { position: absolute; inset: 0; background: linear-gradient(180deg, #23307a, #0f1a4a); }
.player__wave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background: radial-gradient(60px 60px at 74% 30%, var(--sun) 40%, transparent 42%),
              linear-gradient(180deg, transparent 50%, rgba(47, 198, 221, 0.75) 50%);
}
.player__ad {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px;
  background: repeating-linear-gradient(135deg, #3b1d2a 0 14px, #2c1621 14px 28px);
  transition: opacity .3s;
}
.player__adlabel { background: rgba(0, 0, 0, 0.55); color: #ffd36e; padding: 4px 9px; border-radius: 6px; font-weight: 500; }
.player__skip { font: 500 12.5px var(--body); background: rgba(0, 0, 0, 0.65); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 6px; padding: 7px 14px; }
.player__skip:not([disabled]) { cursor: pointer; border-color: #fff; }
.player__curtain { position: absolute; inset: 0; display: grid; place-items: center; background: #000; color: #9aa0a6; opacity: 0; transition: opacity .25s; pointer-events: none; }
.player.is-skipping .player__curtain { opacity: 1; }
.player.is-playing .player__ad, .player.is-skipping .player__ad { opacity: 0; pointer-events: none; }
.player__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.15); }
.player__progress span { display: block; height: 100%; width: 0; background: #ff4e45; }
.player.is-ad .player__progress span { background: var(--sun); }
.video__meta { margin-top: 16px; }

.login { width: min(280px, 100%); margin: 12px auto 0; display: grid; gap: 12px; }
.login__logo { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--lagoon), var(--periwinkle)); justify-self: center; }
.login label { display: grid; gap: 4px; color: var(--m-muted); font-size: 12px; }
.login input {
  font: 13px var(--body); color: var(--m-text); background: var(--m-surface); border: 1px solid var(--m-border);
  border-radius: 8px; padding: 8px 10px; transition: background-color .4s, border-color .4s;
}
.login input.is-filled { background: rgba(95, 124, 255, 0.14); border-color: var(--m-accent); }
.login__btn { text-align: center; background: var(--m-accent); color: #fff; padding: 9px; border-radius: 8px; font-weight: 500; }

/* Denetim anahtarları */
.controls { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; justify-content: center; }
.switch {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 2px;
  color: rgba(255, 255, 255, 0.86); font: 500 0.95rem var(--body); cursor: pointer;
}
.switch__track { width: 42px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); position: relative; transition: background-color .2s; flex: none; }
.switch__dot { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s cubic-bezier(.3, .7, .3, 1); }
.switch[aria-checked="true"] .switch__track { background: var(--periwinkle); }
.switch[data-toggle="private"][aria-checked="true"] .switch__track { background: var(--violet); }
.switch[aria-checked="true"] .switch__dot { transform: translateX(18px); }

/* ---------------- Özellikler ---------------- */
.features { padding: clamp(70px, 9vw, 120px) 0; }
.features__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.features__intro { position: sticky; top: 110px; }
.features__intro p { color: var(--ink-soft); max-width: 40ch; margin: 18px 0 0; font-size: 1.05rem; }
.flist { list-style: none; margin: 0; padding: 0; }
.flist__item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.flist__item:first-child { border-top: 0; padding-top: 4px; }
.flist__item p { margin: 6px 0 0; color: var(--ink-soft); max-width: 60ch; }
.flist__icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(95, 124, 255, 0.12); fill: none; stroke: var(--periwinkle-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flist__icon .fill { fill: var(--periwinkle-deep); stroke: none; }
.flist__icon--violet { background: rgba(138, 77, 255, 0.12); stroke: var(--violet); }
.flist__icon--lagoon { background: rgba(47, 198, 221, 0.15); stroke: #138aa0; }

/* ---------------- Şifre kasası ---------------- */
.vault { background: var(--abyss); color: var(--white); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.vault::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 77, 255, 0.3), transparent 65%);
}
.vault__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.vault__copy > p { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; max-width: 50ch; margin: 18px 0 30px; }
.facts { margin: 0; display: grid; gap: 22px; }
.facts div { border-left: 2px solid var(--violet); padding-left: 18px; }
.facts dt { font-weight: 500; }
.facts dd { margin: 4px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 0.97rem; max-width: 58ch; }

.cipher {
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2));
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; padding: clamp(22px, 3vw, 34px);
}
.cipher h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.cipher__hint { color: rgba(255, 255, 255, 0.7); margin: 8px 0 22px; font-size: 0.97rem; }
.cipher__label { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 0 0 6px; }
.cipher__input {
  width: 100%; font: 500 1.15rem var(--body); color: var(--white); background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: 13px 16px; margin-bottom: 20px;
}
.cipher__input:focus { outline: none; border-color: var(--sun); }
.cipher__output {
  display: block; font-family: var(--mono); font-size: 0.86rem; line-height: 1.55; color: var(--lagoon);
  background: rgba(0, 0, 0, 0.32); border-radius: 12px; padding: 14px 16px; min-height: 92px; word-break: break-all;
}
.cipher__output.is-fresh { animation: flash .5s ease; }
@keyframes flash { from { color: var(--sun); } }
.cipher__foot { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); margin: 16px 0 0; }

/* ---------------- İndir ---------------- */
.download { padding: clamp(70px, 9vw, 110px) 0 40px; }
.dl { display: grid; grid-template-columns: 1.08fr 1fr; gap: 22px; margin-top: 38px; align-items: stretch; }
.dl__card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.dl__card--bsd { border: 2px solid var(--periwinkle); box-shadow: 0 24px 50px -28px rgba(61, 90, 254, 0.55); }
.dl__card header { display: grid; gap: 4px; }
.dl__badge { justify-self: start; background: var(--sun); color: var(--abyss); font-size: 0.8rem; font-weight: 500; border-radius: 999px; padding: 3px 11px; margin-bottom: 6px; }
.dl__card h3 { font-family: var(--display); font-size: 2rem; font-weight: 650; }
.dl__ver { margin: 0; color: var(--ink-soft); }
.dl__ver span { color: #8a91ad; margin-left: 8px; }
.dl__list { margin: 0; padding: 0 0 0 20px; color: var(--ink-soft); flex: 1; }
.dl__list li + li { margin-top: 4px; }
.hash { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: var(--foam); border-radius: 10px; padding: 9px 10px 9px 14px; }
.hash__label { font-size: 0.8rem; color: #8a91ad; }
.hash__value { background: none; padding: 0; font-size: 0.76rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl__count { margin: -8px 0 0; text-align: center; color: var(--ink-soft); font-size: 0.92rem; }
.dl__count b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.dl__count.is-bump b { animation: bump .45s ease; display: inline-block; }
.dl__verify { color: var(--ink-soft); font-size: 0.93rem; margin: 24px 0 0; max-width: 90ch; }

/* ---------------- Kurulum ---------------- */
.install { padding: 60px 0 clamp(70px, 9vw, 110px); }
.ostabs { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-top: 30px; gap: 4px; }
.ostab { font: 500 1rem var(--body); border: 0; background: none; color: var(--ink-soft); padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.ostab span { font-weight: 400; font-size: 0.85em; opacity: 0.7; margin-left: 4px; }
.ostab.is-active { background: var(--ink); color: var(--white); }
.ospanel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 34px; align-items: start; }
.ospanel[hidden] { display: none; }

.req { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; position: sticky; top: 100px; }
.req h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.req ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-soft); font-size: 0.95rem; }
.req li + li { margin-top: 8px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 34px 62px; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--sun); font: 650 1.1rem var(--display);
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.step h3 { font-size: 1.15rem; }
.step p { margin: 6px 0 12px; color: var(--ink-soft); max-width: 70ch; }
.step__extra { font-size: 0.93rem; }

.cmd { position: relative; background: var(--abyss); border-radius: 12px; margin: 0 0 12px; }
.cmd[hidden] { display: none; }
.cmd pre { margin: 0; padding: 15px 104px 15px 18px; overflow-x: auto; }
.cmd code { background: none; padding: 0; color: #e9edff; font-size: 0.9rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy {
  position: absolute; top: 9px; right: 9px; font: 500 0.82rem var(--body);
  color: var(--white); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px; padding: 6px 12px; cursor: pointer; transition: background-color .15s;
}
.copy:hover { background: rgba(255, 255, 255, 0.2); }
.copy.is-done { background: var(--lagoon); border-color: var(--lagoon); color: var(--abyss); }
.copy--small { position: static; color: var(--ink); background: var(--white); border-color: var(--line); }
.copy--small:hover { background: #e9eeff; }

.distros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.distro { font: 500 0.9rem var(--body); border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.distro.is-active { border-color: var(--periwinkle); color: var(--periwinkle-deep); background: rgba(95, 124, 255, 0.08); }

.faq { margin-top: 30px; max-width: 860px; }
.faq h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 600; margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 36px 16px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > p, .faq details > .cmd { margin-left: 0; }
.faq details > p { color: var(--ink-soft); margin: 0 0 14px; max-width: 75ch; }

/* ---------------- Sürüm notları ---------------- */
.releases { background: var(--white); border-top: 1px solid var(--line); padding: clamp(70px, 9vw, 110px) 0; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline li:first-child .timeline__ver { color: var(--periwinkle-deep); }
.timeline__ver { font: 650 1.35rem var(--display); }
.timeline__ver span { display: block; font: 400 0.85rem var(--body); color: #8a91ad; margin-top: 2px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* ---------------- Alt bilgi ---------------- */
.footer { background: var(--abyss); color: rgba(255, 255, 255, 0.72); padding: 46px 0 calc(46px + env(safe-area-inset-bottom, 0px)); font-size: 0.93rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { color: var(--white); font: 650 1.25rem var(--display); }
.footer__brand p, .footer__privacy, .footer__copy { margin: 0; }
.footer__privacy { max-width: 46ch; justify-self: center; text-align: center; }
.footer a { color: var(--lagoon); margin-left: 12px; }

/* ---------------- Uyarlanabilir düzen ---------------- */
@media (max-width: 980px) {
  .hero__inner, .features__grid, .vault__grid, .ospanel, .dl { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .features__intro, .req { position: static; }
  .hero__sun { width: 110px; height: 110px; right: 6%; top: 86px; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__privacy { justify-self: start; text-align: left; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav nav { margin-left: auto; }
  .mock__page { height: 290px; }
  .mock__tab { min-width: 0; padding: 7px 10px; }
  .mock__nav svg:nth-child(2) { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .step { padding-left: 52px; }
  .cmd pre { padding-right: 18px; padding-top: 48px; }
  .hash { grid-template-columns: 1fr auto; }
  .hash__label { grid-column: 1 / -1; }
  .sea { height: 120px; }
  .hero__sun { width: 84px; height: 84px; right: 5%; top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
