/* ByenTech JPG → PDF Converter - Futuristic Simplicity */

:root {
  --bt-primary: #4a5cf5;
  --bt-secondary: #6e7bff;
  --bt-bg-start: #f5f7ff;
  --bt-bg-end: #eaf0ff;
  --bt-card-bg: rgba(255, 255, 255, 0.65);
  --bt-border: rgba(255, 255, 255, 0.4);
  --bt-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --bt-text: #0f172a;
  --bt-text-dim: #475569;
  --bt-success: #19c37d;
  --nav-alpha: 0.35;         /* navbar glass opacity (light) */
  --nav-border: rgba(255,255,255,0.38);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(74, 92, 245, 0.35);
}

[data-theme="dark"] {
  --bt-bg-start: #0b1220;
  --bt-bg-end: #0a0f1e;
  --bt-card-bg: rgba(15, 23, 42, 0.55);
  --bt-border: rgba(255, 255, 255, 0.12);
  --bt-text: #e5e7eb;
  --bt-text-dim: #9aa3b2;
  --bt-shadow: 0 8px 32px rgba(0,0,0,0.5);
  --nav-alpha: 0.18;         /* navbar glass opacity (dark) */
  --nav-border: rgba(255,255,255,0.08);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--bt-text);
  background: linear-gradient(135deg, var(--bt-bg-start), var(--bt-bg-end));
  min-height: 100%;
}

.app-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 480px at 8% 12%, rgba(120, 140, 255, 0.10), transparent 60%),
    radial-gradient(880px 520px at 92% 18%, rgba(100, 170, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at 50% 100%, rgba(120, 200, 255, 0.08), transparent 60%);
  filter: blur(2px);
  z-index: -1;
}

.app-bg::before,
.app-bg::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: floatBlob 18s ease-in-out infinite;
}
.app-bg::before {
  left: -120px;
  top: -120px;
  background: radial-gradient(closest-side, rgba(110,123,255,0.42), transparent);
}
.app-bg::after {
  right: -160px;
  bottom: -160px;
  background: radial-gradient(closest-side, rgba(74,92,245,0.42), transparent);
  animation-delay: 4s;
}
@keyframes floatBlob {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-20px) scale(1.04); }
  100% { transform: translate(0,0) scale(1); }
}

/* Glass navbar */
.bt-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent; /* pill background handled by ::after */
  box-shadow: none;
}
.bt-nav::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0px;
  bottom: -4px; /* subtle cutout below without adding top gap */
  background:
    linear-gradient(180deg, rgba(255,255,255,var(--nav-alpha)), rgba(255,255,255,calc(var(--nav-alpha) * 0.9)));
  border: 1px solid var(--nav-border);
  border-radius: 16px;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.25);
  pointer-events: none;
}
.bt-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* above the pill */
  z-index: 1;
}
.bt-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.bt-brand-text {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  color: var(--bt-text);
}
.bt-nav__links {
  list-style: none;
  display: none;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.bt-nav__links .nav-link {
  text-decoration: none;
  color: var(--bt-text-dim);
  font-weight: 600;
}
.bt-nav__links .nav-link:hover,
.bt-nav__links .nav-link.is-active {
  color: var(--bt-primary);
}
.theme-toggle.premium-toggle {
  position: relative;
  width: 64px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.7);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  overflow: hidden; /* clip knob glow for clean edges */
}
.theme-toggle.premium-toggle::before,
.theme-toggle.premium-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.82;
}
.theme-toggle.premium-toggle::before {
  left: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff3c4, #ffbe3a 60%, #f4a922 100%);
}
.theme-toggle.premium-toggle::after {
  right: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 45%, #dbe6ff, #a1b4dc 58%, #6c7ca8 100%),
    radial-gradient(7px 7px at 60% 40%, #0b152b 0%, transparent 65%);
}
.theme-toggle .toggle-track {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, #fefefe, #f1f4ff);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.75),
    inset 0 -2px 5px rgba(150,170,255,0.14);
  transition: background 300ms ease, box-shadow 300ms ease;
}
[data-theme="dark"] .theme-toggle .toggle-track {
  background: linear-gradient(135deg, #1a233a, #0f172a);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 1.5px rgba(255,255,255,0.06),
    inset 0 -2px 6px rgba(0,0,0,0.45);
}
.theme-toggle .toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 28px; height: 28px; border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, #fff0bd, #ffbc32 38%, #f3a51d 42%),
    linear-gradient(180deg, #fff7e3, #fff);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow:
    0 7px 14px rgba(0,0,0,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.03);
  display: grid; place-items: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 300ms ease;
}
.theme-toggle .toggle-knob::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,79,0.18), transparent 65%);
  pointer-events: none;
}
.theme-toggle:hover .toggle-knob {
  box-shadow: 0 10px 18px rgba(0,0,0,0.2), 0 0 0 3px rgba(74,92,245,0.16);
}
.theme-toggle .toggle-knob .sun,
.theme-toggle .toggle-knob .moon {
  position: absolute; width: 16px; height: 16px; transition: opacity 220ms ease, transform 220ms ease;
}
.theme-toggle .toggle-knob .sun {
  background:
    radial-gradient(circle at 30% 30%, #ffdf86, #ffb629);
  border-radius: 50%;
  opacity: 1;
  box-shadow:
    0 0 0 2px rgba(255,193,79,0.22),
    0 0 12px rgba(255, 193, 79, 0.4);
}
.theme-toggle .toggle-knob .moon {
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, #e5edff, #a4b8de 40%, #6a7ba8 42%),
    linear-gradient(180deg, #1f2942, #0f172a);
  box-shadow:
    inset -4px -4px 0 2px #e2e8f0,
    0 0 0 2px rgba(99,102,241,0.15);
  opacity: 0;
}
[data-theme="dark"] .theme-toggle .toggle-knob {
  transform: translateX(24px);
  background:
    radial-gradient(circle at 40% 40%, #dce5ff, #9fb4d9 40%, #6b799d 42%),
    linear-gradient(180deg, #1e2740, #0f172a);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .theme-toggle .toggle-knob .sun { opacity: 0; transform: scale(0.9); }
[data-theme="dark"] .theme-toggle .toggle-knob .moon { opacity: 1; box-shadow: 0 0 0 2px rgba(99,102,241,0.16), inset -5px -5px 0 2px #cbd5e1; }

.bt-header {
  max-width: 1100px;
  margin: 28px auto 10px;
  padding: 0 20px;
  text-align: center;
}
.bt-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.bt-logo {
  width: 40px;
  height: 40px;
}
.bt-title {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.2px;
  margin: 0;
}
.bt-subtitle {
  margin: 8px 0 0;
  color: var(--bt-text-dim);
  font-size: 16px;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto 6px;
  padding: 26px 20px 8px;
}


.bt-main {
  max-width: 1100px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: block;
}

.bt-layout {
  display: grid;
  gap: 20px;
}
.col {
  display: grid;
  gap: 20px;
}

@media (min-width: 980px) {
  .bt-layout {
    grid-template-columns: 1.7fr 1fr;
    align-items: start;
  }
  .actions-card {
    position: sticky;
    top: 20px;
  }
}

.card {
  background: var(--bt-card-bg);
  border: 1px solid var(--bt-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--bt-shadow);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.upload-card {
  padding: 20px;
}

.dropzone {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 34px;
  text-align: center;
  cursor: pointer;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.dropzone.is-drag {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 44px rgba(74,92,245,0.25);
}
.dropzone:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.dropzone:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Animated gradient border using mask technique */
.dropzone::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(74,92,245,0.8), rgba(110,123,255,0.8), rgba(74,92,245,0.8));
  background-size: 200% 200%;
  animation: borderShift 6s ease infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
@keyframes borderShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.dropzone__inner {
  position: relative;
  z-index: 1;
}
.dz-icon {
  width: 64px;
  height: 64px;
  opacity: 0.9;
  filter: drop-shadow(0 8px 24px rgba(74, 92, 245, 0.25));
}
.dz-title {
  margin: 14px 0 6px;
  font-weight: 600;
  font-size: 20px;
  font-family: Poppins, Inter, sans-serif;
}
.dz-text {
  margin: 0;
  color: var(--bt-text-dim);
}
.dz-divider {
  margin: 22px auto 22px;
  width: 80px;
  height: 1px;

  background: linear-gradient(90deg, transparent, rgba(74,92,245,0.4), transparent);
}
/* Extra breathing room between divider and upload button */
.dropzone #select-files-btn { margin-top: 5px; }

.notif {
  margin-top: 14px;
  font-size: 14px;
  color: var(--bt-text-dim);
  min-height: 18px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 12px;
  padding: 12px 6px 4px;
  list-style: none;
  margin: 0;
  color: var(--bt-text-dim);
  font-weight: 600;
  font-size: 13px;
}
.trust-badges li {
  display: flex; align-items: center; gap: 8px;
}
.badge-emoji { filter: saturate(1.1); }

.preview-section {
  padding: 16px;
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 8px;
}
.preview-title {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1f2a44;
}
.preview-count {
  font-size: 12px;
  color: var(--bt-text-dim);
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.preview-item.enter { animation: fadeUp 300ms ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Options card */
.options-card {
  padding: 16px 18px 4px;
}
.options {
  display: grid;
  gap: 16px;
}
.opt-group {
  display: grid;
  gap: 8px;
}
.opt-title {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1f2a44;
}
.opt-hint {
  font-size: 12px;
  color: var(--bt-text-dim);
}
.segmented {
  display: grid;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--seg-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.segmented.equal-2 { grid-template-columns: repeat(2, 1fr); }
.segmented.equal-3 { grid-template-columns: repeat(3, 1fr); }
.segmented .seg-text { pointer-events: none; }
.segmented .check {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%) scale(0.9);
  width: 12px; height: 12px; opacity: 0; transition: opacity 180ms ease, transform 180ms ease;
}
.segmented .check::before {
  content: ""; display: block; width: 100%; height: 100%;
  border-bottom: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -1px); transform-origin: center;
}
:root { --seg-border: rgba(0,0,0,0.08); }
[data-theme="dark"] { --seg-border: rgba(255,255,255,0.1); }
.segmented__btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0 12px;
  height: 40px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 120ms ease;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.segmented__btn + .segmented__btn { border-left: 1px solid rgba(74,92,245,0.12); }
.segmented__btn.is-active {
  background: linear-gradient(180deg, #eaf0ff, #dfe6ff);
  color: #1b2b80;
  box-shadow: inset 0 0 0 1px rgba(49, 58, 128, 0.12), inset 0 3px 10px rgba(74,92,245,0.15);
}
.segmented__btn:hover { background: linear-gradient(180deg, rgba(238,241,255,0.6), rgba(230,236,255,0.6)); }
.segmented__btn:active { transform: scale(1.02); }
.segmented__btn.is-active .check { opacity: 1; transform: translateY(-50%) scale(1); }

.segmented .icon-portrait,
.segmented .icon-landscape {
  width: 14px; height: 14px;
  border-radius: 3px;
  margin-right: 6px;

  display: inline-block;
}
.segmented .icon-landscape { transform: rotate(90deg); }
.actions-card {
  padding: 16px 18px 6px;
}
.switch {
  --w: 46px; --h: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: #334155;
}
.switch .slider {
  position: relative;
  width: var(--w); height: var(--h);
  background: rgba(74,92,245,0.25);
  border-radius: 999px;
  transition: background 180ms ease, box-shadow 180ms ease;
  box-shadow: inset 0 0 0 1px rgba(74,92,245,0.25);
}
.switch input { position: absolute; left: -9999px; }
.switch .slider::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: #fff; border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 180ms ease;
}
.switch input:checked + .slider {
  background: linear-gradient(180deg, #7c89ff, #4a5cf5);
}
.switch input:checked + .slider::after {
  transform: translateX(20px);
}
.switch-label { color: var(--bt-text); }
.preview-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.6);
  box-shadow: var(--bt-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.preview-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 42px rgba(0,0,0,0.12);
}
.preview-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.preview-remove:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05);
}
.preview-remove img {
  width: 16px;
  height: 16px;
}

.actions {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 4px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, background 240ms ease;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn-primary {
  color: white;
  background: linear-gradient(180deg, #7c89ff, #4a5cf5);
  box-shadow: 0 10px 24px rgba(74,92,245,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-cta {
  color: #0b1026;
  background: linear-gradient(90deg, #7c89ff, #4a5cf5, #6e7bff);
  border: 0;
  box-shadow:
    0 10px 24px rgba(74,92,245,0.32);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background-size: 200% 100%;
  transition: transform 160ms ease, box-shadow 160ms ease, background-position 400ms ease;
}
.btn-cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.2);
}
.btn-cta:hover { transform: translateY(-1px) scale(1.01); background-position: 100% 0; box-shadow: 0 18px 44px rgba(74,92,245,0.35); }
.btn-label { color: #fff; }
.btn-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(74,92,245,0.22);
  border-top-color: var(--bt-primary);
  display: none;
  animation: spin 0.9s linear infinite;
}
.btn.loading .btn-spinner {
  display: inline-block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-success {
  color: white;
  background: linear-gradient(180deg, #1ecb7b, #14b86a);
  box-shadow: 0 10px 24px rgba(20,184,106,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}
.btn-success:hover {
  transform: translateY(-1px);
}

.btn .btn-text {
  display: inline-block;
  line-height: 1;
}

.btn-success .icon,
.btn-success .icon--download {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transform: translateY(-0.5px);
}

.state {
  min-height: 92px;
  display: grid;
  place-items: center;
}
.loader {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(74,92,245,0.2);
  border-top-color: var(--bt-primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  display: none;
}
.success {
  display: none;
  text-align: center;
  filter: drop-shadow(0 8px 28px rgba(25,195,125,0.25));
}
.success-text {
  margin: 10px 0 8px;
  color: var(--bt-text-dim);
}

.icon-download {
  width: 16px; height: 16px; display: inline-block;
  border: 2px solid #fff; border-bottom: 0; border-radius: 3px 3px 0 0; position: relative;
}
.icon-download::after {
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-5px; width:10px; height:2px; background:#fff; border-radius:2px;
}

/*
.progress-bar {
  height: 1px; width: 0%; background: linear-gradient(90deg, #7c89ff, #4a5cf5); border-radius: 99px;
  transition: width 300ms ease; align-self: stretch;
}
.progress-bar.loading { width: 10%; animation: progressLoop 1.8s ease-in-out infinite; }
@keyframes progressLoop {
  0% { transform: translateX(-60%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(60%); }
}
  */

/* Checkmark animation */
.checkmark {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto;
  transform-origin: center;
  animation: cmPop 420ms cubic-bezier(.2, .8, .2, 1) both;
}
.checkmark__circle {
  stroke: #22c55e;
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: drawCircle 600ms ease-out forwards;
}
.checkmark__check {
  stroke: #22c55e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 420ms 280ms ease-out forwards;
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
@keyframes cmPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


/* Dark mode text/readability tweaks */
[data-theme="dark"] .bt-subtitle { color: #aab4c6; }
[data-theme="dark"] .dz-text { color: #aab4c6; }
[data-theme="dark"] .notif { color: #aab4c6; }
[data-theme="dark"] .preview-title { color: #e2e8f0; }
[data-theme="dark"] .opt-title { color: #e2e8f0; }
[data-theme="dark"] .opt-hint { color: #9aa3b2; }
[data-theme="dark"] .switch-label { color: #e5e7eb; }
[data-theme="dark"] .segmented {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .segmented__btn { color: #cbd5e1; }
[data-theme="dark"] .segmented__btn.is-active {
  background: linear-gradient(180deg, rgba(99,102,241,0.28), rgba(79,70,229,0.22));
  color: #eef2ff;
  box-shadow: inset 0 0 0 1px rgba(180, 190, 255, 0.18), inset 0 3px 10px rgba(99,102,241,0.28);
}



/* Responsive */
@media (max-width: 768px) {
  .dz-icon { width: 56px; height: 56px; }
  .preview-img { height: 140px; }
  .bt-nav__links { display: none; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


