/* =========================================================================
   Brush Converter Modern Theme - Minimalist Studio Glass Edition
   Refined Typography, Sleek Hairline Borders, 100% Transparent Glassmorphism
   ========================================================================= */

:root {
  --bg-main: #07070a;
  --bg-card: transparent;
  --bg-card-hover: rgba(255, 255, 255, 0.02);
  --bg-inner: transparent;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.09);
  --border-focus: rgba(251, 146, 60, 0.6);
  --primary: #fb923c;
  --primary-hover: #f97316;
  --primary-glow: rgba(251, 146, 60, 0.2);
  --accent-purple: #818cf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 4px 16px rgba(251, 146, 60, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 15% 15%, rgba(99, 102, 241, 0.08) 0px, transparent 55%),
    radial-gradient(at 85% 25%, rgba(251, 146, 60, 0.09) 0px, transparent 60%),
    radial-gradient(at 50% 85%, rgba(168, 85, 247, 0.05) 0px, transparent 55%);
  color: var(--text-main);
  font-weight: 400;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Sleek minimal dark scrollbars across entire platform */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(7, 7, 10, 0.5);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}
html {
  scrollbar-color: rgba(255, 255, 255, 0.16) rgba(7, 7, 10, 0.5);
  scrollbar-width: thin;
}

/* 3D background canvas stays fixed in back */
#bg-3d-canvas {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Page content sits in front */
nav, .hero, .wrap, footer {
  position: relative;
  z-index: 10;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

a:hover {
  color: #fdba74;
}

/* ==================== Brushfactory-style Topbar & Navmenu ==================== */
header.topbar, .topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0 22px;
  background: rgba(18, 18, 21, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .topbar {
  background: rgba(247, 247, 248, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.topbar .logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar .brand-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.topbar .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(251, 146, 60, 0.35);
  flex-shrink: 0;
}

.topbar .brand-name {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: #fff;
}
[data-theme="light"] .topbar .brand-name {
  color: #1b1b1e;
}
.topbar .brand-name span {
  color: var(--primary, #fb923c);
}

.topbar-chip.beta-tag {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}
.topbar-chip.beta-tag:hover {
  border-color: rgba(251, 146, 60, 0.6);
  color: #fb923c;
  background: rgba(251, 146, 60, 0.08);
}
[data-theme="light"] .topbar-chip.beta-tag {
  border-color: rgba(0, 0, 0, 0.2);
  color: #64748b;
}
[data-theme="light"] .topbar-chip.beta-tag:hover {
  border-color: var(--primary, #fb923c);
  color: var(--primary, #fb923c);
}

/* Center Tabs */
.topbar .tabs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 3px;
  background: rgba(36, 36, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 3px;
}
[data-theme="light"] .topbar .tabs {
  background: #efeff1;
  border-color: #e3e3e7;
}

.topbar .tabs button,
.topbar .tabs a {
  padding: 5px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-decoration: none;
}
.topbar .tabs button svg,
.topbar .tabs a svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}
[data-theme="light"] .topbar .tabs button,
[data-theme="light"] .topbar .tabs a {
  color: #5d5d66;
}
.topbar .tabs button:hover,
.topbar .tabs a:hover {
  color: #ffffff;
}
[data-theme="light"] .topbar .tabs button:hover,
[data-theme="light"] .topbar .tabs a:hover {
  color: #1b1b1e;
}
.topbar .tabs button.active,
.topbar .tabs a.active {
  background: #1b1b1f;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .topbar .tabs button.active,
[data-theme="light"] .topbar .tabs a.active {
  background: #ffffff;
  color: #1b1b1e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Right Cluster */
.topbar-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.nav-signin {
  border: none;
  background: transparent;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-signin:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .nav-signin {
  color: #5d5d66;
}
[data-theme="light"] .nav-signin:hover {
  color: #1b1b1e;
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nav-menu-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.nav-menu-btn:hover,
.nav-menu-btn[aria-expanded="true"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}
[data-theme="light"] .nav-menu-btn {
  color: #5d5d66;
}
[data-theme="light"] .nav-menu-btn:hover,
[data-theme="light"] .nav-menu-btn[aria-expanded="true"] {
  color: #1b1b1e;
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown Menu */
.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 236px;
  z-index: 2000 !important;
  background: #1b1b1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
[data-theme="light"] .nav-menu {
  background: #ffffff;
  border-color: #e3e3e7;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nm-id {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  min-width: 0;
}
.nm-id .avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary, #fb923c);
  color: #150a03;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.nm-id div {
  min-width: 0;
}
.nm-id b {
  display: block;
  font-size: 13.5px;
  line-height: 1.25;
  color: #ffffff;
}
[data-theme="light"] .nm-id b {
  color: #1b1b1e;
}
.nm-id span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #f1f5f9;
  transition: background 0.14s ease, color 0.14s ease;
}
[data-theme="light"] .nm-row {
  color: #1b1b1e;
}
.nm-row svg {
  width: 16px;
  height: 16px;
  stroke: #94a3b8;
  flex-shrink: 0;
}
.nm-row:hover:not(.nm-static) {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
[data-theme="light"] .nm-row:hover:not(.nm-static) {
  background: rgba(0, 0, 0, 0.05);
}
.nm-static {
  cursor: default;
}
.nm-static .acct-toggle {
  margin-left: auto;
}

.nm-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 5px 4px;
}
[data-theme="light"] .nm-sep {
  background: #e3e3e7;
}

/* iOS/Modern style Switch Toggle */
.acct-toggle {
  width: 34px;
  height: 20px;
  border-radius: 100px;
  background: #2d2d34;
  border: 1px solid #55555f;
  position: relative;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}
[data-theme="light"] .acct-toggle {
  background: #e8e8ea;
  border-color: #cfcfd4;
}
.acct-toggle i {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #94a3b8;
  transition: transform 0.15s ease, background 0.15s ease;
  display: block;
}
.acct-toggle[aria-checked="true"] {
  background: rgba(251, 146, 60, 0.2);
  border-color: var(--primary, #fb923c);
}
.acct-toggle[aria-checked="true"] i {
  background: var(--primary, #fb923c);
  transform: translateX(14px);
}

/* Responsive behavior for topbar */
@media (max-width: 1080px) {
  .topbar-chip.beta-tag {
    display: none !important;
  }
}

@media (max-width: 880px) {
  .topbar {
    padding: 0 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    grid-template-columns: none !important;
  }
  .topbar .logo {
    flex-shrink: 0 !important;
    grid-column: auto !important;
  }
  .topbar .brand-name {
    font-size: 17px !important;
  }
  .topbar .tabs {
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
    grid-column: auto !important;
  }
  .topbar .tabs button,
  .topbar .tabs a {
    padding: 5px 8px !important;
  }
  .topbar .tabs button span,
  .topbar .tabs a span {
    display: none !important;
  }
  .topbar-right {
    flex-shrink: 0 !important;
    grid-column: auto !important;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 0 10px !important;
    height: 52px !important;
  }
  .topbar .brand-name {
    font-size: 15px !important;
  }
  .topbar .logo-icon {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
  }
  .topbar .logo-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  .topbar-chip.beta-tag {
    display: none !important;
  }
  .topbar .tabs {
    gap: 2px !important;
    padding: 2px !important;
  }
  .topbar .tabs button,
  .topbar .tabs a {
    padding: 4px 6px !important;
  }
  .topbar .tabs button svg,
  .topbar .tabs a svg {
    width: 14px !important;
    height: 14px !important;
  }
  .nav-signin {
    padding: 5px 8px !important;
    font-size: 12.5px !important;
  }
  .nav-menu-btn {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding: 0 8px !important;
  }
  .topbar .logo {
    gap: 6px !important;
  }
  .topbar .brand-home {
    gap: 6px !important;
  }
  .topbar .brand-name {
    font-size: 14px !important;
    letter-spacing: -0.3px !important;
  }
  .topbar .tabs {
    gap: 1px !important;
    padding: 2px !important;
  }
  .topbar .tabs button,
  .topbar .tabs a {
    padding: 4px 5px !important;
  }
  .nav-menu-btn {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ---------- Legacy/Fallback Nav Rules ---------- */
nav {
  position: sticky;
  top: 0;
  background: rgba(7, 7, 10, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.nav-in {
  max-width: 1100px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s ease;
}

.brand:hover {
  opacity: 0.88;
}

.brand .logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(251, 146, 60, 0.35);
}

.brand span {
  color: var(--primary);
  font-weight: 600;
}

.nav-in .links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

.nav-in .links a {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  position: relative;
  transition: color 0.15s ease;
}

.nav-in .links a:hover {
  color: #ffffff;
  background: transparent;
}

.nav-in .links a.active {
  color: var(--primary);
  font-weight: 600;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav-in .links a.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-link-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.15s ease;
}

.nav-link-btn:hover {
  border-color: rgba(251, 146, 60, 0.4);
  color: #fff;
  background: rgba(251, 146, 60, 0.08);
}

/* ---------- Minimal Hero Section ---------- */
.hero {
  max-width: 860px;
  margin: auto;
  padding: 24px 20px 4px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 146, 60, 0.10);
  border: 1px solid rgba(251, 146, 60, 0.28);
  color: #fdba74;
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero p {
  color: var(--text-muted);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 660px;
  margin: 0 auto 16px;
}

/* ---------- 100% Transparent Glass Card ---------- */
.wrap {
  max-width: 1040px;
  margin: auto;
  padding: 0 20px 70px;
}

.card {
  background: transparent;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cv-head h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.3px;
  color: #fff;
}

.route {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route b {
  color: var(--primary);
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 6px;
  padding: 3px 8px;
  font-weight: 500;
  font-size: 13.5px;
}

.cv-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .cv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- Minimal Transparent Dropzone ---------- */
.dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: transparent;
  border-radius: var(--radius-lg);
  padding: 38px 20px;
  text-align: center;
  cursor: pointer;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}

.dropzone:hover {
  border-color: rgba(251, 146, 60, 0.6);
  background: rgba(251, 146, 60, 0.02);
}

.dropzone.drag {
  border-color: #fff;
  background: rgba(251, 146, 60, 0.06);
}

.dropzone-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.dropzone:hover .dropzone-icon {
  transform: scale(1.06);
}

.dropzone h3 {
  font-size: 17px;
  font-weight: 550;
  margin: 0 0 6px;
  color: #fff;
}

.dropzone p {
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 400;
  margin: 0 0 6px;
}

.dropzone .note {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 400;
  margin: 0;
}

/* ---------- Minimal Multi-File List ---------- */
.file-list-wrap {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 16px;
}

.file-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-main);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.file-list-actions {
  display: flex;
  gap: 6px;
}

.file-list-actions button {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}

.file-list-actions button:hover {
  border-color: rgba(251, 146, 60, 0.5);
  color: #fff;
}

.file-items {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13.5px;
}

.file-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.file-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.file-badge {
  background: rgba(251, 146, 60, 0.14);
  color: var(--primary);
  border: 1px solid rgba(251, 146, 60, 0.35);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.file-item-name {
  color: #ffffff;
  font-weight: 450;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  flex-shrink: 0;
}

.file-item-size {
  color: var(--text-dim);
  font-size: 12px;
}

.btn-del-file {
  background: transparent;
  border: 0;
  color: #f87171;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
  border-radius: 4px;
}

/* ---------- Minimal Format Chooser ---------- */
.fmt-sec {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin: 8px 0;
  overflow: hidden;
}

.fmt-sec[open] {
  border-color: rgba(255, 255, 255, 0.16);
}

.fmt-sec summary {
  cursor: pointer;
  font-weight: 550;
  font-size: 14px;
  padding: 10px 14px;
  list-style: none;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.fmt-sec summary::-webkit-details-marker {
  display: none;
}

.fmt-sec summary::after {
  content: "▾";
  color: var(--text-dim);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.fmt-sec:not([open]) summary::after {
  transform: rotate(-90deg);
}

.fmt-sec-body {
  padding: 6px 10px 12px;
}

.fmt-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 5px 0;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 450;
  transition: all 0.15s ease;
}

.fmt-btn:hover:not(:disabled) {
  border-color: rgba(251, 146, 60, 0.4);
  background: rgba(251, 146, 60, 0.06);
}

.fmt-btn.active {
  border-color: var(--primary);
  background: rgba(251, 146, 60, 0.14);
  color: #ffffff;
}

.fmt-btn .app {
  color: var(--text-dim);
  font-size: 13px;
}

.fmt-btn.active .app {
  color: #fdba74;
}

.fmt-btn-all {
  border-color: rgba(251, 146, 60, 0.45);
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.12) 0%, rgba(234, 88, 12, 0.05) 100%);
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.15);
}

.fmt-btn-all:hover:not(:disabled) {
  border-color: #fb923c;
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.2) 0%, rgba(234, 88, 12, 0.1) 100%);
  box-shadow: 0 0 18px rgba(251, 146, 60, 0.25);
}

.fmt-btn-all.active {
  border-color: #fb923c;
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.28) 0%, rgba(234, 88, 12, 0.18) 100%);
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.35);
}

/* ---------- Prominent Standalone All-In-One Card ---------- */
.all-in-one-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.09) 0%, rgba(234, 88, 12, 0.04) 100%);
  border: 1.5px solid rgba(251, 146, 60, 0.38);
  border-radius: var(--radius-md, 10px);
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.all-in-one-card:hover {
  border-color: #fb923c;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.18) 0%, rgba(234, 88, 12, 0.09) 100%);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.2);
  transform: translateY(-1px);
}

.all-in-one-card.active {
  border-color: #fb923c;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.24) 0%, rgba(234, 88, 12, 0.13) 100%);
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.3), inset 0 0 12px rgba(251, 146, 60, 0.06);
}

.aio-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aio-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.25;
}

.aio-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
  margin-top: 1px;
}

.aio-pill-rec {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  line-height: 1.1;
}

.aio-pill-full {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.35);
  line-height: 1.1;
}

.aio-right {
  display: flex;
  align-items: center;
  padding-left: 12px;
  flex-shrink: 0;
}

.aio-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.all-in-one-card.active .aio-radio {
  border-color: #fb923c;
  background: #fb923c;
}

.aio-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.all-in-one-card.active .aio-radio-dot {
  opacity: 1;
  transform: scale(1);
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 12px 0 10px;
  color: var(--text-dim, #71717a);
  font-size: 11.5px;
  font-weight: 500;
}

.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.or-divider span {
  padding: 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fmt-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------- Rebrand Form Inputs ---------- */
.rebrand-box {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 12px;
}

.rebrand-box label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.rebrand-box input[type="text"],
.rebrand-box input[type="url"],
.rebrand-box textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.15s;
}

.rebrand-box input:focus,
.rebrand-box textarea:focus {
  border-color: var(--border-focus);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.check-row input[type="checkbox"] {
  accent-color: var(--primary);
  cursor: pointer;
}

/* ---------- Professional Studio Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.25px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 16px rgba(234, 88, 12, 0.35);
  cursor: pointer;
  font-size: 14.5px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn:hover {
  transform: translateY(-1.5px);
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 22px rgba(234, 88, 12, 0.48);
  color: #ffffff;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0.5px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(234, 88, 12, 0.3);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-large {
  width: 100%;
  padding: 13px 22px;
  font-size: 15.5px;
  font-weight: 600;
  margin-top: 14px;
}

/* Quick Custom Branding & Store Metadata */
.brand-grid-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 580px) {
  .brand-grid-compact {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.quick-input {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  color: #ffffff !important;
  outline: none !important;
  width: 100% !important;
  transition: border-color 0.15s ease !important;
}

.quick-input:focus {
  border-color: var(--primary) !important;
}

.quick-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-file-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: #ffffff;
}

.quick-file-btn svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- Live Status & Download Cards ---------- */
#status {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.note {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}

.note.ok {
  color: #4ade80;
  font-weight: 500;
}

.err {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 13.5px;
}

.warn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fde68a;
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 10px;
}

.out-card {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.out-card:hover {
  border-color: rgba(251, 146, 60, 0.45);
}

.out-card a {
  background: rgba(251, 146, 60, 0.15);
  color: var(--primary);
  border: 1px solid rgba(251, 146, 60, 0.35);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 550;
  font-size: 13px;
  transition: all 0.15s;
}

.out-card a:hover {
  background: var(--primary);
  color: #000;
}

/* ---------- Minimal Transparent Table Section ---------- */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
  font-size: 14px;
  background: transparent !important;
  backdrop-filter: none !important;
}

th, td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: transparent !important;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

td {
  color: var(--text-main);
  font-weight: 400;
}

td:first-child {
  text-align: left;
  font-weight: 500;
  color: #ffffff;
}

.ok {
  color: #4ade80;
  font-weight: 600;
  font-size: 14.5px;
}

.part {
  color: #fb923c;
  font-weight: 600;
  font-size: 14.5px;
}

.no {
  color: var(--text-dim);
  font-size: 14px;
}

.legend {
  font-size: 13px;
  font-weight: 450;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ---------- Minimal FAQ Accordions ---------- */
.faq {
  background: transparent !important;
  backdrop-filter: none !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin: 10px 0;
  padding: 14px 18px;
  transition: border-color 0.15s ease;
}

.faq:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq summary {
  cursor: pointer;
  font-weight: 550;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: -0.1px;
}

.faq p {
  color: var(--text-muted);
  font-weight: 400;
  margin: 10px 0 0;
  line-height: 1.6;
  font-size: 14px;
}

/* ---------- Minimal Transparent Footer ---------- */
footer {
  border-top: 1px solid var(--border-subtle);
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 44px 20px;
  margin-top: 50px;
}

.foot {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.foot h3 {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
}

.foot a {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 400;
  margin: 8px 0;
  transition: color 0.15s;
}

.foot a:hover {
  color: var(--primary);
}

/* ---------- 100% Transparent Glassmorphic Modal (Compact Studio Edition) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: rgba(14, 16, 24, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox: hide slider */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 18px 24px 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(251, 146, 60, 0.08);
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal::-webkit-scrollbar,
.modal *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.modal-head h2 {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 2px;
  letter-spacing: -0.2px;
}

.modal-head .note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.compat-modal-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.compat-section-title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 8px;
}

.compat-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

@media (max-width: 650px) {
  .compat-suite-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.compat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px 9px;
  transition: all 0.18s ease;
}

.compat-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.compat-card-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}

.compat-app-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.compat-app-img.raw-icon {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.compat-name {
  font-size: 13px;
  font-weight: 550;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.compat-status {
  font-size: 10.5px;
  font-weight: 500;
  margin-top: 1px;
  line-height: 1.2;
}

.compat-status.ok {
  color: #4ade80;
}

.compat-status.part {
  color: #fb923c;
}

.compat-status.asset {
  color: #38bdf8;
}

.compat-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
}

.compat-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
  font-weight: 400;
}

.compat-footer-bar {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

.compat-learn-more {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.compat-learn-more:hover {
  color: #fdba74;
}

/* =========================================================================
   Cross-Device Full Responsive Design Suite
   ========================================================================= */

@media (max-width: 900px) {
  .wrap {
    padding: 0 16px 50px;
  }
  .card {
    padding: 22px 18px;
  }
  .nav-in {
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  nav {
    position: relative;
  }
  .nav-in {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    font-size: 17px;
  }
  .nav-in .links {
    order: 3;
    width: 100%;
    justify-content: space-around;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 3px;
  }
  .nav-in .links a {
    padding: 5px 10px;
    font-size: 13px;
  }
  .nav-link-btn {
    padding: 5px 10px;
    font-size: 12.5px;
  }
  
  .hero {
    padding: 28px 14px 18px;
  }
  .hero h1 {
    font-size: clamp(26px, 6vw, 36px);
  }
  .hero p {
    font-size: 15px;
  }
  
  th, td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  footer {
    padding: 36px 14px;
  }
  .foot {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 12px 40px;
  }
  .card {
    padding: 16px 12px;
  }
  .dropzone {
    padding: 24px 12px;
    min-height: 170px;
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- App-Grouped Output Sections ---------- */
.app-out-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.app-out-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.app-out-section:hover {
  border-color: rgba(251, 146, 60, 0.3);
}

.app-out-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.app-out-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #ffffff;
}

.app-out-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
}

.app-out-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.14);
  color: #fdba74;
  font-weight: 600;
}

.app-out-files {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.app-out-files::-webkit-scrollbar {
  width: 5px;
}
.app-out-files::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.app-out-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.15s ease;
}

.app-out-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(251, 146, 60, 0.25);
}

.app-out-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f4f4f5;
  font-weight: 500;
}

.app-out-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
  padding: 4px 10px;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.app-out-btn:hover {
  background: rgba(251, 146, 60, 0.25);
  color: #fff;
  transform: translateX(2px);
}

/* =========================================================================
   Light / Dark Mode Suite ([data-theme="light"])
   ========================================================================= */

/* Navbar Actions Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle Button Component */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 13px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  line-height: 1;
}

.theme-toggle-btn:hover {
  color: var(--primary);
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(251, 146, 60, 0.1);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Default Dark Theme: Moon is visible, Sun is hidden */
.theme-toggle-btn .icon-moon {
  display: inline-block;
  color: #fb923c;
}
.theme-toggle-btn .icon-sun {
  display: none;
  color: #ea580c;
}

/* Light Theme Variables & Overrides */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #ffffff;
  --bg-inner: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.12);
  --border-focus: rgba(234, 88, 12, 0.6);
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-glow: rgba(234, 88, 12, 0.2);
  --accent-purple: #6366f1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.07);
  --shadow-btn: 0 4px 16px rgba(234, 88, 12, 0.25);
}

[data-theme="light"] body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 15% 15%, rgba(99, 102, 241, 0.06) 0px, transparent 55%),
    radial-gradient(at 85% 25%, rgba(234, 88, 12, 0.08) 0px, transparent 60%),
    radial-gradient(at 50% 85%, rgba(168, 85, 247, 0.04) 0px, transparent 55%);
  color: var(--text-main);
}

[data-theme="light"] #bg-3d-canvas {
  opacity: 0.30;
  filter: contrast(1.15);
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.85);
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.22);
}
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.38);
}
[data-theme="light"] html {
  scrollbar-color: rgba(15, 23, 42, 0.22) rgba(241, 245, 249, 0.85);
}

[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .brand {
  color: #0f172a;
}

[data-theme="light"] .nav-in .links a {
  color: #64748b;
}

[data-theme="light"] .nav-in .links a:hover {
  color: #0f172a;
}

[data-theme="light"] .nav-in .links a.active {
  color: var(--primary);
}

[data-theme="light"] .nav-link-btn {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .nav-link-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(234, 88, 12, 0.08);
}

/* Light Theme Toggle Button */
[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.15);
  color: #475569;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(234, 88, 12, 0.09);
  color: var(--primary);
  border-color: var(--primary);
}

[data-theme="light"] .theme-toggle-btn .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .icon-sun {
  display: inline-block;
}

[data-theme="light"] .hero h1,
[data-theme="light"] .cv-head h2,
[data-theme="light"] .dropzone h3,
[data-theme="light"] .file-list-head,
[data-theme="light"] .aio-title,
[data-theme="light"] .modal-head h2,
[data-theme="light"] td:first-child,
[data-theme="light"] .foot h3,
[data-theme="light"] .faq summary {
  color: #0f172a;
}

[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .card:hover {
  border-color: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .dropzone {
  border-color: rgba(15, 23, 42, 0.22);
  background: rgba(248, 250, 252, 0.7);
}

[data-theme="light"] .dropzone:hover {
  border-color: var(--primary);
  background: rgba(234, 88, 12, 0.04);
}

[data-theme="light"] .dropzone.drag {
  border-color: var(--primary);
  background: rgba(234, 88, 12, 0.08);
}

[data-theme="light"] .dropzone p {
  color: #64748b;
}

[data-theme="light"] .dropzone .note {
  color: #475569;
}

[data-theme="light"] .file-list-wrap {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.6);
}

[data-theme="light"] .file-list-actions button {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #475569;
}

[data-theme="light"] .file-list-actions button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="light"] .file-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .file-item-name {
  color: #0f172a;
}

[data-theme="light"] .file-item-size {
  color: #64748b;
}

[data-theme="light"] .fmt-sec {
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .fmt-sec[open] {
  border-color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .fmt-sec summary {
  color: #0f172a;
}

[data-theme="light"] .fmt-btn {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .fmt-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: rgba(234, 88, 12, 0.05);
}

[data-theme="light"] .fmt-btn.active {
  border-color: var(--primary);
  background: rgba(234, 88, 12, 0.12);
  color: #0f172a;
}

[data-theme="light"] .fmt-btn .app {
  color: #64748b;
}

[data-theme="light"] .fmt-btn.active .app {
  color: #c2410c;
}

[data-theme="light"] .all-in-one-card {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(254, 243, 199, 0.6) 100%);
  border-color: rgba(234, 88, 12, 0.35);
  padding: 10px 14px;
}

[data-theme="light"] .all-in-one-card:hover {
  border-color: #ea580c;
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.98) 0%, rgba(254, 243, 199, 0.8) 100%);
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.16);
}

[data-theme="light"] .all-in-one-card.active {
  border-color: #ea580c;
  background: linear-gradient(135deg, rgba(255, 237, 213, 1) 0%, rgba(254, 243, 199, 0.95) 100%);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.22);
}

[data-theme="light"] .aio-title {
  color: #0f172a;
}

[data-theme="light"] .aio-desc {
  color: #475569;
}

[data-theme="light"] .aio-pill-rec {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.3);
}

[data-theme="light"] .aio-pill-full {
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
  border-color: rgba(234, 88, 12, 0.3);
}

[data-theme="light"] .aio-radio {
  border-color: rgba(15, 23, 42, 0.35);
}

[data-theme="light"] .all-in-one-card.active .aio-radio {
  border-color: #ea580c;
  background: #ea580c;
}

[data-theme="light"] .rebrand-box {
  background: rgba(248, 250, 252, 0.65);
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .rebrand-box input[type="text"],
[data-theme="light"] .rebrand-box input[type="url"],
[data-theme="light"] .rebrand-box textarea,
[data-theme="light"] .quick-input {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #0f172a !important;
}

[data-theme="light"] .rebrand-box input::placeholder,
[data-theme="light"] .quick-input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] .rebrand-box input:focus,
[data-theme="light"] .quick-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15) !important;
}

[data-theme="light"] .quick-file-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
  color: #475569;
}

[data-theme="light"] .quick-file-btn:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: #0f172a;
}

[data-theme="light"] .hero-badge {
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.28);
  color: #c2410c;
}

[data-theme="light"] .out-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .app-out-section {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .app-out-header {
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .app-out-title {
  color: #0f172a;
}

[data-theme="light"] .app-out-badge {
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
}

[data-theme="light"] .app-out-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .app-out-item-name {
  color: #1e293b;
}

[data-theme="light"] .app-out-btn {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

[data-theme="light"] .app-out-btn:hover {
  background: #ea580c;
  color: #ffffff;
}

[data-theme="light"] .modal-backdrop {
  background: rgba(15, 23, 42, 0.55);
}

[data-theme="light"] .modal {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .modal-close-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

[data-theme="light"] .compat-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .compat-name {
  color: #0f172a;
}

[data-theme="light"] .compat-tag {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .table-container {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

[data-theme="light"] th {
  color: #475569;
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] td {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .faq {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff !important;
}

[data-theme="light"] .faq summary {
  color: #0f172a;
}

[data-theme="light"] .faq p {
  color: #475569;
}

[data-theme="light"] footer {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .foot h3 {
  color: #0f172a;
}

[data-theme="light"] .foot a {
  color: #64748b;
}

[data-theme="light"] .foot a:hover {
  color: var(--primary);
}

/* Explore & Direction cards in light mode */
[data-theme="light"] .filter-pill {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}
[data-theme="light"] .filter-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
}
[data-theme="light"] .filter-pill.active {
  background: rgba(234, 88, 12, 0.12);
  border-color: var(--primary);
  color: #ea580c;
}
[data-theme="light"] .dir-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .dir-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(234, 88, 12, 0.12);
}
[data-theme="light"] .dir-title {
  color: #0f172a;
}


/* Matrix Pill styling for format support reference */
.matrix-pill {
  display: inline-block;
  padding: 2px 6px;
  margin: 1px 2px;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  font-weight: 500;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

[data-theme="light"] .matrix-pill {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}


/* =========================================================================
   Brushfactory Exact UI Matching & App Compatibility & Benchmarks Section
   ========================================================================= */
.logo-font {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px !important;
}

.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.cv-head h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
  color: #fff;
}
.route-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.route-badge b {
  color: #fff;
  background: #c85a2c;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Card Stack Icon in Dropzone */
.dz-card-stack {
  position: relative;
  width: 90px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dz-card-stack .dz-card {
  position: absolute;
  width: 36px;
  height: 50px;
  border-radius: 6px;
  background: #202028;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}
.dz-card-stack .c1 { transform: rotate(-16deg) translateX(-20px); z-index: 1; opacity: 0.6; }
.dz-card-stack .c2 { transform: rotate(-6deg) translateX(-7px); z-index: 2; opacity: 0.8; }
.dz-card-stack .c3 { transform: rotate(5deg) translateX(7px); z-index: 3; opacity: 0.95; }
.dz-card-stack .c4 { transform: rotate(16deg) translateX(20px); z-index: 4; }
.dropzone:hover .dz-card-stack .c1 { transform: rotate(-22deg) translateX(-26px); }
.dropzone:hover .dz-card-stack .c2 { transform: rotate(-8deg) translateX(-9px); }
.dropzone:hover .dz-card-stack .c3 { transform: rotate(8deg) translateX(9px); }
.dropzone:hover .dz-card-stack .c4 { transform: rotate(22deg) translateX(26px); }

.dz-sub-formats {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* Right Column Sidebar */
.mode-heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.aio-card {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.aio-card:hover {
  background: #16161c;
  border-color: rgba(255, 255, 255, 0.14);
}
.aio-card.active {
  border: 1.5px solid #c85a2c;
  background: rgba(200, 90, 44, 0.06);
}
.aio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.aio-title-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.aio-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.aio-badge-rec {
  color: #e07a3c;
  background: rgba(224, 122, 60, 0.14);
}
.aio-badge-suite {
  color: #e07a3c;
  background: rgba(224, 122, 60, 0.14);
}
.aio-desc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Global Summary Marker Reset (Eliminate Double Arrows) */
summary {
  list-style: none !important;
  list-style-type: none !important;
}
summary::-webkit-details-marker,
summary::marker {
  display: none !important;
  content: "" !important;
}

/* Single App Chooser Collapsible */
.single-app-collapse {
  margin: 16px 0 10px;
  width: 100%;
}
.single-app-summary {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  list-style: none !important;
  list-style-type: none !important;
  transition: color 0.15s ease;
}
.single-app-summary::-webkit-details-marker,
.single-app-summary::marker {
  display: none !important;
  content: "" !important;
}
.single-app-summary:hover {
  color: #fff;
}
.single-app-summary .summary-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  transition: background 0.15s ease;
}
.single-app-summary:hover .summary-line {
  background: rgba(255, 255, 255, 0.18);
}
.single-app-summary .summary-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.single-app-summary .summary-caret {
  display: inline-block;
  font-size: 11px;
  color: #c85a2c;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.single-app-collapse:not([open]) .summary-caret {
  transform: rotate(-90deg);
}
.single-app-collapse[open] .summary-caret {
  transform: rotate(0deg);
}
.single-app-summary .summary-badge {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(200, 90, 44, 0.15);
  color: #ff9d66;
  border: 1px solid rgba(200, 90, 44, 0.35);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

/* App Selection Mode Bar (Single vs Multi) */
.selection-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.sm-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.sm-pills {
  display: flex;
  gap: 3px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sm-pill {
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sm-pill.active {
  background: #c85a2c;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.sm-pill:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.single-app-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.single-app-divider::before, .single-app-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.single-app-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}
.single-app-group::-webkit-scrollbar {
  width: 4px;
}
.single-app-group::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.single-app-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.12s ease;
}
.single-app-option:hover {
  background: rgba(255, 255, 255, 0.05);
}
.single-app-option.active {
  border-color: #c85a2c;
  background: rgba(200, 90, 44, 0.06);
}

/* Multi-Select Checkbox Appearance */
.single-app-group.multi-mode .opt-radio {
  border-radius: 4px;
}
.single-app-group.multi-mode .single-app-option.active .opt-radio {
  background: #c85a2c;
  border-color: #c85a2c;
}
.single-app-group.multi-mode .single-app-option.active .opt-radio::after {
  content: "✓";
  font-size: 10px;
  color: #fff;
  font-weight: 800;
  background: transparent;
  width: auto;
  height: auto;
  line-height: 1;
  display: block;
}
.opt-radio {
  flex-shrink: 0;
  min-width: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.single-app-option.active .opt-radio {
  border-color: #c85a2c;
}
.single-app-option.active .opt-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c85a2c;
}
.opt-fmt {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  min-width: 68px;
}
.opt-label {
  font-size: 13px;
  color: var(--text-muted);
}
.single-app-subhead {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  margin: 10px 0 4px 4px;
}

/* Custom Branding Drawer */
.rebrand-drawer {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}
.rebrand-summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  user-select: none;
}
.rebrand-summary::-webkit-details-marker { display: none; }
.rebrand-content {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rebrand-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: #fff;
  outline: none;
}
.rebrand-input:focus { border-color: #c85a2c; }
.rebrand-uploads {
  display: flex;
  gap: 8px;
}
.brand-upload-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-subtle);
  border-radius: 6px;
  padding: 7px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s;
}
.brand-upload-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tip-grain-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  cursor: pointer;
  user-select: none;
}
.tip-grain-check input {
  accent-color: #c85a2c;
  cursor: pointer;
}

/* Big Terracotta Convert Button */
.btn-convert-terracotta {
  width: 100%;
  background: #c85a2c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 4px 18px rgba(200, 90, 44, 0.35);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-convert-terracotta:hover {
  background: #d96535;
  box-shadow: 0 6px 22px rgba(200, 90, 44, 0.5);
  transform: translateY(-1px);
}
.btn-convert-terracotta:active {
  transform: translateY(0);
}

/* --- App Compatibility & Benchmarks Section (Image 1 & 2) --- */
.benchmarks-section {
  margin-top: 48px;
  margin-bottom: 40px;
}
.benchmarks-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  margin-bottom: 20px;
}
.benchmarks-card {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 32px;
}
.benchmarks-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.benchmarks-head p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 900px;
}
.benchmarks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}
.benchmark-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.benchmark-badge-orange {
  color: #e07a3c;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.benchmark-col p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.benchmarks-footer {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 18px;
  line-height: 1.6;
}
.benchmarks-full-link {
  color: #e07a3c;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  margin-left: 4px;
  transition: color 0.15s;
}
.benchmarks-full-link:hover {
  color: #f97316;
}

/* Banner for Pending User */
#pendingApprovalBanner {
  display: none;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13.5px;
  align-items: center;
  gap: 10px;
}
