/* ════════════════════════════════════════════
   Woo Filter Studio Theme — main.css
   ════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg:        #07080d;
  --bg2:       #0d0f18;
  --surface:   #131622;
  --surface2:  #1a1e2e;
  --border:    #232840;
  --accent:    #6c63ff;
  --accent2:   #a78bfa;
  --accent3:   #38bdf8;
  --green:     #34d399;
  --text:      #e8eaf6;
  --muted:     #7b82a8;
  --faint:     #2e3355;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; z-index: 1; }

/* ── Navbar ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,8,13,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108,99,255,.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon--sm { width: 26px; height: 26px; }

/* WP nav menu reset */
.nav-links,
.nav-links ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0; padding: 0;
}

.nav-links li { position: relative; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 400;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta,
.nav-links .current-menu-item > a {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: background .2s !important;
}

.nav-links .nav-cta:hover { background: #5a52e8 !important; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 0 40px rgba(108,99,255,.3);
}

.btn-primary:hover {
  background: #5a52e8;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(108,99,255,.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all .2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent2);
  transform: translateY(-2px);
}

/* ── Section common ── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.section-sub {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.7;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(108,99,255,.18) 0%, rgba(108,99,255,.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  bottom: 0; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(56,189,248,.08) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.3);
  color: var(--accent2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.03em;
  max-width: 900px;
  animation: fadeUp .7s .1s ease both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .7s .3s ease both;
}

/* ── Stats bar ── */
.stats-bar {
  margin-top: 72px;
  display: flex;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  animation: fadeUp .7s .5s ease both;
  width: 100%;
  max-width: 620px;
}

.stat-item {
  flex: 1;
  padding: 18px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ── Preview window ── */
.hero-preview {
  margin-top: 72px;
  width: 100%;
  max-width: 1000px;
  animation: fadeUp .8s .4s ease both;
}

.preview-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(108,99,255,.1);
}

.preview-bar {
  padding: 14px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-dot { width: 10px; height: 10px; border-radius: 50%; }

.preview-title {
  margin-left: 8px;
  font-size: .78rem;
  color: var(--muted);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 340px;
}

/* Filter sidebar inside preview */
.filter-sidebar {
  padding: 20px;
  border-right: 1px solid var(--border);
  background: rgba(19,22,34,.6);
}

.filter-title {
  font-family: 'Syne', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.filter-group { margin-bottom: 20px; }

.filter-group-label {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}

.filter-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.filter-chip {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .72rem;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}

.filter-chip.active {
  background: rgba(108,99,255,.15);
  border-color: var(--accent);
  color: var(--accent2);
}

.price-track {
  height: 3px;
  background: var(--faint);
  border-radius: 2px;
  position: relative;
  margin: 12px 0;
}

.price-fill {
  position: absolute;
  left: 20%; right: 25%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.price-thumb {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(108,99,255,.5);
}

.price-labels { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); }

.rating-row { display: flex; flex-direction: column; gap: 6px; }

.rating-option { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }

.stars { color: #f59e0b; font-size: .7rem; }

.rating-count { font-size: .7rem; color: var(--muted); }

.check-box {
  width: 14px; height: 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.check-box.checked { background: var(--accent); border-color: var(--accent); }
.check-box.checked::after { content: '✓'; color: #fff; font-size: 9px; }

/* Products in preview */
.preview-products { display: flex; flex-direction: column; }

.active-filter-strip {
  padding: 10px 20px;
  background: rgba(108,99,255,.06);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.active-tag-label { font-size: .7rem; color: var(--muted); }

.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.3);
  color: var(--accent2);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .7rem;
}

.clear-all { margin-left: auto; font-size: .7rem; color: var(--accent); cursor: pointer; }

.product-grid-preview {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-content: start;
}

.product-card-mini {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s;
}

.product-card-mini:hover { transform: translateY(-2px); }

.product-img-placeholder {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.product-info-mini { padding: 8px 10px; }
.product-name-mini { font-size: .7rem; color: var(--text); font-weight: 500; margin-bottom: 3px; }
.product-price-mini { font-size: .72rem; color: var(--accent2); font-weight: 600; }

/* ── Compat badges ── */
.compat-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  justify-content: center;
}

.compat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .78rem;
}

/* ── Features section ── */
.features-section { padding: 120px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.feature-card:hover { background: var(--surface2); }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.feature-name { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; font-weight: 300; }

/* ── How section ── */
.how-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps-list { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }

.step { display: flex; gap: 20px; }

.step-num {
  width: 36px; height: 36px; min-width: 36px;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent2);
}

.step-title { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.step-desc { font-size: .85rem; color: var(--muted); font-weight: 300; line-height: 1.6; }

.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.code-header {
  padding: 14px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
}

.code-body {
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  line-height: 1.8;
  color: #a5b4fc;
  white-space: pre;
  overflow-x: auto;
}

.code-tag  { color: #f472b6; }
.code-attr { color: #34d399; }
.code-val  { color: #fb923c; }
.code-comment { color: #4b5563; font-style: italic; }

/* ── Filter types section ── */
.filters-section { padding: 100px 0; }

.filters-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.filter-type-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }

.filter-type-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.filter-type-item:last-child { border-bottom: none; }

.filter-type-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.filter-type-name { font-size: .88rem; font-weight: 500; color: var(--text); }
.filter-type-desc { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.filter-demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.filter-demo-title {
  font-family: 'Syne', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.filter-demo-desc { font-size: .85rem; color: var(--muted); font-weight: 300; line-height: 1.6; margin-bottom: 16px; }

.logic-cards { display: flex; gap: 10px; margin-bottom: 24px; }

.logic-card {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}

.logic-card--or { background: rgba(108,99,255,.1); border: 1px solid rgba(108,99,255,.25); }
.logic-card--and { background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2); }

.logic-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
}

.logic-card--or .logic-card-title  { color: var(--accent2); }
.logic-card--and .logic-card-title { color: var(--green); }

.logic-card-sub  { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.logic-card-note { font-size: .7rem; color: var(--muted); margin-top: 4px; }

.url-demo { padding-top: 20px; border-top: 1px solid var(--border); }

.url-example {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: monospace;
  font-size: .72rem;
  color: var(--muted);
  word-break: break-all;
}

.url-accent2 { color: var(--accent2); }
.url-green   { color: var(--green); }
.url-accent3 { color: var(--accent3); }

/* ── Analytics section ── */
.analytics-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.analytics-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.analytics-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.analytics-header-bar { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.analytics-title { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; color: var(--text); }
.analytics-subtitle { font-size: .75rem; color: var(--muted); margin-top: 2px; }

.analytics-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.a-stat { padding: 16px 20px; border-right: 1px solid var(--border); text-align: center; }
.a-stat:last-child { border-right: none; }
.a-stat-num { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--accent2); }
.a-stat-label { font-size: .68rem; color: var(--muted); margin-top: 2px; }

.analytics-table { padding: 16px; }

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  gap: 12px;
  font-size: .78rem;
  margin-bottom: 4px;
  transition: background .15s;
}

.table-row:hover { background: var(--surface); }

.table-row--head {
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 6px;
}

.table-value { color: var(--text); font-size: .82rem; }

.badge-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 500;
}

.bar-mini { height: 4px; background: var(--faint); border-radius: 2px; overflow: hidden; margin-bottom: 2px; }
.bar-mini-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.bar-count { font-size: .7rem; color: var(--muted); }

.analytics-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }

.analytics-feature-item { display: flex; gap: 14px; align-items: flex-start; }

.analytics-feature-icon {
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.analytics-feature-title { font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700; color: var(--text); }
.analytics-feature-desc { font-size: .82rem; color: var(--muted); margin-top: 4px; font-weight: 300; line-height: 1.5; }

/* ── Shortcode section ── */
.shortcode-section { padding: 100px 0; }

.shortcode-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.attrs-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.attr-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.attr-name {
  font-family: monospace;
  font-size: .8rem;
  color: var(--green);
  background: rgba(52,211,153,.08);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 1px;
}

.attr-desc { font-size: .82rem; color: var(--muted); font-weight: 300; line-height: 1.5; }

.admin-controls-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.admin-controls-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }

.admin-control-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: border-color .2s;
}

.admin-control-item:last-child { margin-bottom: 0; }
.admin-control-item:hover { border-color: var(--accent); }

.admin-control-name { font-size: .85rem; font-weight: 500; color: var(--text); }
.admin-control-desc { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ── CTA section ── */
.cta-section { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108,99,255,.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.cta-section h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 440px;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pricing-note { margin-top: 20px; font-size: .82rem; color: var(--muted); position: relative; z-index: 1; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}

.footer-text { font-size: .8rem; color: var(--muted); }
.footer-text a { color: var(--accent2); text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links li a,
.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-links li a:hover,
.footer-links a:hover { color: var(--text); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .how-inner,
  .filters-inner,
  .analytics-inner,
  .shortcode-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .stats-bar { max-width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
