:root {
  --brand: #e5322d;
  --brand-dark: #c12a26;
  --text: #212529;
  --muted: #6c757d;
  --border: #e9ecef;
  --surface: #ffffff;
  --surface-soft: #fff6f3;
  --bg: #fafbfc;
  --radius: 18px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  --ok: #198754;
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.logo {
  height: 48px;
}

.hero {
  padding: 64px 0 26px;
  text-align: center;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.3px;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 760px;
  margin-inline: auto;
}

.tool-card,
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.content-card h2,
.content-card h3 {
  letter-spacing: -0.02em;
}

.soft-card {
  background: var(--surface-soft);
  border: 1px solid #f3ddd6;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.dropzone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 34px;
  text-align: center;
  transition: 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.dropzone.dragover {
  border-color: var(--brand);
  background: #fff5f5;
}

.dropzone .dz-prompt {
  opacity: 1;
  transform: translateY(0);
  transition: 0.25s ease;
}

.dropzone.has-file .dz-prompt {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  display: none;
}

.dropzone .dz-file {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.dropzone.has-file .dz-file {
  display: block;
  animation: fadeSlideIn 0.28s ease forwards;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.file-chip .ok {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}

.file-chip .name {
  font-weight: 600;
}

.file-chip .size {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn-outline-brand {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline-brand:hover,
.btn-outline-brand.active {
  background: #fff1f1;
  border-color: var(--brand);
  color: var(--brand);
}

.format-label {
  font-weight: 600;
  margin-bottom: 8px;
}

.ad-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.ad-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.site-links a {
  text-decoration: none;
}

footer {
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }

  .nav-action {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
