/* Oneprox vitrine — ClarityX-inspired layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --cx-bg: #f4f3f0;
  --cx-bg-soft: #ebeae6;
  --cx-surface: #ffffff;
  --cx-ink: #111111;
  --cx-muted: #6b6b6b;
  --cx-line: rgba(17, 17, 17, 0.08);
  --cx-dark: #0f0f0f;
  --cx-radius: 18px;
  --cx-radius-sm: 12px;
  --cx-font: 'Inter', system-ui, sans-serif;
  --cx-serif: 'Instrument Serif', Georgia, serif;
  --cx-max: 1120px;
  --cx-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.cx {
  margin: 0;
  background: var(--cx-bg);
  color: var(--cx-ink);
  font-family: var(--cx-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.cx a { color: inherit; text-decoration: none; }

.cx-wrap {
  width: min(var(--cx-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Nav */
.cx-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cx-line);
}

.cx-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.cx-logo {
  display: flex;
  align-items: center;
  color: var(--cx-ink);
}
.cx-logo img,
.cx-logo svg {
  height: 28px;
  width: auto;
  display: block;
}

.cx-links {
  display: none;
  gap: 1.6rem;
  font-size: 0.92rem;
  color: var(--cx-muted);
  font-weight: 500;
}
.cx-links a:hover { color: var(--cx-ink); }

@media (min-width: 900px) {
  .cx-links { display: flex; }
}

.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.cx-btn:hover { transform: translateY(-1px); }

.cx-btn-dark {
  background: var(--cx-dark);
  color: #fff;
}
.cx-btn-dark:hover { opacity: 0.92; }

.cx-btn-light {
  background: var(--cx-surface);
  color: var(--cx-ink);
  border-color: var(--cx-line);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.cx-btn-light:hover { background: #fff; }

/* Hero */
.cx-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 2.5rem;
  text-align: center;
}

.cx-hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  margin-inline: auto;
}

.cx-hero h1 .serif {
  font-family: var(--cx-serif);
  font-style: italic;
  font-weight: 400;
  display: block;
}

.cx-hero-sub {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: var(--cx-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.cx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.cx-hero-visual {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cx-dark);
  box-shadow: var(--cx-shadow);
  border: 1px solid rgba(255,255,255,0.06);
  aspect-ratio: 16 / 9.2;
  position: relative;
}

.cx-mock {
  height: 100%;
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.85rem;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(214,255,63,0.12), transparent 55%),
    #121212;
}

.cx-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cx-mock-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #3a3a3a;
  display: block;
}
.cx-mock-bar i:nth-child(1) { background: #ff5f57; }
.cx-mock-bar i:nth-child(2) { background: #febc2e; }
.cx-mock-bar i:nth-child(3) { background: #28c840; }
.cx-mock-url {
  margin-left: 0.75rem;
  flex: 1;
  background: #1c1c1c;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  color: #888;
  text-align: left;
}

.cx-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.75rem;
  min-height: 0;
}
@media (max-width: 700px) {
  .cx-mock-grid { grid-template-columns: 1fr; }
}

.cx-mock-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 0.9rem;
  text-align: left;
}
.cx-mock-card .lbl { color: #888; font-size: 0.72rem; margin-bottom: 0.35rem; }
.cx-mock-card .val {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cx-mock-card .hint { color: #6a6a6a; font-size: 0.72rem; margin-top: 0.25rem; }

.cx-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 110px;
  margin-top: 0.75rem;
}
.cx-mock-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #d6ff3f, #7a9a20);
  opacity: 0.85;
}

.cx-trusted {
  padding: 2.5rem 0 1rem;
  text-align: center;
}
.cx-trusted p {
  margin: 0 0 1.25rem;
  color: var(--cx-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.cx-trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  color: #9a9a9a;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  opacity: 0.7;
}

/* Sections */
.cx-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.cx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cx-muted);
  margin-bottom: 0.85rem;
}
.cx-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cx-ink);
}

.cx-h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.cx-h2 .serif {
  font-family: var(--cx-serif);
  font-style: italic;
  font-weight: 400;
}

.cx-center { text-align: center; }
.cx-center .cx-h2 { margin-inline: auto; max-width: 18ch; }

.cx-problems {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 800px) {
  .cx-problems { grid-template-columns: repeat(3, 1fr); }
}

.cx-problem {
  background: var(--cx-surface);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}
.cx-problem .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--cx-bg-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.cx-problem h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.cx-problem p {
  margin: 0;
  color: var(--cx-muted);
  font-size: 0.92rem;
}

/* Solution blocks */
.cx-sol {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .cx-sol {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .cx-sol.reverse .cx-sol-copy { order: 2; }
  .cx-sol.reverse .cx-sol-visual { order: 1; }
}

.cx-sol-copy .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cx-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.cx-sol-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  line-height: 1.2;
}
.cx-sol-copy p {
  color: var(--cx-muted);
  margin: 0 0 1.25rem;
  font-size: 1rem;
}
.cx-sol-copy p strong { color: var(--cx-ink); font-weight: 600; }

.cx-sol-visual {
  background: var(--cx-dark);
  border-radius: var(--cx-radius);
  min-height: 260px;
  padding: 1.25rem;
  color: #fff;
  box-shadow: var(--cx-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.cx-sol-visual::before {
  content: '';
  position: absolute;
  inset: auto -20% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(214,255,63,0.18), transparent 65%);
  pointer-events: none;
}
.cx-sol-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  position: relative;
}
.cx-sol-stat .lbl { font-size: 0.75rem; color: #999; }
.cx-sol-stat .val { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; }

/* Testimonials */
.cx-quotes {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 800px) {
  .cx-quotes { grid-template-columns: 1.2fr 1fr 1fr; }
}

.cx-quote {
  background: var(--cx-surface);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 1.4rem;
}
.cx-quote.featured {
  background: var(--cx-dark);
  color: #fff;
  border-color: transparent;
}
.cx-quote.featured p { color: #d0d0d0; }
.cx-quote p {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--cx-muted);
}
.cx-quote.featured .who strong { color: #fff; }
.cx-who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.cx-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cx-bg-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cx-ink);
}
.cx-quote.featured .cx-avatar {
  background: #2a2a2a;
  color: #fff;
}
.cx-who strong { display: block; font-size: 0.9rem; }
.cx-who span { font-size: 0.78rem; color: #888; }

/* Community */
.cx-community {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 800px) {
  .cx-community { grid-template-columns: repeat(3, 1fr); }
}
.cx-comm {
  background: var(--cx-surface);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 1.4rem;
}
.cx-comm .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cx-bg-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.cx-comm h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.cx-comm .meta { color: var(--cx-muted); font-size: 0.82rem; margin-bottom: 0.65rem; }
.cx-comm p { color: var(--cx-muted); font-size: 0.9rem; margin: 0 0 1rem; }

/* Final CTA */
.cx-final {
  padding: 0 0 clamp(3.5rem, 8vw, 5rem);
}
.cx-final-box {
  background: var(--cx-dark);
  color: #fff;
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
  box-shadow: var(--cx-shadow);
}
.cx-final-box h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.cx-final-box h2 .serif {
  font-family: var(--cx-serif);
  font-style: italic;
  font-weight: 400;
  display: block;
}
.cx-final-box p {
  color: #a3a3a3;
  margin: 0 0 1.5rem;
}

/* Footer */
.cx-footer {
  border-top: 1px solid var(--cx-line);
  padding: 3rem 0 2rem;
}
.cx-foot-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 800px) {
  .cx-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.cx-foot-brand p {
  color: var(--cx-muted);
  font-size: 0.9rem;
  max-width: 28ch;
  margin: 0.75rem 0 0;
}
.cx-footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cx-muted);
  margin: 0 0 0.85rem;
}
.cx-footer a {
  display: block;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.4rem;
}
.cx-footer a:hover { color: var(--cx-ink); }
.cx-foot-bottom {
  border-top: 1px solid var(--cx-line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: #888;
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .cx-btn { transition: none; }
  .cx-btn:hover { transform: none; }
}
