/* ProShot — landing (koyu lacivert + mavi vurgu, ekran görüntüsü referansı) */

.hidden {
  display: none !important;
}

:root {
  --bg: #0a101f;
  --text: #f2f2f2;
  --muted: #8a8f98;
  --muted-2: #6b7280;
  --muted-3: #4b5563;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --font: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 16px;
  background: #fff;
  color: #000;
  font-family: var(--font);
  font-size: 13px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ——— Navbar ——— */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 100%;
}

.logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font);
}

.logo:hover {
  color: #ffffff;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font);
}

.nav a:hover {
  color: #ffffff;
  opacity: 0.85;
}

/* ——— Hero ——— */

.hero {
  padding: clamp(4.5rem, 10vw, 6rem) 32px clamp(4rem, 8vw, 5.5rem);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.hero-title {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  font-family: var(--font);
}

.hero-title__accent {
  color: #3b82f6;
}

.hero-desc {
  margin: 28px auto 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}

.btn-hero {
  margin-top: 28px;
  padding: 14px 32px;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.btn-hero:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-create:disabled:hover {
  background: var(--accent);
}

/* ——— Nasıl çalışır ——— */

.how {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.how__inner {
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 32px;
}

.how__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  font-family: var(--font);
  text-align: left;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps li {
  margin: 0;
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.step-heading {
  margin: 0 0 0.45rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  font-family: var(--font);
}

.steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font);
}

@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ——— Upload ——— */

.upload-section {
  padding: 0;
  border-bottom: 1px solid var(--line);
  flex: 1;
  background: var(--bg);
}

.upload-section__inner {
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.5rem) 32px clamp(2.5rem, 5vw, 3rem);
}

.upload-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-family: var(--font);
}

.upload-section__body {
  width: 100%;
  max-width: none;
}

.dropzone {
  width: 100%;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.dropzone--has-file {
  cursor: default;
  border-style: solid;
}

.dropzone-placeholder {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.dropzone-text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font);
}

.dropzone-link {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  pointer-events: none;
}

.dropzone-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--font);
}

.dropzone-preview {
  position: relative;
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.dropzone-preview-img {
  display: block;
  width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: contain;
}

.dropzone-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font);
}

.dropzone-remove:hover {
  color: #fff;
  border-color: #333;
}

.dropzone:not(.dropzone--has-file):hover,
.dropzone:not(.dropzone--has-file).is-dragover {
  border-color: rgba(59, 130, 246, 0.45);
}

.dropzone:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.dropzone--disabled {
  pointer-events: none;
  opacity: 0.45;
}

/* ——— Upload bar ——— */

.upload-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.75rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.btn-create {
  flex-shrink: 0;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}

.btn-create:hover:not(:disabled) {
  background: var(--accent-hover);
  color: #fff;
}

.upload-msg {
  margin: 16px 0 0;
  font-size: 12px;
  font-family: var(--font);
}

.upload-msg--error {
  color: #888888;
}

/* ——— Result ——— */

.upload-workspace {
  margin-top: 32px;
  width: 100%;
}

.result-panel.hidden {
  display: none;
}

.result-title {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-3);
  font-family: var(--font);
  font-weight: 600;
}

.result-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}

.result-loading {
  text-align: center;
  padding: 32px 0;
}

.result-loading-text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font);
}

.result-loading-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font);
}

.result-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.btn-result {
  padding: 10px 20px;
  background: #fff;
  color: #000;
  font-size: 13px;
  border-radius: 6px;
}

.btn-result:hover {
  background: #e5e5e5;
}

.btn-result--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-result--ghost:hover {
  background: transparent;
  color: #fff;
  border-color: #333;
}

/* ——— Footer ——— */

.site-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  background: var(--bg);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font);
}
