/* ============================================================
   PIXLPRO — Homepage CSS (index.css)
   Extracted from index.html inline style block
   ============================================================ */

/* ============================================================
   PIXLPRO — Homepage (Landing + Tools merged)
   Design: Cream & Obsidian · Editorial · Mature SaaS
   Fonts: Bricolage Grotesque (headings) + DM Sans (body)
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --ink: #0c0c14;
  --ink-2: #2a2a3a;
  --ink-3: #545470;
  --ink-4: #8888a8;
  --ink-5: #b8b8cc;
  --cream: #faf9f6;
  --cream-2: #f2f1ec;
  --cream-3: #e8e6df;
  --white: #ffffff;
  --accent: #3d35e8;
  --accent-2: #2c25c8;
  --accent-3: #6b65f0;
  --accent-bg: rgba(61, 53, 232, 0.07);
  --accent-bd: rgba(61, 53, 232, 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(61, 53, 232, 0.28);

  --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);

  /* Keep compat vars so style.css still works for injected sidebar (hidden) */
  --bg: var(--cream);
  --surface: var(--white);
  --t1: var(--ink);
  --t2: var(--ink-3);
  --t3: var(--ink-4);
  --f-ui-compat: var(--f-ui);
}

/* ── RESET (override style.css body for homepage) ── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--f-ui) !important;
  background: var(--cream) !important;
  color: var(--ink) !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Override app-shell grid — full-width on homepage */
.app-shell {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

/* Hide sidebar on homepage */
#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(--cream-2);
}
::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: 99px;
}

/* ════════════════════════════════════════
   HEADER — pixel-identical to tool.css
   (hardcoded values — no CSS var drift)
════════════════════════════════════════ */
.px-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  height: 62px;
  background: rgba(250,249,246,0.93);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid #e2e0d8;
  display: flex; align-items: center;
  transition: box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
}
.px-header.scrolled { box-shadow: 0 1px 4px rgba(12,12,20,0.07),0 3px 12px rgba(12,12,20,0.04); }
.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;
}
.px-brand-icon svg { width: 17px; height: 17px; color: #faf9f6; }
.px-brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #0c0c14; letter-spacing: -0.02em;
}
.px-brand-badge {
  font-size: 0.58rem;
  font-weight: 600;
  background: rgba(61,53,232,0.07);
  color: #3d35e8;
  border: 1px solid rgba(61,53,232,0.18);
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* Nav links */
.px-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.px-nav-link {
  font-size: 0.845rem; font-weight: 500; color: #2a2a3a;
  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: #e8e6df; color: #0c0c14; }
.px-nav-link.active { color: #3d35e8; }

/* Dropdown */
.px-nav-item { position: relative; }
.px-nav-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.845rem; font-weight: 500; color: #2a2a3a;
  padding: 6px 12px; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.14s; white-space: nowrap;
}
.px-nav-btn:hover { background: #e8e6df; color: #0c0c14; }
.px-nav-btn svg { width: 12px; height: 12px; opacity: 0.5; transition: transform 0.2s cubic-bezier(0.4,0,0.2,1); }
.px-nav-item:hover .px-nav-btn svg { transform: rotate(180deg); opacity: 0.8; }
.px-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0; pointer-events: none;
  background: #ffffff; border: 1px solid #e2e0d8;
  border-radius: 16px; box-shadow: 0 4px 20px rgba(12,12,20,0.10),0 20px 60px rgba(12,12,20,0.08);
  padding: 10px; min-width: 480px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  transition: opacity 0.18s cubic-bezier(0.4,0,0.2,1), transform 0.18s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
}
.px-nav-item:hover .px-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) 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: #8888a8; font-family: 'Bricolage Grotesque', sans-serif;
}
.px-dd-label + .px-dd-label { border-top: 1px solid #e2e0d8; 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: #f2f1ec; }
.px-dd-item:hover .px-dd-name { color: #3d35e8; }
.px-dd-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.px-dd-icon svg { width: 14px; height: 14px; }
.px-dd-name { font-size: 0.82rem; font-weight: 600; color: #0c0c14; font-family: 'Bricolage Grotesque', sans-serif; transition: color 0.12s; }
.px-dd-desc { font-size: 0.71rem; color: #545470; margin-top: 1px; }

/* Header right */
.px-header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.px-hdr-link {
  font-size: 0.845rem; font-weight: 500; color: #2a2a3a;
  padding: 6px 12px; border-radius: 8px;
  transition: background 0.14s; text-decoration: none;
}
.px-hdr-link:hover { background: #e8e6df; }

/* Buttons */
.px-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  border-radius: 8px; transition: all 0.14s cubic-bezier(0.4,0,0.2,1);
  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: #ffffff; box-shadow: 0 1px 3px rgba(12,12,20,0.2); }
.px-btn-primary:hover { background: #2a2a3a; }
.px-btn-accent {
  background: #3d35e8;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(61,53,232,0.28);
}
.px-btn-accent:hover { background: #2c25c8; }
.px-btn-outline {
  background: none;
  color: #0c0c14;
  border: 1.5px solid #d4d1c6;
}
.px-btn-outline:hover { background: #e8e6df; }
.px-btn-lg { padding: 12px 24px; font-size: 0.92rem; }
.px-btn-xl { padding: 14px 30px; font-size: 0.96rem; border-radius: 12px; }

.px-mobile-toggle:hover { background: #e8e6df; }

/* Mobile nav */
.px-mobile-nav {
  display: none; background: #ffffff; border-bottom: 1px solid #e2e0d8;
  padding: 16px 24px; box-shadow: 0 2px 8px rgba(12,12,20,0.08),0 8px 28px rgba(12,12,20,0.06);
  position: fixed; top: 62px; left: 0; right: 0; z-index: 499;
}
.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: #2a2a3a;
  padding: 10px 12px;
  border-radius: 8px;
  display: block;
  transition: background 0.12s;
  text-decoration: none;
}
.px-mobile-nav-link:hover { background: #e8e6df; }
.px-mobile-actions { display: flex; gap: 8px; }

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

/* ── HERO ── */
.px-hero {
  padding: 80px 32px 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.px-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rf);
  padding: 5px 14px 5px 7px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}
.px-eyebrow-dot {
  width: 22px;
  height: 22px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-eyebrow-dot span {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: block;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.3);
  }
}
.px-eyebrow-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.px-eyebrow-text strong {
  color: var(--green);
}

.px-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.px-hero-h1 {
  font-family: var(--f-hd);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1.04;
  margin-bottom: 20px;
}
.px-hero-h1 .line {
  display: block;
}
.px-hero-h1 .uw {
  position: relative;
  display: inline-block;
}
.px-hero-h1 .uw::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: left;
  animation: underlineIn 0.8s 0.4s var(--ease) both;
}
@keyframes underlineIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.px-hero-sub {
  font-size: 1.02rem;
  color: var(--ink-3);
  max-width: 430px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.px-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.px-hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.px-hero-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 500;
}
.px-hero-proof-item svg {
  width: 13px;
  height: 13px;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero right — mini cards */
.px-hero-right {
  position: relative;
}
.px-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.px-hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  text-decoration: none;
}
.px-hero-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.px-hc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-hc-icon svg {
  width: 16px;
  height: 16px;
}
.px-hc-name {
  font-family: var(--f-hd);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.px-hc-desc {
  font-size: 0.7rem;
  color: var(--ink-3);
  line-height: 1.4;
}

.px-float-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.px-float-badge svg {
  width: 16px;
  height: 16px;
}
.px-badge-tl {
  top: -14px;
  right: -14px;
  animation: floatY 3s ease-in-out infinite;
  animation-delay: 0.5s;
}
.px-badge-bl {
  bottom: -16px;
  left: -20px;
  animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ── STATS BAND ── */
.px-stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.px-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.px-stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.px-stat:last-child {
  border-right: none;
}
.px-stat-num {
  font-family: var(--f-hd);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 5px;
}
.px-stat-num .acc {
  color: var(--accent);
}
.px-stat-label {
  font-size: 0.8rem;
  color: var(--ink-3);
  font-weight: 500;
}

/* ── SECTION CHROME ── */
.px-section {
  padding: 80px 32px;
}
.px-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.px-section-eye {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--f-hd);
  margin-bottom: 12px;
}
.px-section-eye::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
}

.px-section-h2 {
  font-family: var(--f-hd);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.px-section-sub {
  font-size: 0.96rem;
  color: var(--ink-3);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
}
.px-section-hd {
  margin-bottom: 44px;
}
.px-section-hd.centered {
  text-align: center;
}
.px-section-hd.centered .px-section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ── TOOLS SECTION ── */
.px-tools-section {
  background: var(--cream-2);
}

/* Category pills */
.px-cat-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.px-cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--rf);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-2);
  background: var(--white);
  color: var(--ink-3);
  transition: all 0.14s var(--ease);
  font-family: var(--f-ui);
}
.px-cat-pill svg {
  width: 13px;
  height: 13px;
}
.px-cat-pill:hover {
  border-color: var(--border);
  color: var(--ink);
}
.px-cat-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Category label row */
.px-cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 44px;
}
.px-cat-row:first-of-type {
  margin-top: 0;
}
.px-cat-title {
  font-family: var(--f-hd);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.px-cat-count {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-4);
  background: var(--cream-3);
  padding: 2px 9px;
  border-radius: var(--rf);
  border: 1px solid var(--border);
}
.px-cat-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 3-col tool grid */
.px-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.px-tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.16s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.px-tool-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.px-tool-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-2);
}
.px-tool-card:hover::after {
  transform: scaleX(1);
}

.px-tc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.px-tc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.px-tc-icon svg {
  width: 17px;
  height: 17px;
}

.px-tc-arrow {
  width: 28px;
  height: 28px;
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  opacity: 0;
  transition: all 0.15s var(--ease);
  background: var(--cream-2);
  margin-top: -2px;
}
.px-tc-arrow svg {
  width: 12px;
  height: 12px;
}
.px-tool-card:hover .px-tc-arrow {
  opacity: 1;
  color: var(--accent);
  background: var(--accent-bg);
}

.px-tc-name {
  font-family: var(--f-hd);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.px-tc-desc {
  font-size: 0.74rem;
  color: var(--ink-3);
  line-height: 1.55;
  flex: 1;
}

/* Designer featured card */
.px-designer-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: linear-gradient(
    135deg,
    rgba(61, 53, 232, 0.04) 0%,
    rgba(107, 101, 240, 0.06) 100%
  );
  border-color: rgba(61, 53, 232, 0.18);
  padding: 28px 28px;
}
.px-designer-card::after {
  display: none;
}
.px-designer-card:hover {
  border-color: rgba(61, 53, 232, 0.32);
}
.px-designer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.px-designer-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.px-designer-title {
  font-family: var(--f-hd);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.px-designer-desc {
  font-size: 0.8rem;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 500px;
}
.px-designer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.px-dtag {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  background: rgba(61, 53, 232, 0.07);
  color: var(--accent);
  border: 1px solid rgba(61, 53, 232, 0.14);
  padding: 3px 9px;
  border-radius: var(--r1);
}
.px-designer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--rf);
  font-family: var(--f-hd);
}

/* ── FEATURES SECTION ── */
.px-features-section {
  background: var(--white);
}

.px-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r4);
  overflow: hidden;
}
.px-feat-card {
  background: var(--white);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: background 0.15s;
}
.px-feat-card:hover {
  background: var(--cream);
}
.px-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-feat-icon svg {
  width: 19px;
  height: 19px;
}
.px-feat-title {
  font-family: var(--f-hd);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.px-feat-desc {
  font-size: 0.79rem;
  color: var(--ink-3);
  line-height: 1.65;
}
.px-feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--rf);
  width: fit-content;
  margin-top: 4px;
}

/* ── HOW IT WORKS ── */
.px-how-section {
  background: var(--ink);
}
.px-how-section .px-section-h2 {
  color: var(--cream);
}
.px-how-section .px-section-sub {
  color: var(--ink-4);
}
.px-how-section .px-section-eye {
  color: var(--accent-3);
}
.px-how-section .px-section-eye::before {
  background: var(--accent-3);
}

.px-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.px-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink-2) 0,
    var(--ink-2) 8px,
    transparent 8px,
    transparent 16px
  );
}
.px-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r4);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.px-step-num {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: var(--r3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-hd);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.px-step-title {
  font-family: var(--f-hd);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.px-step-desc {
  font-size: 0.79rem;
  color: var(--ink-4);
  line-height: 1.65;
}
.px-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.px-step-tag {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  color: var(--ink-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: var(--r1);
}

/* ── CTA SECTION ── */
.px-cta-section {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 88px 32px;
}
.px-cta-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.px-cta-h2 {
  font-family: var(--f-hd);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.px-cta-sub {
  font-size: 0.94rem;
  color: var(--ink-4);
  max-width: 440px;
  margin: 0 auto 34px;
  line-height: 1.7;
}
.px-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.px-cta-note {
  font-size: 0.73rem;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  justify-content: center;
}
.px-cta-note svg {
  width: 12px;
  height: 12px;
}

/* ── FOOTER ── */
.px-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 32px 28px;
}
.px-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.px-footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  margin-bottom: 44px;
}
.px-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.px-footer-brand-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-footer-brand-icon svg {
  width: 14px;
  height: 14px;
  color: var(--cream);
}
.px-footer-brand-name {
  font-family: var(--f-hd);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cream);
}
.px-footer-brand-desc {
  font-size: 0.77rem;
  color: var(--ink-4);
  line-height: 1.65;
  margin-bottom: 14px;
}
.px-footer-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.px-footer-brand-tag {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--ink-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--r1);
}
.px-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.px-footer-col-title {
  font-family: var(--f-hd);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.px-footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.px-footer-link {
  font-size: 0.77rem;
  color: var(--ink-4);
  transition: color 0.14s;
  text-decoration: none;
}
.px-footer-link:hover {
  color: var(--ink-5);
}

.px-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.px-footer-copy {
  font-size: 0.73rem;
  color: var(--ink-4);
}
.px-footer-legal {
  display: flex;
  gap: 20px;
}
.px-footer-legal a {
  font-size: 0.72rem;
  color: var(--ink-4);
  transition: color 0.14s;
}
.px-footer-legal a:hover {
  color: var(--ink-5);
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .px-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .px-hero-right {
    display: none;
  }
  .px-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-steps {
    grid-template-columns: 1fr;
  }
  .px-steps::before {
    display: none;
  }
  .px-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-designer-card {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .px-nav {
    display: none;
  }
  .px-mobile-toggle {
    display: flex !important;
  }
  .px-hdr-link {
    display: none;
  }
  .px-section {
    padding: 56px 20px;
  }
  .px-hero {
    padding: 64px 20px 56px;
  }
  .px-hero-h1 {
    font-size: 2.2rem;
  }
  .px-feat-grid {
    grid-template-columns: 1fr;
  }
  .px-tool-grid {
    grid-template-columns: 1fr 1fr;
  }
  .px-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .px-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .px-stat {
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 480px) {
  .px-tool-grid {
    grid-template-columns: 1fr;
  }
  .px-hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .px-footer-grid {
    grid-template-columns: 1fr;
  }
  .px-hero-proof {
    gap: 10px;
  }
  .px-header-inner {
    padding: 0 20px;
  }
  .px-brand-badge {
    display: none;
  }
}

/* ════════════════════════════════════════════════════
   AD SYSTEM — Pixlux
   Edit components/ads/banner-ad.html  → changes every banner
   Edit components/ads/sidebar-ad.html → changes sidebar
════════════════════════════════════════════════════ */

/* ── Ad label ── */
.px-ad-label {
  font-family: "DM Mono", monospace;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0bfc8;
  text-align: center;
  margin-bottom: 6px;
}

/* ── Placeholder card — identical design everywhere ── */
.px-ad-placeholder {
  width: 100%;
  background: #f5f4f0;
  border: 1.5px dashed #d8d6ce;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px 16px;
  color: #9898b0;
  box-sizing: border-box;
}
.px-ad-placeholder svg {
  opacity: 0.45;
}
.px-ad-ph-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #545470;
  margin: 0;
}
.px-ad-ph-sub {
  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
  color: #b8b8cc;
  margin: 0;
}

/* ── Banner ad unit ── */
.px-ad-banner {
  width: 100%;
}
.px-ad-banner .px-ad-placeholder {
  min-height: 96px;
}

/* ── Sidebar ad unit ── */
.px-sidebar-ad {
  width: 100%;
}
.px-sidebar-ad-inner {
  display: flex;
  justify-content: center;
}
.px-ad-placeholder--sidebar {
  min-height: 200px;
  max-width: 280px;
  border-radius: 8px;
}

/* ══════════════════════════════════════════════════════
   SLOT WRAPPERS
   All banner slots: no padding on the slot itself.
   The inner .px-ad-banner is constrained to match
   the content width (max-width:1200px + 32px side padding)
   so banners align perfectly with header / tool content.
══════════════════════════════════════════════════════ */
.t-banner-ad-slot,
.px-section-ad-slot,
.px-mid-ad-slot {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 0 0; /* vertical breathing room only, NO horizontal */
}

/* Inner ad unit: same width constraint as t-content & t-hero-inner */
.t-banner-ad-slot > .px-ad-banner,
.px-section-ad-slot > .px-ad-banner,
.px-mid-ad-slot > .px-ad-banner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* Injected banner inside right card (tool output panel, bottom) */
.px-banner-ad-inject {
  margin-top: 20px;
  border-top: 1px solid var(--px-border, #e8e6e0);
  padding-top: 14px;
}
.px-banner-ad-inject .px-ad-placeholder {
  min-height: 80px;
}

/* Sidebar ad injected into left card (tool pages) */
.px-sidebar-ad-wrap {
  margin-top: 20px;
  border-top: 1px solid var(--px-border, #e8e6e0);
  padding-top: 14px;
}

/* Secondary banner for tools without tool-grid (designer, preview) */
.px-bottom-banner-slot {
  max-width: 1200px;
  margin: 14px auto 0;
  padding: 0 32px;
  box-sizing: border-box;
}

/* Footer billboard ad slot (970×250) */
.px-footer-ad-slot {
  width: 100%;
  padding: 40px 32px 0;
  box-sizing: border-box;
  background: transparent;
}

.px-ad-footer {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.px-ad-footer .px-ad-label {
  margin-bottom: 6px;
}

.px-ad-footer .ad-slot-inner {
  width: 100%;
  min-height: 250px;
}

.px-ad-footer .px-ad-placeholder {
  min-height: 220px;
  border-radius: 12px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .t-banner-ad-slot,
  .px-section-ad-slot,
  .px-mid-ad-slot {
    padding-top: 12px;
  }

  .t-banner-ad-slot > .px-ad-banner,
  .px-section-ad-slot > .px-ad-banner,
  .px-mid-ad-slot > .px-ad-banner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .px-bottom-banner-slot {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 600px) {
  .t-banner-ad-slot > .px-ad-banner,
  .px-section-ad-slot > .px-ad-banner,
  .px-mid-ad-slot > .px-ad-banner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .px-bottom-banner-slot {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* Banner ad slots — vertical breathing room */
#bannerAdContainer {
  padding-bottom: 20px;
}
.px-section-ad-slot {
  padding-bottom: 20px;
}
.px-mid-ad-slot {
  padding-bottom: 20px;
}

/* ══════════════════════════════════════════════════
   NAV DROPDOWN FIXES
   - Padding bridge: no gap between button and menu
   - open class: JS-controlled (not just :hover)
   - left:0 alignment (not left:50% which shifts off-screen on tool pages)
   - Mobile toggle X animation
══════════════════════════════════════════════════ */

/* Remove gap — use padding-top as invisible hover bridge */
.px-dropdown {
  top: 100% !important; /* flush to button bottom   */
  left: 0 !important; /* align to nav-item edge   */
  transform: translateY(-6px) !important;
  padding-top: 10px !important; /* bridge = no gap to cross */
}
/* Show via JS .open class OR CSS :hover (both work) */
.px-nav-item:hover .px-dropdown,
.px-dropdown.open {
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateY(0) !important;
}

/* Mobile toggle hamburger → X */

.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);
}

/* Mobile toggle bar layout */
.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(--px-ink, #1a1a2e);
}

/* ── Header Ad slot (970×90 super-banner, below navigation) ── */
.px-header-ad-slot {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}
.px-header-ad {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 8px 32px;
  box-sizing: border-box;
}
.px-header-ad .px-ad-label {
  margin-bottom: 4px;
}
.px-header-ad-inner {
  width: 100%;
  min-height: 90px;
}
.px-ad-placeholder--header {
  min-height: 80px;
}

/* ── Footer Ad wrapper (970×250 billboard) ── */
.px-footer-ad {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.px-footer-ad .px-ad-label {
  margin-bottom: 6px;
}
.px-footer-ad-inner {
  width: 100%;
  min-height: 250px;
}
.px-ad-placeholder--footer {
  min-height: 220px;
  border-radius: 12px;
}
