:root {
  --ink: #10172a;
  --ink-soft: #394052;
  --muted: #7b8290;
  --orange: #ff5b17;
  --orange-deep: #ec4b0b;
  --cream: #fff8ee;
  --line: #ececef;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 72px;
  padding: 0 clamp(28px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f1;
  background: rgba(255, 255, 255, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(16, 23, 42, 0.12);
}

.brand-dot {
  color: var(--orange);
}

.top-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.top-nav {
  gap: 30px;
}

.language-switch {
  padding: 4px;
  border: 1px solid #e7e8eb;
  border-radius: 999px;
  background: #fafafa;
  box-shadow: 0 2px 7px rgba(17, 24, 39, 0.04);
}

.language-button {
  width: 38px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #697080;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.language-button:hover {
  color: var(--ink);
}

.language-button.is-active {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 5px 12px rgba(16, 23, 42, 0.18);
}

.contact-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.contact-link:hover {
  color: var(--orange);
}

.hero {
  padding: clamp(72px, 8vw, 104px) 24px 0;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(58px, 6.15vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.066em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  margin-top: 13px;
  color: var(--orange);
}

.hero-subtitle {
  max-width: 620px;
  margin: 44px auto 0;
  color: #717886;
  font-size: 17px;
  line-height: 1.7;
}

.coming-soon {
  width: max-content;
  margin: 38px auto 18px;
  padding: 9px 16px 9px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b44b20;
  border: 1px solid #f4ddc6;
  border-radius: 999px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 16px rgba(238, 103, 32, 0.06);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff781e;
  box-shadow: 0 0 0 4px rgba(255, 120, 30, 0.08);
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.store-button {
  min-width: 190px;
  height: 62px;
  padding: 9px 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  border: 0;
  border-radius: 13px;
  background: #303748;
  box-shadow: 0 11px 22px rgba(20, 27, 44, 0.2);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: #252c3c;
  box-shadow: 0 15px 26px rgba(20, 27, 44, 0.23);
}

.store-button:active {
  transform: translateY(0);
}

.store-icon {
  width: 29px;
  height: 31px;
  flex: 0 0 auto;
  fill: currentColor;
}

.play-icon {
  width: 31px;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.store-copy small {
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.store-copy strong {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.notify-heading {
  margin: 25px auto 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #697080;
  font-size: 14px;
  font-weight: 500;
}

.notify-heading svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #ff8a35;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notify-form {
  width: min(100%, 450px);
  height: 58px;
  margin: 0 auto;
  padding: 5px;
  display: flex;
  align-items: center;
  border: 1px solid #e7e8eb;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(19, 27, 43, 0.09);
}

.notify-form input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 20px;
  color: var(--ink);
  border: 0;
  outline: 0;
  border-radius: inherit;
  background: transparent;
  font-size: 13px;
}

.notify-form input::placeholder {
  color: #a5aab4;
}

.notify-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 91, 23, 0.25);
}

.notify-form button {
  min-width: 112px;
  height: 46px;
  padding: 0 22px;
  color: var(--white);
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(255, 91, 23, 0.24);
  transition: background 160ms ease, transform 160ms ease;
}

.notify-form button:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.phone-stage {
  position: relative;
  width: min(700px, 100%);
  margin: 66px auto 0;
  overflow: hidden;
}

.phone-stage img {
  position: relative;
  z-index: 1;
  width: min(530px, 86vw);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.phone-glow {
  position: absolute;
  z-index: 0;
  inset: 12% 4% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 167, 87, 0.23) 0, rgba(255, 225, 193, 0.12) 38%, rgba(255, 255, 255, 0) 72%);
  filter: blur(9px);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid #f3eadf;
  border-bottom: 1px solid #f3eadf;
  background: #fff8ef;
}

.ticker-track {
  width: max-content;
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker-set {
  min-width: max-content;
  height: 105px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
}

.ticker-set span {
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(23px, 2.5vw, 35px);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.ticker-set span:nth-of-type(2n) {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}

.ticker-set i {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}

.ticker-set i::before,
.ticker-set i::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border: 2px solid #ff8a35;
}

.ticker-set i::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.ticker-set i::after {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
}

.features {
  padding: 88px clamp(28px, 5vw, 64px) 94px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
}

.section-kicker span {
  width: 31px;
  height: 1px;
  background: #d18d62;
}

.section-kicker p {
  margin: 0;
  color: #de7440;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.feature-grid {
  margin-top: 51px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}

.feature-card {
  padding-top: 28px;
  border-top: 1px solid #e6e7ea;
}

.feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-number {
  color: transparent;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 53px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1.15px #8c919a;
}

.feature-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ff9a50;
  border-radius: 50%;
  background: #fff8ef;
  font-size: 19px;
}

.feature-card h2 {
  margin: 24px 0 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: #8b909b;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  min-height: 95px;
  padding: 0 clamp(28px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #efeff1;
}

.site-footer p {
  margin: 0;
  color: #7f8591;
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 28px;
}

.site-footer button,
.site-footer a {
  padding: 7px 0;
  color: var(--ink-soft);
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer button:hover,
.site-footer a:hover {
  color: var(--orange);
}

.legal-main {
  min-height: calc(100vh - 167px);
  padding: clamp(58px, 8vw, 96px) clamp(22px, 5vw, 64px) 88px;
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 138, 53, 0.13), transparent 28%),
    linear-gradient(180deg, #fffaf4 0, #fff 300px);
}

.legal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 18px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.legal-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.legal-heading-row h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-intro {
  max-width: 700px;
  margin: 25px 0 42px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid #ececef;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.09);
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid #ececef;
}

.legal-section h2 {
  margin: 0 0 14px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.legal-section p,
.legal-section li {
  color: #626a79;
  font-size: 16px;
  line-height: 1.78;
}

.legal-section p {
  margin: 0 0 13px;
}

.legal-section ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-section a {
  color: var(--orange-deep);
  font-weight: 700;
}

.legal-meta {
  margin-top: 38px;
  color: #959aa5;
  font-size: 13px;
}

.legal-language {
  flex: 0 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--orange);
}

[data-legal-language][hidden] {
  display: none;
}

.policy-dialog {
  width: min(560px, calc(100vw - 36px));
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: var(--shadow);
}

.policy-dialog::backdrop {
  background: rgba(8, 13, 26, 0.55);
  backdrop-filter: blur(5px);
}

.dialog-card {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: var(--white);
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #646b78;
  border: 0;
  border-radius: 50%;
  background: #f2f3f5;
  font-size: 24px;
  line-height: 1;
}

.dialog-card h2 {
  margin: 0 44px 22px 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.dialog-card p {
  margin: 0 0 15px;
  color: #697080;
  font-size: 15px;
  line-height: 1.75;
}

.dialog-card p:last-child {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 14px 18px;
  color: var(--white);
  border-radius: 12px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation-play-state: paused;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .brand {
    gap: 9px;
    font-size: 17px;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .top-nav {
    gap: 13px;
  }

  .language-switch {
    padding: 3px;
  }

  .language-button {
    width: 33px;
    height: 29px;
    font-size: 11px;
  }

  .contact-link {
    font-size: 12px;
  }

  .hero {
    padding: 58px 18px 0;
  }

  .hero h1 {
    font-size: clamp(43px, 12.8vw, 62px);
    line-height: 1.01;
  }

  .hero h1 .accent {
    margin-top: 7px;
  }

  .hero-subtitle {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.65;
  }

  .coming-soon {
    margin-top: 30px;
  }

  .store-buttons {
    gap: 9px;
  }

  .store-button {
    min-width: 0;
    width: calc(50% - 5px);
    height: 58px;
    padding: 8px 13px;
    gap: 8px;
  }

  .store-icon {
    width: 24px;
    height: 26px;
  }

  .store-copy small {
    font-size: 7px;
  }

  .store-copy strong {
    font-size: 14px;
  }

  .notify-form {
    height: auto;
    padding: 5px;
  }

  .notify-form input {
    padding: 0 13px;
    font-size: 12px;
  }

  .notify-form button {
    min-width: 91px;
    padding: 0 14px;
    font-size: 12px;
  }

  .phone-stage {
    margin-top: 50px;
  }

  .phone-stage img {
    width: min(450px, 110vw);
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .ticker-set {
    height: 82px;
    gap: 29px;
  }

  .features {
    padding: 64px 22px 67px;
  }

  .feature-grid {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-card {
    padding-top: 23px;
  }

  .site-footer {
    padding: 24px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .dialog-card {
    padding: 30px 24px;
  }

  .legal-main {
    padding: 48px 18px 64px;
  }

  .legal-heading-row {
    display: block;
  }

  .legal-language {
    width: max-content;
    margin-top: 24px;
  }

  .legal-intro {
    margin-top: 22px;
    font-size: 16px;
  }

  .legal-card {
    border-radius: 20px;
  }
}

@media (max-width: 430px) {
  .contact-link {
    display: none;
  }

  .hero h1 {
    font-size: clamp(39px, 12.4vw, 52px);
  }

  .store-button {
    padding-inline: 8px;
  }

  .notify-heading {
    margin-top: 22px;
  }
}

/* PDF araçları index'in üstünde bağımsız bir çalışma alanı olarak yer alır. */
.tools-home-shell {
  overflow: hidden;
  border-bottom: 12px solid #fff;
  background:
    radial-gradient(circle at 5% 0%, rgba(255, 230, 212, 0.45), transparent 25%),
    radial-gradient(circle at 95% 32%, rgba(255, 219, 191, 0.35), transparent 22%),
    #f7f7fb;
}

.tools-topbar {
  min-height: 66px;
  padding: 0 clamp(20px, 3.2vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  border-bottom: 1px solid #e4e4e8;
  background: rgba(255, 255, 255, 0.96);
}

.tools-topbar .brand {
  flex: 0 0 auto;
  font-size: 18px;
}

.tools-topbar .brand img {
  width: 28px;
  height: 28px;
}

.tools-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.tools-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tools-nav a:hover {
  color: var(--orange);
}

.tools-app-link {
  margin-left: auto;
  padding: 9px 15px;
  color: var(--white);
  border-radius: 9px;
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 7px 15px rgba(255, 91, 23, 0.18);
}

.tools-app-link:hover {
  background: var(--orange-deep);
}

.tools-catalog-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 78px) 24px 27px;
  text-align: center;
}

.tools-catalog-hero h1 {
  margin: 0;
  color: #30313c;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.tools-catalog-hero p {
  max-width: 760px;
  margin: 14px auto 0;
  color: #686c79;
  font-size: 16px;
  line-height: 1.6;
}

.tool-filters {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.tool-filter {
  min-height: 32px;
  padding: 0 15px;
  color: #565a65;
  border: 1px solid #d9dae1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tool-filter:hover {
  color: var(--ink);
  border-color: #bfc1ca;
}

.tool-filter.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.tool-catalog {
  padding: 0 clamp(20px, 2.1vw, 40px) 58px;
}

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.tool-card {
  min-height: 212px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #343540;
  border: 1px solid #d8d9e0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tool-card:hover,
.tool-card.is-active {
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(18, 24, 42, 0.08);
  transform: translateY(-2px);
}

.tool-card.is-hidden {
  display: none;
}

.tool-card-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--orange);
  border-radius: 8px;
  background: #fff0e5;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.tool-card:nth-child(2) .tool-card-icon { color: #e16f52; background: #fff0ea; }
.tool-card:nth-child(3) .tool-card-icon { color: #8eae4e; background: #eff7dd; }
.tool-card:nth-child(4) .tool-card-icon { color: #738fd6; background: #e9efff; }
.tool-card:nth-child(5) .tool-card-icon { color: #b4648f; background: #fcebf4; }

.tool-card h2 {
  margin: 22px 0 8px;
  color: inherit;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.tool-card p {
  margin: 0;
  color: #747783;
  font-size: 12px;
  line-height: 1.5;
}

.tool-panels {
  max-width: 960px;
  margin: 42px auto 0;
}

.tool-panel {
  padding: 34px 0 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(38px, 7vw, 104px);
  border-top: 1px solid #dfe0e5;
}

.tool-panel[hidden] {
  display: none;
}

.tool-panel-number {
  margin: 0 0 16px;
  color: var(--orange);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tool-panel-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.tool-panel-copy > p:not(.tool-panel-number) {
  margin: 16px 0 0;
  color: #727784;
  font-size: 14px;
  line-height: 1.65;
}

.local-file-note {
  color: #b44b20 !important;
  font-size: 12px !important;
  font-weight: 800;
}

.drop-zone {
  min-height: 166px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e8d5c4;
  border-radius: 14px;
  background: #fffaf6;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--orange);
  background: #fff5ec;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.drop-zone:focus-within {
  outline: 3px solid rgba(255, 91, 23, 0.2);
  outline-offset: 3px;
}

.drop-zone-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  display: grid;
  place-items: center;
  color: var(--orange);
  border-radius: 12px;
  background: #fff0e5;
  font-size: 27px;
  line-height: 1;
}

.drop-zone strong { font-size: 14px; }
.drop-zone small { margin-top: 5px; color: #8b919d; font-size: 12px; }

.selected-files {
  min-height: 20px;
  margin: 12px 2px 18px;
  color: #737985;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.field-label { display: block; margin: 0 0 8px; color: #4f5664; font-size: 13px; font-weight: 800; }
.range-input { width: 100%; height: 46px; padding: 0 2px; color: var(--ink); border: 0; border-bottom: 1px solid #d5d8de; border-radius: 0; outline: 0; background: transparent; font-size: 14px; }
.range-input:focus { border-color: var(--orange); }
.field-help { margin: 8px 2px 18px; color: #858b96; font-size: 12px; line-height: 1.5; }

.tool-submit {
  min-width: 180px;
  height: 46px;
  padding: 0 22px;
  color: var(--white);
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 8px 16px rgba(255, 91, 23, 0.24);
  font-size: 13px;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.tool-submit:hover:not(:disabled) { background: var(--orange-deep); transform: translateY(-1px); }
.tool-submit:disabled { cursor: wait; opacity: 0.62; }

.tool-result { min-height: 0; margin: 24px 0 0; color: #596171; font-size: 13px; font-weight: 700; line-height: 1.5; }
.tool-result:empty { display: none; }
.tool-result.is-success { color: #177944; }
.tool-result.is-error { color: #c23e2c; }

@media (max-width: 1080px) {
  .tool-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .tools-topbar { min-height: 62px; padding: 0 18px; gap: 14px; }
  .tools-nav { display: none; }
  .tools-app-link { padding: 8px 12px; font-size: 11px; }
  .tools-catalog-hero { padding: 45px 18px 24px; }
  .tools-catalog-hero h1 { font-size: 37px; }
  .tools-catalog-hero p { font-size: 15px; }
  .tool-catalog { padding: 0 18px 44px; }
  .tool-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { min-height: 205px; padding: 18px; }
  .tool-card:nth-child(5) { grid-column: 1 / -1; }
  .tool-card h2 { margin-top: 17px; font-size: 16px; }
  .tool-panels { margin-top: 31px; }
  .tool-panel { padding-top: 30px; grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .tools-topbar .brand { font-size: 16px; }
  .tools-topbar .brand img { width: 25px; height: 25px; }
  .tools-app-link { font-size: 10px; }
  .tool-filters { gap: 7px; }
  .tool-filter { padding: 0 12px; }
}

/* Araçlar kendi çalışma sayfasında açılır; ana landing bölünmez. */
.tools-home-shell { border-bottom: 0; }
.tools-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tools-top-actions .tools-app-link { margin-left: 0; }
.tools-language-switch { flex: 0 0 auto; }
.tools-contact-link { color: var(--ink-soft); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tools-contact-link:hover { color: var(--orange); }
.tool-card { text-decoration: none; }
.tool-card:focus-visible,
.pdf-page-card:focus-visible { outline: 3px solid rgba(255, 91, 23, 0.32); outline-offset: 3px; }
#app-showcase .hero { padding-top: clamp(50px, 6vw, 82px); }

.tools-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 6% 5%, rgba(255, 230, 212, 0.48), transparent 25%),
    radial-gradient(circle at 96% 36%, rgba(255, 219, 191, 0.34), transparent 25%),
    #f7f7fb;
}

.tool-workspace {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 76px;
}

.tools-back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: #616775;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tools-back-link:hover { color: var(--orange); }

.tool-workspace-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: clamp(42px, 8vw, 110px);
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid #dfdfe5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(23, 28, 45, 0.07);
}

.tool-workspace-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.tool-workspace-heading > p:not(.tool-panel-number) {
  margin: 17px 0 0;
  color: #707683;
  font-size: 15px;
  line-height: 1.65;
}

.tool-workspace-form { min-width: 0; }
.workspace-drop-zone { min-height: 185px; }
.tool-privacy-link { display: inline-flex; margin-top: 12px; color: #687080; font-size: 12px; font-weight: 800; text-decoration: none; }
.tool-privacy-link:hover { color: var(--orange); }

.page-selection,
.image-selection {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e6ea;
}

.page-selection-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-selection h2,
.image-selection h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.03em;
}

.page-selection-head p {
  margin: 6px 0 0;
  color: #7b818e;
  font-size: 12px;
  line-height: 1.55;
}

.page-selection-head strong {
  padding-top: 2px;
  color: var(--orange);
  font-size: 12px;
  white-space: nowrap;
}

.page-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.page-loading {
  grid-column: 1 / -1;
  margin: 2px 0;
  color: #7b818e;
  font-size: 13px;
}

.pdf-page-card {
  position: relative;
  min-width: 0;
  min-height: 160px;
  padding: 10px 9px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  border: 1px solid #dbdde4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.pdf-page-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.pdf-page-card canvas {
  max-width: 100%;
  max-height: 132px;
  margin-bottom: auto;
  display: block;
  box-shadow: 0 2px 7px rgba(21, 28, 41, 0.13);
  transform-origin: center;
  transition: transform 180ms ease;
}

.page-card-number { margin-top: 8px; font-size: 11px; font-weight: 800; }
.page-card-state { min-height: 16px; margin-top: 3px; color: #7d8390; font-size: 10px; font-weight: 800; }
.pdf-page-card.is-selected { border-color: var(--orange); background: #fff6ef; box-shadow: 0 0 0 2px rgba(255, 91, 23, 0.14); }
.pdf-page-card.is-selected .page-card-state { color: var(--orange); }
.pdf-page-card.is-marked { border-color: #d95542; background: #fff3f0; box-shadow: 0 0 0 2px rgba(217, 85, 66, 0.13); }
.pdf-page-card.is-marked .page-card-state { color: #c54432; }
.pdf-page-card.is-rotated { border-color: #738fd6; background: #f3f6ff; }
.pdf-page-card.is-rotated .page-card-state { color: #5474bf; }

.image-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.image-preview-card { min-width: 0; margin: 0; }
.image-preview-card img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border: 1px solid #e0e1e7; border-radius: 10px; }
.image-preview-card figcaption { margin-top: 6px; color: #737985; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.tool-workspace-form > .tool-submit { margin-top: 28px; }

.tool-ad-section {
  display: none;
  width: min(740px, 100%);
  min-height: 0;
  margin: 36px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(213, 215, 221, 0.72);
}

.tool-ad-section.is-filled { display: block; }
.tool-ad-section > p { margin: 0 0 10px; color: #989da7; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.tool-ad-section ins { min-height: 90px; }

.tool-page-footer {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #818794;
  border-top: 1px solid rgba(218, 219, 225, 0.78);
  font-size: 12px;
}

.tool-page-footer p { margin: 0; }
.tool-page-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.tool-page-footer a { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.tool-page-footer a:hover { color: var(--orange); }

@media (max-width: 760px) {
  .tools-top-actions { gap: 8px; }
  .tools-language-switch .language-button { min-width: 36px; padding-inline: 8px; }
  .tools-app-link { padding-inline: 9px; }
  .tool-workspace { width: min(100% - 28px, 620px); padding: 28px 0 52px; }
  .tool-workspace-card { display: block; padding: 26px 18px 30px; border-radius: 18px; }
  .tool-workspace-form { margin-top: 29px; }
  .tool-workspace-heading h1 { font-size: 39px; }
  .page-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdf-page-card { min-height: 180px; }
  .tool-page-footer { width: min(100% - 28px, 620px); padding: 24px 0 28px; align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 420px) {
  .tools-top-actions { gap: 6px; }
  .tools-language-switch .language-button { min-width: 33px; padding-inline: 6px; font-size: 10px; }
  .tools-app-link { display: none; }
  .tools-contact-link { display: none; }
  .tool-workspace-heading h1 { font-size: 36px; }
  .page-selection-head { display: block; }
  .page-selection-head strong { display: block; margin-top: 9px; }
}
