.hero {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 102, 204, 0));
}

.hero__lead {
  max-width: 48rem;
  font-size: 1.125rem;
  color: var(--color-muted, #4a5666);
}

.hero__privacy {
  margin-top: 0.75rem;
  font-weight: 500;
  color: var(--color-accent, #0b69c7);
}

.hero__keywords {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--color-muted, #4a5666);
}

.hero__keywords li {
  background: rgba(11, 105, 199, 0.08);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.workspace {
  padding: 3rem 0;
}

.workspace__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .workspace__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: flex-start;
  }
}

.workspace__panel {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 40px rgba(10, 36, 74, 0.06);
  padding: 2rem;
}

.panel-title {
  margin-top: 0;
  font-size: 1.25rem;
}

.panel-text {
  margin-bottom: 1.25rem;
  color: var(--color-muted, #4a5666);
}

.dropzone {
  position: relative;
  border: 2px dashed rgba(11, 105, 199, 0.4);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  background: rgba(11, 105, 199, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.dropzone.is-dragover {
  border-color: rgba(11, 105, 199, 0.8);
  background: rgba(11, 105, 199, 0.12);
}

.dropzone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone__card {
  pointer-events: none;
}

.dropzone__icon {
  width: 48px;
  height: 48px;
  fill: rgba(11, 105, 199, 0.8);
  margin-bottom: 0.75rem;
}

.dropzone__headline {
  font-size: 1.125rem;
  font-weight: 600;
}

.dropzone__hint {
  margin-top: 0.5rem;
  color: var(--color-muted, #4a5666);
}

.filelist {
  margin-top: 1.5rem;
  border: 1px solid rgba(11, 105, 199, 0.12);
  border-radius: 0.75rem;
  background: #f8fbff;
  padding: 1rem;
}

.filelist__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.filelist__clear {
  font-size: 0.875rem;
}

.filelist__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
  border: 1px solid rgba(11, 105, 199, 0.1);
}

.file-card.dragover {
  border-color: rgba(11, 105, 199, 0.6);
  background: rgba(11, 105, 199, 0.05);
}

.file-card__name {
  font-weight: 600;
  word-break: break-word;
}

.file-card__meta {
  font-size: 0.875rem;
  color: var(--color-muted, #4a5666);
}

.file-card__actions {
  display: flex;
  gap: 0.5rem;
}

.file-card__status {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--color-muted, #4a5666);
}

.file-card__status--pending {
  color: var(--color-accent, #0b69c7);
}

.file-card__status--success {
  color: #1a7f37;
}

.file-card__status--error {
  color: #c43c30;
}

.file-card button {
  border: none;
  background: none;
  color: var(--color-accent, #0b69c7);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.file-card__server {
  pointer-events: auto;
}

.file-card button:focus-visible {
  outline: 2px solid currentColor;
  border-radius: 0.5rem;
}

.file-card[draggable="true"] {
  cursor: grab;
}

.file-card.dragging {
  opacity: 0.6;
}

.filelist__meta,
.filelist__warning {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.filelist__warning {
  color: #c43c30;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #0b69c7;
  color: #fff;
}

.btn-primary:disabled {
  background: rgba(11, 105, 199, 0.35);
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(11, 105, 199, 0.08);
  color: #0b69c7;
}

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

.btn-link {
  background: none;
  border: none;
  color: #0b69c7;
  cursor: pointer;
  padding: 0;
}

.btn-pill {
  border: 1px solid rgba(11, 105, 199, 0.2);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.875rem;
  background: #fff;
  color: #0b69c7;
  cursor: pointer;
}

.btn-pill.is-active {
  background: #0b69c7;
  color: #fff;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.options__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.options__group--inline {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.options__group legend {
  font-weight: 600;
}

.options__group label,
.options__checkbox {
  font-size: 0.95rem;
  color: var(--color-text, #0a244a);
}

.options__grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
  align-items: center;
}

.options select {
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(11, 105, 199, 0.2);
}

.progress {
  margin-top: 1.5rem;
  background: rgba(11, 105, 199, 0.08);
  border-radius: 0.75rem;
  padding: 0.5rem;
}

.progress__bar {
  height: 8px;
  border-radius: 0.5rem;
  background: rgba(11, 105, 199, 0.2);
  position: relative;
  overflow: hidden;
}

.progress__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  background: #0b69c7;
  transition: transform 0.2s ease;
}

.progress__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted, #4a5666);
}

.result {
  margin-top: 1.5rem;
}

.result__thumb {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result__thumb img {
  width: 120px;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 12px 24px rgba(10, 36, 74, 0.15);
}

.features {
  padding: 3rem 0;
  background: #f5f9ff;
}

.features__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.features__card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 18px 28px rgba(10, 36, 74, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.howto {
  padding: 3rem 0;
}

.howto__lead {
  max-width: 48rem;
  color: var(--color-muted, #4a5666);
  margin-bottom: 1.5rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid rgba(11, 105, 199, 0.12);
  box-shadow: 0 18px 32px rgba(10, 36, 74, 0.06);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #0b69c7;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.tips {
  padding: 3rem 0;
  background: #f8fbff;
}

.tips__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .tips__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tips__list {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
  color: var(--color-muted, #4a5666);
}

.tips__list strong {
  color: var(--color-text, #0a244a);
}

.usecases {
  padding: 3rem 0;
}

.usecases__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .usecases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.usecases__grid > h2 {
  grid-column: 1 / -1;
}

.usecase {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(11, 105, 199, 0.12);
  padding: 1.75rem;
  box-shadow: 0 18px 32px rgba(10, 36, 74, 0.06);
}

.seo-text {
  padding: 3rem 0;
}

.seo-text p {
  max-width: 60rem;
  color: var(--color-muted, #4a5666);
  margin-bottom: 1rem;
}

.faq {
  padding: 3rem 0;
}

.faq details {
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgba(11, 105, 199, 0.12);
  padding: 1rem 1.25rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.5rem;
  background: #c43c30;
  color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(10, 36, 74, 0.25);
  max-width: 22rem;
  z-index: 1000;
}

.toast[hidden] {
  display: none;
}
