/*
Theme Name: NXRENT Marketplace
Theme URI: https://nxrent.com/
Author: NXRENT
Author URI: https://nxrent.com/
Description: The official NXRENT marketing theme. Editorial black aesthetic, DM Serif headlines, clean salon-industry SaaS design.
Version: 2.0.0
License: GPLv2 or later
Text Domain: nxrent-marketplace
Tags: one-column, custom-menu, block-styles
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ── */
:root {
  --ink:      #0a0a0a;
  --ink2:     #111111;
  --ink3:     #161616;
  --line:     rgba(255,255,255,0.08);
  --line2:    rgba(255,255,255,0.13);
  --white:    #ffffff;
  --off:      #e8e8e8;
  --muted:    #888888;
  --muted2:   #555555;
  --green:    #22d98a;
  --amber:    #f5a623;
  --red:      #ef4444;
  --radius:   10px;
  --radius-lg:16px;
  --font:     'DM Sans', system-ui, -apple-system, sans-serif;
  --serif:    'DM Serif Display', Georgia, serif;
  --mono:     'DM Mono', 'Courier New', monospace;
  --max:      1120px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--off);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo { height: 32px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.12s, background 0.12s;
}
.nav a:hover, .nav a.is-active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 680px) {
  .nav { display: none; }
}

/* ── Buttons (global) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  background: transparent;
  color: var(--off);
  white-space: nowrap;
}
.btn:hover         { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); color: var(--white); }
.btn-primary       { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-primary:hover { background: var(--off); color: var(--ink); border-color: var(--off); }
.btn-ghost         { background: transparent; color: var(--muted); border-color: var(--line2); }
.btn-ghost:hover   { color: var(--white); background: rgba(255,255,255,0.05); }
.btn-sm            { padding: 8px 16px; font-size: 12.5px; }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.nx-hero {
  padding: 88px 0 72px;
  overflow: hidden;
}
.nx-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .nx-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.nx-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.nx-h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.nx-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.nx-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.nx-micro {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.nx-micro-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
}
.nx-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Hero panel */
.nx-hero-panel {
  background: var(--ink2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.card { /* shared card style */
  background: var(--ink2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.nx-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.nx-panel-title { font-size: 15px; font-weight: 800; color: var(--white); }
.nx-panel-sub   { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.nx-badges      { display: flex; gap: 6px; flex-wrap: wrap; }
.nx-badge {
  padding: 4px 10px;
  border: 1px solid var(--line2);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* Mock dashboard UI */
.nx-mock { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.nx-mock-row { display: flex; gap: 6px; flex-wrap: wrap; }
.nx-mock-pill {
  padding: 5px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.nx-mock-card {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nx-mock-h   { font-size: 13px; font-weight: 700; color: var(--off); margin-bottom: 4px; }
.nx-mock-sub { font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.nx-mock-bar {
  height: 3px; background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden; margin-bottom: 10px;
}
.nx-mock-bar span {
  display: block; height: 100%;
  background: var(--green); border-radius: 99px;
}
.nx-mock-bar.warn span { background: var(--amber); }
.nx-mock-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.nx-chip {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.nx-chip.ok   { color: var(--green); border-color: rgba(34,217,138,0.25); background: rgba(34,217,138,0.06); }
.nx-chip.warn { color: var(--amber); border-color: rgba(245,166,35,0.25); background: rgba(245,166,35,0.06); }
.nx-panel-foot {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.nx-foot-copy { font-size: 12.5px; color: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   FEATURE SECTIONS
   ══════════════════════════════════════════════════════════════ */
.nx-section { padding: 72px 0; }
.nx-section + .nx-section { border-top: 1px solid var(--line); }

.nx-section-kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.nx-section-h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400; color: var(--white);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 16px;
}
.nx-section-lead {
  font-size: 15px; color: var(--muted);
  line-height: 1.7; max-width: 540px;
}

/* Stats bar */
.nx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.nx-stat {
  padding: 28px 24px;
  background: var(--ink2);
  border-right: 1px solid var(--line);
}
.nx-stat:last-child { border-right: none; }
.nx-stat-k { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.nx-stat-v {
  font-family: var(--serif);
  font-size: 30px; font-weight: 400;
  color: var(--white); line-height: 1; letter-spacing: -0.03em;
}
.nx-stat-s { font-size: 12.5px; color: var(--muted2); margin-top: 6px; line-height: 1.4; }

/* Feature grid */
.nx-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.nx-feature {
  padding: 30px 26px;
  background: var(--ink2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nx-feature-icon { font-size: 20px; margin-bottom: 14px; }
.nx-feature-title { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.nx-feature-body  { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   PRICING PAGE
   ══════════════════════════════════════════════════════════════ */
.pricing-hero { padding: 72px 0 56px; }
.pricing-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 760px) {
  .pricing-hero-inner { grid-template-columns: 1fr; }
}
.kicker {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400; color: var(--white);
  letter-spacing: -0.025em; line-height: 1.12;
  margin-bottom: 16px;
}
.lead { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.pricing-note { padding: 24px; }
.pricing-note-top {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px;
}
.pricing-note-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pricing-note-title { font-size: 14px; font-weight: 800; color: var(--white); }
.pricing-note-sub   { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.pricing-note-grid  {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.mini-k { font-size: 11px; color: var(--muted2); }
.mini-v { font-size: 13px; font-weight: 700; color: var(--off); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-tagline {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.12s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: var(--muted2);
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS CONTENT AREA
   ══════════════════════════════════════════════════════════════ */
.entry-content {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
}
.entry-content p  { margin-bottom: 16px; }
.entry-content a  { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 16px; }
.entry-content li { margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ══════════════════════════════════════════════════════════════
   PRICING PAGE — native plan cards (no plugin CSS dependency)
   ══════════════════════════════════════════════════════════════ */

.px-plan-intro {
  padding: 56px 0 40px;
}
.px-plan-tagline {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* Plan grid */
.px-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
@media (max-width: 760px) {
  .px-plans { grid-template-columns: 1fr; }
}

.px-plan {
  position: relative;
  padding: 36px 32px 40px;
  background: var(--ink2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.px-plan:last-child { border-right: none; }
.px-plan--featured { background: #141414; }
@media (max-width: 760px) {
  .px-plan { border-right: none; border-bottom: 1px solid var(--line); }
  .px-plan:last-child { border-bottom: none; }
}

/* Ribbon */
.px-ribbon {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px;
  color: var(--white);
}

.px-plan-top { margin-bottom: 24px; }
.px-plan-name {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.px-plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 10px;
}
.px-price-big {
  font-family: var(--serif);
  font-size: 56px; font-weight: 400;
  color: var(--white); line-height: 1;
  letter-spacing: -0.04em;
}
.px-price-unit { font-size: 14px; color: var(--muted); }
.px-plan-tag {
  font-size: 13px; color: var(--muted);
  line-height: 1.5; margin-top: 8px;
}

/* CTA */
.px-plan-cta {
  margin-bottom: 28px;
  align-self: flex-start;
}

/* Feature list */
.px-bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 11px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.px-bullets li {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.px-bullets li::before {
  content: '✓';
  position: absolute; left: 0;
  color: rgba(255,255,255,0.25);
  font-size: 12px; font-weight: 700;
}

/* Footnote */
.px-footnote {
  font-size: 12.5px; color: var(--muted2);
  text-align: center; padding: 12px 0 48px;
}

/* Compare table */
.px-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.px-compare th {
  padding: 16px 20px;
  text-align: left;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white);
  background: var(--ink2);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.px-compare th:first-child { width: 36%; }
.px-compare th:last-child  { border-right: none; }
.px-compare td {
  padding: 13px 20px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: middle;
  line-height: 1.4;
}
.px-compare td:last-child { border-right: none; }
.px-compare tr:last-child td { border-bottom: none; }
.px-compare tr:hover td { background: rgba(255,255,255,0.02); }
.px-compare td.px-yes { color: var(--green); font-weight: 700; }
.px-compare td.px-no  { color: var(--muted2); }
