/*
 * XML Sitemap Oluşturucu — Sefa Gedik
 * Bağımsız HTML/CSS arayüzü. WordPress bağımlılığı yoktur.
 * Gövde metni: Open Sans / 15px
 */
:root {
  color-scheme: light;
  --font: 'Open Sans', Arial, sans-serif;
  --ink: #0d1524;
  --text: #141922;
  --muted: #788498;
  --muted-dark: #69778d;
  --line: #dce2eb;
  --soft: #eef2f6;
  --white: #fff;
  --container: 1110px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 68px)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* Üst bölüm: referanstaki açık zemin ve hafif dalgalar */
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 30% at 97% 42%, rgba(224, 232, 245, 0.44), transparent 100%),
    radial-gradient(ellipse 53% 47% at 4% 70%, rgba(225, 233, 247, 0.40), transparent 90%),
    linear-gradient(180deg, #fff 3%, #fff 65%, #f9fbfd 100%);
  padding-bottom: 56px;
}
.hero__wave { position: absolute; z-index: -1; pointer-events: none; }
.hero__wave--left {
  width: 950px; height: 490px;
  left: -570px; top: 103px;
  transform: rotate(21deg);
  background: linear-gradient(130deg, rgba(241,245,252,0), rgba(234,240,249,.38), rgba(235,241,250,.12));
  border-radius: 50%;
}
.hero__wave--right {
  width: 950px; height: 310px;
  right: -575px; top: 90px;
  transform: rotate(-26deg);
  border-radius: 50%;
  border: 45px solid rgba(238, 243, 251, 0.45);
  filter: blur(4px);
}
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 76px;
}
.brand { display: inline-block; text-decoration: none; }
.brand img { height: auto; object-fit: contain; }
.brand--header img { width: 254px; }
.brand:focus-visible { outline: 3px solid #737f92; outline-offset: 7px; border-radius: 2px; }
.hero__content { text-align: center; padding-top: 83px; }
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.19;
  letter-spacing: -1.95px;
  font-weight: 800;
  color: var(--ink);
}
.hero__description {
  margin: 20px auto 37px;
  max-width: 890px;
  color: var(--muted-dark);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 400;
}
.sitemap-form {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 885px;
  min-height: 82px;
  margin: 0 auto;
  padding: 6px 6px 6px 22px;
  background: rgba(255,255,255,.97);
  border: 1px solid #d5dce6;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(59,75,100,0.045);
}
.sitemap-form:focus-within {
  border-color: #a9b7ca;
  box-shadow: 0 0 0 3px rgba(74,94,123,.10), 0 10px 35px rgba(59,75,100,0.055);
}
.sitemap-form__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 12px; color: #26313e;
  background: linear-gradient(140deg, #f4f6f9, #f7f9fb);
}
.sitemap-form__icon svg { width: 19px; height: 19px; }
.sitemap-form input {
  min-width: 0;
  flex: 1 1 auto;
  color: #28354a;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 16px;
  font-weight: 400;
}
.sitemap-form input::placeholder { color: #8493a9; opacity: 1; }
.sitemap-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex: 0 0 auto;
  min-width: 235px;
  min-height: 68px;
  padding: 16px 23px;
  color: #fff;
  background: linear-gradient(145deg, #29323e, #161c25);
  border: 1px solid #17202b;
  border-radius: 11px;
  box-shadow: 0 4px 9px rgba(14, 23, 35, .10);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sitemap-form__button svg { width: 20px; height: 20px; }
.sitemap-form__button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(14,23,35,.15); background: #202a36; }
.sitemap-form__button:focus-visible { outline: 3px solid #687b94; outline-offset: 3px; }
.sitemap-form__button:active { transform: translateY(0); }
.feature-points {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.feature-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  position: relative;
  padding: 0 27px;
  font-weight: 600;
  color: #101620;
}
.feature-points li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  height: 22px; width: 1px;
  transform: translateY(-50%);
  background: #d4dae5;
}
.check-circle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #e5ebf1, #f0f3f6);
}
.check-circle svg { width: 19px; height: 19px; }

/* 3 adım ve kartlar */
.steps {
  background:
    radial-gradient(ellipse 65% 100% at 50% 0%, rgba(232, 238, 247,.52), rgba(246,248,252,.65) 75%, #f8fafc 100%);
  padding: 47px 0 66px;
}
.steps__heading { text-align: center; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #7b899c;
}
.steps h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.35;
  letter-spacing: -1.1px;
  font-weight: 800;
}
.steps__heading > p:last-child {
  margin: 13px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.step-card {
  min-width: 0;
  position: relative;
  padding: 30px 27px 27px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 26px rgba(102,115,136,.025);
}
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 49%;
  right: -25px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #8594ab;
  border-right: 2px solid #8594ab;
  transform: rotate(45deg);
}
.step-card__header { display: flex; gap: 20px; align-items: center; }
.step-card__icon {
  width: 79px;
  height: 79px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #111922;
  background: #f0f3f6;
}
.step-card__icon svg { width: 31px; height: 31px; }
.step-card__heading { min-width: 0; }
.step-card__number { display: block; margin-bottom: 4px; font-weight: 700; color: #7e8a9f; font-size: 14px; }
.step-card h3 {
  margin: 0;
  color: #121923;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.28px;
}
.step-card > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Yalnızca küçük logo bulunan alt bölüm */
.site-footer {
  min-height: 234px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 50px 24px 50px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 53%);
}
.brand--footer img { width: 144px; }

@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .hero__content { padding-top: 70px; }
  .hero__description { font-size: 17px; }
  .steps__grid { gap: 20px; }
  .step-card { padding: 24px 20px; }
  .step-card__header { gap: 11px; }
  .step-card__icon { width: 59px; height: 59px; }
  .step-card__icon svg { width: 26px; height: 26px; }
  .step-card:not(:last-child)::after { right: -15px; width: 8px; height: 8px; }
}
@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .site-header { padding-top: 34px; }
  .brand--header img { width: 198px; }
  .hero { padding-bottom: 46px; }
  .hero__content { padding-top: 60px; }
  .hero h1 { font-size: clamp(29px, 7vw, 39px); line-height: 1.26; letter-spacing: -1.25px; }
  .hero__description { font-size: 15px; line-height: 1.7; margin: 19px auto 27px; }
  .desktop-only { display: none; }
  .sitemap-form { min-height: 64px; padding: 6px; gap: 7px; border-radius: 12px; }
  .sitemap-form__icon { width: 33px; height: 33px; }
  .sitemap-form input { font-size: 15px; }
  .sitemap-form__button { min-width: unset; min-height: 51px; padding: 11px 13px; gap: 8px; font-size: 13px; border-radius: 9px; }
  .sitemap-form__button svg { width: 16px; height: 16px; }
  .feature-points { margin-top: 26px; }
  .feature-points li { padding: 0 13px; gap: 7px; font-size: 13px; }
  .check-circle { width: 30px; height: 30px; }
  .check-circle svg { width: 15px; height: 15px; }
  .steps { padding: 44px 0 38px; }
  .eyebrow { font-size: 10px; }
  .steps h2 { font-size: 25px; }
  .steps__heading > p:last-child { font-size: 14px; }
  .steps__grid { grid-template-columns: 1fr; gap: 24px; max-width: 480px; margin: 28px auto 0; }
  .step-card { padding: 23px 24px; border-radius: 14px; }
  .step-card__icon { width: 64px; height: 64px; }
  .step-card__header { gap: 17px; }
  .step-card:not(:last-child)::after { top: auto; bottom: -16px; right: calc(50% - 4px); transform: rotate(135deg); }
  .step-card > p { margin-top: 15px; }
  .site-footer { min-height: 145px; padding-bottom: 38px; }
  .brand--footer img { width: 123px; }
}
@media (max-width: 410px) {
  .hero__content { padding-top: 48px; }
  .hero h1 { font-size: 29px; }
  .sitemap-form { flex-wrap: wrap; padding: 8px; }
  .sitemap-form input { flex: 1 1 calc(100% - 50px); height: 40px; }
  .sitemap-form__button { flex: 1 1 100%; width: 100%; }
  .feature-points li { padding: 0 9px; font-size: 12px; }
  .check-circle { width: 27px; height: 27px; }
  .steps h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sitemap-form__button { transition: none; }
}

/* Canlı tarama sonucu: mevcut referans tasarımındaki alanları değiştirmez. */
[hidden] { display: none !important; }
.scan-panel {
  margin: 25px auto 0;
  max-width: 885px;
  padding: 24px 26px;
  border: 1px solid #dbe3ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(35, 52, 80, 0.045);
  text-align: left;
}
.scan-panel__head { display: flex; align-items: center; gap: 15px; }
.scan-panel__icon {
  width: 42px; height: 42px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%; color: #1a2636; background: #edf2f7;
  font-size: 23px; line-height: 1; font-weight: 700;
  animation: scan-turn 2.6s linear infinite;
}
.scan-panel[data-phase='success'] .scan-panel__icon { color: #1d6149; background: #e7f4ee; animation: none; }
.scan-panel[data-phase='error'] .scan-panel__icon { color: #9a3535; background: #fff0f0; animation: none; }
@keyframes scan-turn { to { transform: rotate(360deg); } }
.scan-panel__headcopy { flex: 1; min-width: 0; }
.scan-panel__headcopy h2 { color: #152033; font-size: 17px; margin: 0; font-weight: 700; line-height: 1.35; }
.scan-panel__headcopy p { color: #68788f; font-size: 14px; line-height: 1.5; margin: 4px 0 0; }
.scan-panel__cancel,
.scan-panel__reset { background: transparent; border: none; color: #526780; font-size: 14px; font-weight: 700; padding: 8px; }
.scan-panel__cancel:hover, .scan-panel__reset:hover { color: #162438; text-decoration: underline; }
.scan-panel__progress { height: 7px; margin-top: 22px; border-radius: 10px; overflow: hidden; background: #edf1f5; }
.scan-panel__progress span { display: block; height: 100%; width: 4%; background: #263747; border-radius: 10px; transition: width .35s ease; }
.scan-panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 20px 0 0; text-align: center; }
.scan-panel__stats div + div { border-left: 1px solid #e5e9ef; }
.scan-panel__stats strong { display: block; color: #152234; font-size: 21px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.scan-panel__stats span { display: block; color: #7c8899; font-size: 12px; }
.scan-panel__note { margin: 17px 0 0; font-size: 13px; color: #6e7e92; }
.scan-panel__actions { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 10px; color: #fff; background: #1f2b39; text-decoration: none; font-size: 14px; font-weight: 700; }
.download-button:hover { background: #344356; }
.download-button svg { width: 17px; height: 17px; }
.javascript-warning { font-size: 14px; text-align: center; color: #a03737; }
.sitemap-form__button:disabled { opacity: .75; cursor: wait; transform: none; }
@media (max-width: 720px) {
  .scan-panel { padding: 17px; margin-top: 20px; border-radius: 12px; }
  .scan-panel__head { align-items: flex-start; gap: 9px; }
  .scan-panel__icon { width: 33px; height: 33px; font-size: 17px; }
  .scan-panel__headcopy h2 { font-size: 15px; }
  .scan-panel__headcopy p { font-size: 12px; }
  .scan-panel__cancel { font-size: 12px; }
  .scan-panel__stats strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .scan-panel__icon { animation: none; } }
