:root {
  --red: #E50539;
  --red-dim: #B8042C;
  --bg: #0A0A0A;
  --bg-elevated: #161616;
  --bg-elevated-hover: #1F1F1F;
  --text: #FFFFFF;
  --text-muted: #8A8A8E;
  --border: #232323;
  --radius: 14px;
  --max-width: 440px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Layout ---------- */

.page {
  width: 100%;
  max-width: var(--max-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 28px 24px;
}

.spacer {
  flex: 1;
}

/* ---------- Ana sayfa (index) ---------- */

.logo {
  width: 168px;
  margin: 0 auto 40px;
}

.headline {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.subtext {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active {
  background: var(--red-dim);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:active {
  background: var(--bg-elevated-hover);
}

/* ---------- Sosyal linkler ---------- */

.social {
  display: flex;
  gap: 22px;
  margin-bottom: 28px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.social a:hover {
  color: var(--red);
}

/* ---------- Footer ---------- */

.footer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* ---------- Kurulum rehberi sayfalari (ios/android) ---------- */

.top-nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.top-nav .logo-small {
  width: 28px;
  height: 28px;
}

.guide-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.guide-subtext {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-text {
  font-size: 16px;
  line-height: 1.45;
}

.step-text strong {
  color: var(--red);
  font-weight: 600;
}

.step-illustration {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 32px;
  line-height: 1.5;
}
