@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_lightitalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_mediumitalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_bolditalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "GothamPro";
  src: url("./font/gothampro_blackitalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #05070c;
  --bg-soft: #0a1120;
  --card: #0d1729;
  --panel: #0b1322;
  --text: #eaf4ff;
  --muted: #9fc2e6;
  --line: #173050;
  --primary: #1f78ff;
  --primary-hover: #4ba3ff;
  --header-h: 86px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "GothamPro", "Proxima Nova", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1360px, 97%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(5, 7, 12, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid #22446d;
  border-radius: 999px;
}

.main-nav a {
  color: #a9cbef;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 12px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
  background: #11213a;
}

.main-nav a:first-child {
  color: #fff;
  background: #17345e;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--primary-hover);
}

.btn-small {
  padding: 9px 14px;
  font-size: 14px;
}

.login-btn {
  justify-self: end;
  background: transparent;
  border-color: #4f9bff;
  color: #bfe0ff;
  font-style: normal;
}

.login-btn:hover {
  background: rgba(31, 120, 255, 0.12);
  border-color: #79b8ff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  font-style: italic;
}

.btn-ghost:hover {
  border-color: #3f6ea3;
  background: #10203a;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  /* En az bir ekran yuksekligi (istege bagli), ust sınır yok — resim buyuyebilir */
  min-height: calc(100svh - var(--header-h));
  padding: clamp(20px, 3vh, 56px) 0 clamp(28px, 4vh, 64px);
  border-bottom: 1px solid var(--line);
  background-color: #141b2a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg fill='none' stroke='%236b7fa3' stroke-opacity='0.18' stroke-width='1'%3E%3Cpath d='M11 7v8M7 11h8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 22px 22px;
  background-repeat: repeat;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero > .container.hero-grid {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(16px, 2.5vw, 30px);
  align-items: center;
}

.hero-media {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Buyuk goster: sadece asiri uzunlugu engelle (cok yuksek monitor) */
.hero-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(96vh, 1400px);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  border-radius: 10px;
}

.hero-content {
  justify-self: end;
  width: min(100%, 620px);
  margin-right: clamp(20px, 4vw, 56px);
  box-sizing: border-box;
}

.eyebrow {
  color: #78c3ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-accent {
  font-style: italic;
}

.hero-text {
  color: var(--muted);
  font-weight: 300;
  max-width: 620px;
  margin: 18px 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats-row {
  margin-top: clamp(12px, 2.5vh, 32px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stats-row div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.stats-row strong {
  font-size: 23px;
  display: block;
  font-weight: 900;
}

.stats-row span {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
}

.server-status-meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  opacity: 0.9;
}

.section {
  padding: 74px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
}

#hakkimizda .section-head {
  text-align: center;
}

#hakkimizda .eyebrow {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: #78c3ff;
}

#hakkimizda .section-head h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.feature-card h3 {
  margin-top: 0;
  font-weight: 700;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 300;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.steps span {
  display: inline-block;
  color: #9ad2ff;
  font-weight: 900;
  font-size: 13px;
}

.steps h3 {
  margin: 10px 0 10px;
  font-weight: 700;
}

.steps p {
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.social-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 118px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-card:hover {
  border-color: #4f8fd3;
  transform: translateY(-2px);
}

.social-card span {
  color: var(--muted);
  font-weight: 300;
}

.social-card strong {
  font-weight: 700;
  font-style: italic;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
}

.faq-list p {
  color: var(--muted);
  margin: 10px 0 0;
  font-weight: 300;
  font-style: italic;
}

/* ---------- Giriş / kayıt sayfaları ---------- */
body.page-login {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.page-login .auth-page {
  flex: 1 1 auto;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 48px) 16px;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.45) 0%, rgba(5, 7, 12, 0.72) 100%),
    url("arkaplan.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-login .auth-inner {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.auth-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.1;
}

.page-login .auth-title {
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.auth-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 300;
  font-size: 14px;
}

.page-login .auth-lead {
  color: #c5ddf5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 80, 120, 0.1);
  border: 1px solid rgba(255, 120, 140, 0.35);
  color: #ffb8c8;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.45;
}

.auth-form .form-field {
  margin-bottom: 18px;
}

.page-login .form-field label {
  display: block;
  margin-bottom: 8px;
  color: #b8d4f0;
  font-weight: 500;
  font-size: 13px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.page-login .form-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(120, 170, 230, 0.28);
  background: rgba(5, 10, 20, 0.55);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.page-login .form-field input::placeholder {
  color: rgba(159, 194, 230, 0.45);
}

.page-login .form-field input:focus {
  outline: none;
  border-color: rgba(79, 155, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(31, 120, 255, 0.2);
  background: rgba(5, 10, 20, 0.7);
}

.form-row-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  font-weight: 400;
}

.form-check input {
  width: auto;
  accent-color: var(--primary);
}

.auth-link {
  color: #78c3ff;
  font-weight: 600;
}

.auth-link:hover {
  color: #bfe0ff;
}

.auth-link-muted {
  color: #6d8fb5;
  font-size: 13px;
}

.auth-link-muted:hover {
  color: #9fc2e6;
}

.auth-submit {
  margin-top: 4px;
}

.auth-demo-hint {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #a8c9e8;
  background: rgba(120, 195, 255, 0.08);
  border: 1px solid rgba(120, 195, 255, 0.25);
  text-align: left;
}

.auth-demo-hint code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #e2f0ff;
}

.page-login .auth-demo-hint {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.page-login .form-check {
  color: #c5ddf5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8fbfff;
}

.footer-links a:hover {
  color: #c4e3ff;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    max-height: min(75vh, 900px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-height: 780px) {
  .hero-text {
    margin: 10px 0 14px;
  }

  .hero h1 {
    font-size: clamp(22px, 5vw, 38px);
  }

  .stats-row div {
    padding: 10px 12px;
  }

  .stats-row strong {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: clamp(8px, 2vh, 20px) 0;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .steps,
  .social-grid {
    grid-template-columns: 1fr;
  }
}
