/* ============================================================
   VIDEOLUX — Homepage CSS (index.css)
   Dark premium video toolkit · Editorial · Mature SaaS
   Fonts: Bricolage Grotesque + DM Sans
   ============================================================ */

:root {
  --ink: #0c0c14;
  --ink-2: #2a2a3a;
  --ink-3: #545470;
  --ink-4: #8888a8;
  --ink-5: #b8b8cc;
  --dark: #faf9f6;
  --dark-2: #f2f1ec;
  --dark-3: #ffffff;
  --dark-4: #f5f4f0;
  --white: #ffffff;
  --accent: #0c0c14;
  --accent-2: #2a2a3a;
  --accent-3: #3a3a4a;
  --accent-bg: rgba(12, 12, 20, 0.07);
  --accent-bd: rgba(12, 12, 20, 0.18);
  --green: #0a8a5a;
  --green-bg: rgba(10, 138, 90, 0.08);
  --border: #e2e0d8;
  --border-2: #d4d1c6;
  --shadow-xs: 0 1px 2px rgba(12, 12, 20, 0.05);
  --shadow-sm:
    0 1px 4px rgba(12, 12, 20, 0.07), 0 3px 12px rgba(12, 12, 20, 0.04);
  --shadow-md:
    0 2px 8px rgba(12, 12, 20, 0.08), 0 8px 28px rgba(12, 12, 20, 0.06);
  --shadow-lg:
    0 4px 20px rgba(12, 12, 20, 0.1), 0 20px 60px rgba(12, 12, 20, 0.08);
  --shadow-acc: 0 4px 20px rgba(12, 12, 20, 0.18);
  --r1: 4px;
  --r2: 8px;
  --r3: 12px;
  --r4: 16px;
  --r5: 22px;
  --r6: 32px;
  --rf: 9999px;
  --f-hd: "Bricolage Grotesque", sans-serif;
  --f-ui: "DM Sans", sans-serif;
  --f-mono: "DM Mono", monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --bg: var(--dark);
  --surface: var(--dark-3);
  --t1: var(--ink);
  --t2: var(--ink-3);
  --t3: var(--ink-4);
}

/* ── Dark theme ── */
[data-theme="dark"] {
  --ink: #f0efff;
  --ink-2: #c8c8e0;
  --ink-3: #8888a8;
  --ink-4: #50505e;
  --ink-5: #38384a;
  --dark: #0a0a0f;
  --dark-2: #111118;
  --dark-3: #16161f;
  --dark-4: #1c1c27;
  --accent: #f0efff;
  --accent-2: #c8c8e0;
  --accent-3: #a8a8c0;
  --accent-bg: rgba(255, 255, 255, 0.08);
  --accent-bd: rgba(255, 255, 255, 0.15);
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.09);
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.6), 0 3px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.65), 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.75), 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-acc: 0 4px 20px rgba(0, 0, 0, 0.35);
}

html {
  font-size: 16px;
}
body {
  font-family: var(--f-ui) !important;
  background: var(--dark) !important;
  color: var(--ink) !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
.app-shell {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
#sidebarContainer,
.sidebar-backdrop,
.app-sidebar {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--dark-2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.px-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  height: 62px;
  background: rgba(250, 249, 246, 0.98);
  border-bottom: 1px solid #e2e0d8;
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s var(--ease);
  will-change: transform;
}
[data-theme="dark"] .px-header {
  background: rgba(10, 10, 15, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-header.scrolled {
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.6),
    0 3px 12px rgba(0, 0, 0, 0.4);
}
.px-header.scrolled {
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.6),
    0 3px 12px rgba(0, 0, 0, 0.4);
}
.px-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
}
.px-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: 44px;
  text-decoration: none;
  flex-shrink: 0;
}
.px-brand-icon {
  width: 32px;
  height: 32px;
  background: #0c0c14;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .px-brand-icon {
  background: #f0efff;
}
.px-brand-icon svg {
  width: 17px;
  height: 17px;
  color: #fff;
}
[data-theme="dark"] .px-brand-icon svg {
  color: #0c0c14;
}
.px-brand-name {
  font-family: var(--f-hd);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.px-brand-badge {
  font-size: 0.58rem;
  font-weight: 600;
  background: rgba(12, 12, 20, 0.08);
  color: #0c0c14;
  border: 1px solid rgba(12, 12, 20, 0.18);
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 4px;
}
.px-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.px-nav-link {
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: 8px;
  transition:
    background 0.14s,
    color 0.14s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.px-nav-link:hover {
  background: rgba(12, 12, 20, 0.06);
  color: var(--ink);
}
.px-nav-link.active {
  color: var(--accent);
}
.px-nav-item {
  position: relative;
}
.px-nav-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-ui);
  transition: background 0.14s;
  white-space: nowrap;
}
.px-nav-btn:hover {
  background: rgba(12, 12, 20, 0.06);
  color: var(--ink);
}
.px-nav-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: transform 0.2s var(--ease);
}
.px-nav-item:hover .px-nav-btn svg {
  transform: rotate(180deg);
  opacity: 0.8;
}
.px-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  background: #ffffff;
  border: 1px solid #e2e0d8;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease);
  z-index: 999;
}
.px-nav-item:hover .px-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.px-dd-label {
  grid-column: 1/-1;
  padding: 4px 10px 2px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-family: var(--f-hd);
}
.px-dd-label + .px-dd-label {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 8px;
}
.px-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: background 0.12s;
  text-decoration: none;
}
.px-dd-item:hover {
  background: rgba(12, 12, 20, 0.05);
}
.px-dd-item:hover .px-dd-name {
  color: var(--accent);
}
.px-dd-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.px-dd-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--f-hd);
  transition: color 0.12s;
}
.px-dd-desc {
  font-size: 0.71rem;
  color: var(--ink-4);
  margin-top: 1px;
}
.px-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.px-hdr-link {
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.14s;
  text-decoration: none;
}
.px-hdr-link:hover {
  background: rgba(12, 12, 20, 0.06);
  color: var(--ink);
}
.px-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-ui);
  font-weight: 600;
  border-radius: 8px;
  transition:
    background 0.14s var(--ease),
    box-shadow 0.14s var(--ease),
    color 0.14s var(--ease);
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  border: none;
  font-size: 0.845rem;
  padding: 9px 18px;
}
.px-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.px-btn:active {
  transform: scale(0.97);
}
.px-btn-primary {
  background: #0c0c14;
  color: #fff;
  box-shadow: 0 1px 8px rgba(12, 12, 20, 0.2);
}
.px-btn-primary:hover {
  background: #2a2a3a;
}
[data-theme="dark"] .px-btn-primary {
  background: #f0efff;
  color: #0c0c14;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .px-btn-primary:hover {
  background: #c8c8e0;
}
.px-btn-accent {
  background: #0c0c14;
  color: #fff;
  box-shadow: 0 4px 20px rgba(12, 12, 20, 0.2);
}
.px-btn-accent:hover {
  background: #2a2a3a;
  box-shadow: 0 6px 24px rgba(12, 12, 20, 0.28);
}
.px-btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.px-btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}
.px-btn-xl {
  font-size: 0.95rem;
  padding: 13px 26px;
}
.px-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.px-mobile-toggle .bar1,
.px-mobile-toggle .bar2,
.px-mobile-toggle .bar3 {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.22s,
    opacity 0.22s;
  transform-origin: center;
}
.px-mobile-toggle.is-open .bar1 {
  transform: translateY(6px) rotate(45deg);
}
.px-mobile-toggle.is-open .bar2 {
  opacity: 0;
}
.px-mobile-toggle.is-open .bar3 {
  transform: translateY(-6px) rotate(-45deg);
}
/* Theme toggle */
/* ── Theme Toggle Pill ── */
.px-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 34px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  color: var(--ink-2);
  padding: 0;
  overflow: hidden;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  box-shadow: 0 1px 3px rgba(12, 12, 20, 0.07);
}
.px-theme-toggle:hover {
  border-color: var(--ink-3);
  box-shadow: 0 2px 8px rgba(12, 12, 20, 0.1);
}
.px-theme-icon {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 10px;
  height: 100%;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}
.px-theme-icon svg {
  flex-shrink: 0;
}
.px-theme-label {
  color: var(--ink-2);
}
.px-theme-icon-sun {
  display: inline-flex;
}
.px-theme-icon-moon {
  display: none;
}
[data-theme="dark"] .px-theme-icon-sun {
  display: none;
}
[data-theme="dark"] .px-theme-icon-moon {
  display: inline-flex;
}
[data-theme="dark"] .px-theme-toggle {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .px-theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .px-theme-label {
  color: rgba(255, 255, 255, 0.7);
}
.px-mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 499;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.px-mobile-nav.open {
  display: block;
}
.px-mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.px-mobile-nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 10px 12px;
  border-radius: 8px;
  display: block;
  transition: background 0.12s;
  text-decoration: none;
}
.px-mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}
.px-mobile-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.px-mobile-section {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 12px 12px 4px;
}
.px-mobile-section:first-child {
  padding-top: 0;
}
.px-mobile-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 10px 12px;
  border-radius: 8px;
  display: block;
  transition: background 0.12s;
  text-decoration: none;
}
.px-mobile-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}
.px-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ════════════════════════════════════════
   PAGE WRAPPER
════════════════════════════════════════ */
.px-page {
  padding-top: 62px;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.px-hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(
      ellipse 80% 60% at 60% -10%,
      rgba(12, 12, 20, 0.04) 0%,
      transparent 65%
    ),
    var(--dark);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.px-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 110%,
    rgba(12, 12, 20, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}
.px-hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: center;
}
.px-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.px-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(12, 12, 20, 0.3);
  flex-shrink: 0;
}
.px-eyebrow-text {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.px-eyebrow-text strong {
  color: var(--accent);
  font-weight: 600;
}
.px-hero-h1 {
  font-family: var(--f-hd);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.px-hero-h1 .uw {
  color: var(--accent);
  position: relative;
}
.px-hero-h1 .line {
  display: block;
}
.px-hero-sub {
  font-size: 1.05rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}
.px-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.px-hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.px-hero-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-4);
}
.px-hero-proof-item svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero right — floating cards */
.px-hero-right {
  position: relative;
}
.px-float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--rf);
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.px-float-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.px-badge-tl {
  top: -18px;
  left: -24px;
}
.px-badge-bl {
  bottom: -18px;
  right: -16px;
}
.px-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px;
}
.px-hero-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.px-hero-card:hover {
  border-color: rgba(12, 12, 20, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.px-hc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.px-hc-name {
  font-family: var(--f-hd);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.px-hc-desc {
  font-size: 0.7rem;
  color: var(--ink-4);
}

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.px-stats {
  border-bottom: 1px solid var(--border);
  background: var(--dark-2);
}
.px-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
}
.px-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}
.px-stat:last-child {
  border-right: none;
}
.px-stat-num {
  font-family: var(--f-hd);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.px-stat-num .acc {
  color: var(--accent);
}
.px-stat-label {
  font-size: 0.75rem;
  color: var(--ink-4);
  margin-top: 5px;
  text-align: center;
}

/* ════════════════════════════════════════
   SECTION WRAPPER
════════════════════════════════════════ */
.px-section {
  padding: 72px 0;
}
.px-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.px-section-hd {
  text-align: center;
  margin-bottom: 52px;
}
.px-section-eye {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.px-section-h2 {
  font-family: var(--f-hd);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.px-section-sub {
  font-size: 1rem;
  color: var(--ink-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   TOOLS SECTION
════════════════════════════════════════ */
.px-tools-section {
  background: var(--dark);
}

.px-cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.px-cat-title {
  font-family: var(--f-hd);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.px-cat-count {
  font-family: var(--f-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  padding: 2px 8px;
  border-radius: var(--rf);
  white-space: nowrap;
}
.px-cat-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.px-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 44px;
}
.px-tool-card {
  display: block;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.px-tool-card:hover {
  border-color: rgba(12, 12, 20, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--dark-4);
}
.px-tc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.px-tc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.px-tc-icon svg {
  width: 17px;
  height: 17px;
}
.px-tc-arrow {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 20, 0.06);
  color: var(--ink-4);
  transition:
    background 0.14s,
    color 0.14s;
}
.px-tool-card:hover .px-tc-arrow {
  background: var(--accent-bg);
  color: var(--accent);
}
.px-tc-name {
  font-family: var(--f-hd);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.px-tc-desc {
  font-size: 0.73rem;
  color: var(--ink-4);
  line-height: 1.5;
}

/* ════════════════════════════════════════
   FEATURES SECTION
════════════════════════════════════════ */
.px-features-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.px-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.px-feature-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.px-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.px-feature-h3 {
  font-family: var(--f-hd);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.px-feature-p {
  font-size: 0.83rem;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.px-how-section {
  background: var(--dark);
}
.px-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.px-how-step {
  text-align: center;
}
.px-how-num {
  font-family: var(--f-hd);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(12, 12, 20, 0.08);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 16px;
}
.px-how-icon {
  width: 52px;
  height: 52px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.px-how-h3 {
  font-family: var(--f-hd);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.px-how-p {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.px-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 52px 0 36px;
}
.px-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.px-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.px-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.px-footer-brand-icon {
  width: 30px;
  height: 30px;
  background: #0c0c14;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-footer-brand-icon svg {
  color: #fff;
}
.px-footer-brand-name {
  font-family: var(--f-hd);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.px-footer-brand-desc {
  font-size: 0.8rem;
  color: var(--ink-4);
  line-height: 1.6;
  margin-bottom: 14px;
}
.px-footer-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.px-footer-brand-tag {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-4);
  background: var(--dark-4);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: var(--rf);
}
.px-footer-col-label {
  font-family: var(--f-hd);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.px-footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.px-footer-link {
  font-size: 0.8rem;
  color: var(--ink-4);
  text-decoration: none;
  transition: color 0.14s;
}
.px-footer-link:hover {
  color: var(--accent);
}
.px-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.px-footer-copy {
  font-size: 0.76rem;
  color: var(--ink-5);
}
.px-footer-bottom-links {
  display: flex;
  gap: 20px;
}
.px-footer-bottom-link {
  font-size: 0.76rem;
  color: var(--ink-5);
  text-decoration: none;
  transition: color 0.14s;
}
.px-footer-bottom-link:hover {
  color: var(--ink-3);
}

/* ════════════════════════════════════════
   AD SYSTEM
════════════════════════════════════════ */
.px-ad-label {
  font-family: "DM Mono", monospace;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9898b0;
  text-align: center;
  margin-bottom: 8px;
}
.px-ad-placeholder {
  width: 100%;
  background: #f5f4f0;
  border: 1.5px dashed #d0cec6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 24px 16px;
  color: var(--ink-4);
  box-sizing: border-box;
}
.px-ad-placeholder svg {
  opacity: 0.25;
}
.px-ad-ph-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8888a8;
  margin: 0;
}
.px-ad-ph-sub {
  font-family: "DM Mono", monospace;
  font-size: 0.63rem;
  color: #aaaabf;
  margin: 0;
}
.px-ad-banner {
  width: 100%;
}
.px-ad-banner .px-ad-placeholder {
  min-height: 100px;
}
.px-section-ad-slot,
.px-mid-ad-slot,

/* ── Index page ad wrapper ── */
.px-index-ad-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.px-index-ad-wrap .px-ad-banner {
  width: 100%;
  max-width: 960px;
}
.t-banner-ad-slot {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 0 20px;
}
.px-section-ad-slot > .px-ad-banner,
.px-mid-ad-slot > .px-ad-banner,
.t-banner-ad-slot > .px-ad-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* ════════════════════════════════════════
   REVEAL ANIMATIONS
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}

/* ── Ambient light animation ── */
@keyframes vl-glow-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}
.px-eyebrow-dot {
  animation: vl-glow-pulse 3s ease-in-out infinite;
}

/* ── GPU promotion for hover-animated cards — only on hover to avoid mass layer creation ── */
.px-tool-card:hover,
.px-hero-card:hover,
.px-feature-card:hover {
  will-change: transform;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .px-hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .px-hero-right {
    display: none;
  }
  .px-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .px-footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .px-nav {
    display: none;
  }
  .px-mobile-toggle {
    display: flex !important;
  }
  .px-hdr-link {
    display: none;
  }
  .px-header-actions .px-btn-primary {
    display: none;
  }
  .px-hero {
    padding: 56px 0 52px;
  }
  .px-hero-layout {
    padding: 0 20px;
  }
  .px-section-inner {
    padding: 0 20px;
  }
  .px-footer-inner {
    padding: 0 20px;
  }
  .px-header-inner {
    padding: 0 20px;
  }
  .px-how-grid {
    grid-template-columns: 1fr;
  }
  .px-features-grid {
    grid-template-columns: 1fr;
  }
  .px-stats-inner {
    flex-wrap: wrap;
  }
  .px-stat {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  .px-dropdown {
    display: none;
  }
}
@media (max-width: 480px) {
  .px-brand {
    margin-right: 12px;
  }
  .px-footer-top {
    grid-template-columns: 1fr;
  }
  .px-tool-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Ad placeholder dark mode ── */
[data-theme="dark"] .px-ad-placeholder {
  background: #1c1c27;
  border-color: rgba(255, 255, 255, 0.1);
  color: #50505e;
}
[data-theme="dark"] .px-ad-ph-title {
  color: #8888a8;
}
[data-theme="dark"] .px-ad-ph-sub {
  color: #50505e;
}
[data-theme="dark"] .px-ad-label {
  color: #50505e;
}

/* ── Scrollbar dark mode ── */
[data-theme="dark"]::-webkit-scrollbar-track {
  background: #111118;
}
[data-theme="dark"]::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
}

/* ── Dark mode card overrides ── */
[data-theme="dark"] .px-tool-card {
  background: #16161f;
  border-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-tool-card:hover {
  background: #1c1c27;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .px-tc-arrow {
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .px-feature-card {
  background: #16161f;
  border-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-hero-card {
  background: #16161f;
  border-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-hero-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .px-stat {
  border-right-color: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-stats {
  background: #111118;
  border-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-hero {
  background: var(--dark);
}
[data-theme="dark"] .px-footer {
  background: #111118;
  border-top-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-float-badge {
  background: #1c1c27;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .px-dropdown {
  background: #1a1a24;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .px-dd-label + .px-dd-label {
  border-top-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-dd-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .px-cat-line {
  background: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-features-section {
  background: #111118;
  border-top-color: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .px-nav-link:hover,
[data-theme="dark"] .px-nav-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .px-hdr-link:hover {
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .px-btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}
[data-theme="dark"] .px-btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ── Utility classes (replaces inline style attributes) ── */

/* Icon backgrounds — homepage tool cards */
.u-icon-orange-sm {
  background: rgba(232, 93, 4, 0.1);
}
.u-icon-orange-md {
  background: rgba(232, 93, 4, 0.12);
}
.u-icon-orange-lg {
  background: rgba(232, 93, 4, 0.14);
}
.u-icon-blue {
  background: rgba(56, 189, 248, 0.1);
}
.u-icon-purple {
  background: rgba(139, 92, 246, 0.1);
}
.u-icon-green {
  background: rgba(16, 185, 129, 0.1);
}
.u-icon-green-md {
  background: rgba(16, 185, 129, 0.12);
}
.u-icon-yellow {
  background: rgba(245, 158, 11, 0.1);
}
.u-icon-red {
  background: rgba(244, 63, 94, 0.1);
}

/* Color helpers */
.u-color-green {
  color: #10b981;
}
.u-color-accent {
  color: var(--accent);
}

/* Stat number percent size */
.u-stat-pct {
  font-size: 1.4rem;
}

/* Gradient card highlight */
.u-gradient-card {
  background: linear-gradient(
    135deg,
    rgba(232, 93, 4, 0.04),
    rgba(244, 140, 6, 0.06)
  );
  border-color: rgba(232, 93, 4, 0.18);
}
